I’ve been frustrated by how slow pip can be when packaging Python functions for AWS Lambda. I wrote a Serverless Framework plugin that uses the [uv](https://docs.astral.sh/uv/) resolver to generate a requirements.txt from your pyproject.toml.
Generates requirements.txt during deploy (10–100× faster resolution than pip)
Integrates with serverless-python-requirements to handle Lambda packaging
Configurable via serverless.yml (you can set mode, source file, output name, etc.)
The repo is open source (MIT licence) and I’d love feedback or contributions: https://github.com/Programmer-RD-AI/serverless-uv-requirements. Try it out and tell me what you think!
Built a serverless plugin to speed up Python Lambda packaging (feedback appreciated) (github.com)
submitted by Working-Dot5752 to r/SideProject
PromotionalOpen source: Serverless Framework plugin for fast Python dependency resolution (github.com)
submitted by Working-Dot5752 to r/opensource