Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use UV to install packages much faster #1350

Open
tugoavenza opened this issue Sep 17, 2024 · 1 comment
Open

Use UV to install packages much faster #1350

tugoavenza opened this issue Sep 17, 2024 · 1 comment

Comments

@tugoavenza
Copy link

Use UV - An extremely fast Python package and project manager, written in Rust to speed up the installation of dependencies https://github.com/astral-sh/uv

Context

Zappa creates a virtual env with all the dependencies for the app for Lambda handler, and zips it. UV is 10-100x faster than pip. We could see a great speed boost.

@sridhar562345
Copy link
Contributor

Use UV - An extremely fast Python package and project manager, written in Rust to speed up the installation of dependencies https://github.com/astral-sh/uv

Context

Zappa creates a virtual env with all the dependencies for the app for Lambda handler, and zips it. UV is 10-100x faster than pip. We could see a great speed boost.

Zappa doesn't install the packages in virtual env itself, it zips the already installed packages in virtual env. So, I don't see UV has anything to do with Zappa.

So you can use UV to install packages in your virtual env instead of pip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants