VOOZH about

URL: https://pypi.org/project/uv/0.3.2/

โ‡ฑ uv ยท PyPI


Skip to main content

uv 0.3.2

pip install uv==0.3.2

Newer version available (0.11.25)

Released:

An extremely fast Python package and project manager, written in Rust.

Navigation

Unverified details

These details have not been verified by PyPI
Project links
Meta
  • License: Apache Software License, MIT License (MIT OR Apache-2.0)
  • Author: uv
  • Tags uv , requirements , packaging
  • Requires: Python >=3.8

Project description

uv

๐Ÿ‘ uv
๐Ÿ‘ image
๐Ÿ‘ image
๐Ÿ‘ image
๐Ÿ‘ Actions status
๐Ÿ‘ Discord

An extremely fast Python package and project manager, written in Rust.

๐Ÿ‘ Shows a bar chart with benchmark results.

Installing Trio's dependencies with a warm cache.

Highlights

uv is backed by Astral, the creators of Ruff.

Installation

Install uv with our standalone installers, or from PyPI:

# OnmacOSandLinux.
$ curl-LsSfhttps://astral.sh/uv/install.sh|sh

# OnWindows.
$ powershell-c"irm https://astral.sh/uv/install.ps1 | iex"

# Withpip.
$ pipinstalluv

See the installation documentation for details and alternative installation methods.

Documentation

uv's documentation is available at docs.astral.sh/uv.

Additionally, the command line reference documentation can be viewed with uv help.

Features

Project management

uv manages project dependencies and environments, with support for lockfiles, workspaces, and more, similar to rye or poetry:

$ uvinitexample
Initialized project `example` at `/home/user/example`

$ cdexample

$ uvaddruff
Creating virtualenv at: .venv
Resolved 2 packages in 170ms
 Built example @ file:///home/user/example
Prepared 2 packages in 627ms
Installed 2 packages in 1ms
 + example==0.1.0 (from file:///home/user/example)
 + ruff==0.5.4

$ uvrunruffcheck
All checks passed!

See the project documentation to get started.

Tool management

uv executes and installs command-line tools provided by Python packages, similar to pipx.

Run a tool in an ephemeral environment using uvx (an alias for uv tool run):

$ uvxpycowsay'hello world!'
Resolved 1 package in 167ms
Installed 1 package in 9ms
 + pycowsay==0.0.0.2
 """

 ------------
< hello world! >
 ------------
 \ ^__^
 \ (oo)\_______
 (__)\ )\/\
 ||----w |
 || ||

Install a tool with uv tool install:

$ uvtoolinstallruff
Resolved 1 package in 6ms
Installed 1 package in 2ms
 + ruff==0.5.4
Installed 1 executable: ruff

$ ruff--version
ruff 0.5.4

See the tools documentation to get started.

Python management

uv installs Python and allows quickly switching between versions.

Install multiple Python versions:

$ uvpythoninstall3.103.113.12
Searching for Python versions matching: Python 3.10
Searching for Python versions matching: Python 3.11
Searching for Python versions matching: Python 3.12
Installed 3 versions in 3.42s
 + cpython-3.10.14-macos-aarch64-none
 + cpython-3.11.9-macos-aarch64-none
 + cpython-3.12.4-macos-aarch64-none

Download Python versions as needed:

$ uvvenv--python3.12.0
Using Python 3.12.0
Creating virtualenv at: .venv
Activate with: source .venv/bin/activate

$ uvrun--pythonpypy@3.8--python--version
Python 3.8.16 (a9dbdca6fc3286b0addd2240f11d97d8e8de187a, Dec 29 2022, 11:45:30)
[PyPy 7.3.11 with GCC Apple LLVM 13.1.6 (clang-1316.0.21.2.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>>

Use a specific Python version in the current directory:

$ uv python pin pypy@3.11
Pinned `.python-version` to `pypy@3.11`

See the Python installation documentation to get started.

Script support

uv manages dependencies and environments for single-file scripts.

Create a new script and add inline metadata declaring its dependencies:

$ echo'import requests; print(requests.get("https://astral.sh"))'>example.py

$ uvadd--scriptexample.pyrequests
Updated `example.py`

Then, run the script in an isolated virtual environment:

$ uv run example.py
Reading inline script metadata from: example.py
Installed 5 packages in 12ms
<Response [200]>

See the scripts documentation to get started.

A pip-compatible interface

uv provides a drop-in replacement for common pip, pip-tools, and virtualenv commands.

uv extends their interfaces with advanced features, such as dependency version overrides, platform-independent resolutions, reproducible resolutions, alternative resolution strategies, and more.

Migrate to uv without changing your existing workflows โ€” and experience a 10-100x speedup โ€” with the uv pip interface.

Compile requirements into a platform-independent requirements file:

$ uvpipcompiledocs/requirements.in\
--universal\
--output-filedocs/requirements.txt
Resolved 43 packages in 12ms

Create a virtual environment:

$ uvvenv
Using Python 3.12.3
Creating virtualenv at: .venv
Activate with: source .venv/bin/activate

Install the locked requirements:

$ uvpipsyncdocs/requirements.txt
Resolved 43 packages in 11ms
Installed 43 packages in 208ms
 + babel==2.15.0
 + black==24.4.2
 + certifi==2024.7.4
 ...

See the pip interface documentation to get started.

Platform support

See uv's platform support document.

Versioning policy

See uv's versioning policy document.

Contributing

We are passionate about supporting contributors of all levels of experience and would love to see you get involved in the project. See the contributing guide to get started.

Acknowledgements

uv's dependency resolver uses PubGrub under the hood. We're grateful to the PubGrub maintainers, especially Jacob Finkelman, for their support.

uv's Git implementation is based on Cargo.

Some of uv's optimizations are inspired by the great work we've seen in pnpm, Orogene, and Bun. We've also learned a lot from Nathaniel J. Smith's Posy and adapted its trampoline for Windows support.

License

uv is licensed under either of

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in uv by you, as defined in the Apache-2.0 license, shall be dually licensed as above, without any additional terms or conditions.

Project details

Unverified details

These details have not been verified by PyPI
Project links
Meta
  • License: Apache Software License, MIT License (MIT OR Apache-2.0)
  • Author: uv
  • Tags uv , requirements , packaging
  • Requires: Python >=3.8

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uv-0.3.2.tar.gz (1.8 MB view details)

Uploaded Source

Built Distributions

Filter files by name, interpreter, ABI, and platform.

If you're not sure about the file name format, learn more about wheel file names.

Copy a direct link to the current filters

uv-0.3.2-py3-none-win_amd64.whl (12.1 MB view details)

Uploaded Python 3Windows x86-64

uv-0.3.2-py3-none-win32.whl (11.0 MB view details)

Uploaded Python 3Windows x86

uv-0.3.2-py3-none-musllinux_1_1_x86_64.whl (11.6 MB view details)

Uploaded Python 3musllinux: musl 1.1+ x86-64

uv-0.3.2-py3-none-musllinux_1_1_ppc64le.whl (12.6 MB view details)

Uploaded Python 3musllinux: musl 1.1+ ppc64le

uv-0.3.2-py3-none-musllinux_1_1_i686.whl (10.9 MB view details)

Uploaded Python 3musllinux: musl 1.1+ i686

uv-0.3.2-py3-none-musllinux_1_1_armv7l.whl (10.5 MB view details)

Uploaded Python 3musllinux: musl 1.1+ ARMv7l

uv-0.3.2-py3-none-manylinux_2_28_aarch64.whl (10.7 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

uv-0.3.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

uv-0.3.2-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl (14.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

uv-0.3.2-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (11.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

uv-0.3.2-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl (11.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64

uv-0.3.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (11.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ i686

uv-0.3.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (10.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARMv7l

uv-0.3.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl (10.6 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64musllinux: musl 1.1+ ARM64

uv-0.3.2-py3-none-macosx_11_0_arm64.whl (10.3 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

uv-0.3.2-py3-none-macosx_10_12_x86_64.whl (11.1 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

uv-0.3.2-py3-none-linux_armv6l.whl (10.7 MB view details)

Uploaded Python 3

File details

Details for the file uv-0.3.2.tar.gz.

File metadata

  • Download URL: uv-0.3.2.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for uv-0.3.2.tar.gz
Algorithm Hash digest
SHA256 abce3316c020c11b474d916c800615b446fca1cf96c084ec0540f2654d222d3d
MD5 55246a14ea4a5ecb27f5f1886000ff1f
BLAKE2b-256 8e65828d9ea3f3139257b7f590d53f7df8ae302e6dfe755f22f49c9e1b33aa7b

See more details on using hashes here.

File details

Details for the file uv-0.3.2-py3-none-win_amd64.whl.

File metadata

  • Download URL: uv-0.3.2-py3-none-win_amd64.whl
  • Upload date:
  • Size: 12.1 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for uv-0.3.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 4fb344ac7216d8b74e5af57ceffab8a22fa7e0f5883472760a58f34dee9197dd
MD5 6e21b19ef7f25a74bf1585453bc0deaf
BLAKE2b-256 d0f840a5f3aac1e4ea4ea3f149d7b1377c3c27ba26682593d5c263859fb1b4f7

See more details on using hashes here.

File details

Details for the file uv-0.3.2-py3-none-win32.whl.

File metadata

  • Download URL: uv-0.3.2-py3-none-win32.whl
  • Upload date:
  • Size: 11.0 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for uv-0.3.2-py3-none-win32.whl
Algorithm Hash digest
SHA256 36af14c7f7759b15f72176e6937bd0209a18e412909d32bc14461569884a607d
MD5 52df43540721d036ce6e07c1d672646e
BLAKE2b-256 510e1d84a971211796b9a3a52c39f1ceb23d28c7a0b4bc53e9791a88ceb2f53a

See more details on using hashes here.

File details

Details for the file uv-0.3.2-py3-none-musllinux_1_1_x86_64.whl.

File metadata

  • Download URL: uv-0.3.2-py3-none-musllinux_1_1_x86_64.whl
  • Upload date:
  • Size: 11.6 MB
  • Tags: Python 3, musllinux: musl 1.1+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for uv-0.3.2-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 864071d6b47a99b095dfd04b000db5ffc01d669960ea7bbc25aca2520e507900
MD5 93259911b005812581551a67adf8c94e
BLAKE2b-256 9f3307e8e1a9b3a123adab75d21b343598c57f26441c0d2c000ca6a045ac0ec2

See more details on using hashes here.

File details

Details for the file uv-0.3.2-py3-none-musllinux_1_1_ppc64le.whl.

File metadata

  • Download URL: uv-0.3.2-py3-none-musllinux_1_1_ppc64le.whl
  • Upload date:
  • Size: 12.6 MB
  • Tags: Python 3, musllinux: musl 1.1+ ppc64le
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for uv-0.3.2-py3-none-musllinux_1_1_ppc64le.whl
Algorithm Hash digest
SHA256 af5d071b9583f16884d150b0bcec5ca3b40dae287aa8c69a83e87ed04f05f3d1
MD5 3b7ac40ea22025a82400554306ee051f
BLAKE2b-256 b06ef7e19fd2cd281ede7e06b9827768ad807ccb8d6fa388495278ead2f53273

See more details on using hashes here.

File details

Details for the file uv-0.3.2-py3-none-musllinux_1_1_i686.whl.

File metadata

  • Download URL: uv-0.3.2-py3-none-musllinux_1_1_i686.whl
  • Upload date:
  • Size: 10.9 MB
  • Tags: Python 3, musllinux: musl 1.1+ i686
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for uv-0.3.2-py3-none-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 6940bc8c36468d2c225d9e67bcf6a08a8a98d68226e9e17e89ce597c72225303
MD5 01ea1c8fbb68483bb3a67a33c9091318
BLAKE2b-256 6828d9a609ebf935e0a0e3599bc978ec4f135a218f69f299a734e0316fbf639a

See more details on using hashes here.

File details

Details for the file uv-0.3.2-py3-none-musllinux_1_1_armv7l.whl.

File metadata

  • Download URL: uv-0.3.2-py3-none-musllinux_1_1_armv7l.whl
  • Upload date:
  • Size: 10.5 MB
  • Tags: Python 3, musllinux: musl 1.1+ ARMv7l
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for uv-0.3.2-py3-none-musllinux_1_1_armv7l.whl
Algorithm Hash digest
SHA256 a037149ef4a26cf688dc2bfef72533c83d8d39579af3912e3c4733a41ead9de1
MD5 7fffaf2415e9b02d5b2840bc31d60747
BLAKE2b-256 0fe4e1851e13648b220af0ca38412eb939c13559a8ea72f0d047d060f2f0a77d

See more details on using hashes here.

File details

Details for the file uv-0.3.2-py3-none-manylinux_2_28_aarch64.whl.

File metadata

  • Download URL: uv-0.3.2-py3-none-manylinux_2_28_aarch64.whl
  • Upload date:
  • Size: 10.7 MB
  • Tags: Python 3, manylinux: glibc 2.28+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for uv-0.3.2-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8c0fd370d09b6dd7980a2add6eec3438f8a548032752ab9fbb0997d0f26d85d1
MD5 755471cd6d9df44068651d532c2d91eb
BLAKE2b-256 97040f31c0c3ae493ecd127ec1060840711c28d581bfd6fb26d9bc3d2abe98a5

See more details on using hashes here.

File details

Details for the file uv-0.3.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for uv-0.3.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ca0b247a4d05c097300c36185edf5fde358a3b3e5cc68bea6c15a89307dfab8b
MD5 566e4856759c04211eddda3eb5779c64
BLAKE2b-256 2973d5881ad375e6ea4e245bb781c8c0a1ec2231e1cdbf9cdaca79fa37f1bacf

See more details on using hashes here.

File details

Details for the file uv-0.3.2-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for uv-0.3.2-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 87d2e44ec5f225250c6b0ead25f4e37952d3b3f7c6f05741d603cf8446a4415e
MD5 43f8ade1dde839086b503eb2da56c156
BLAKE2b-256 c1b57fde772e6230eb51964e65ec9d8f7a565f3f49c962cce8f0fb90f06a9dc5

See more details on using hashes here.

File details

Details for the file uv-0.3.2-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for uv-0.3.2-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 e845335c8ec62d32daec97e48a0a1d5961b59e349b4a9a2762f9f70f3407d785
MD5 3fbe0b9eee8ca205d557b1de13ef2b8b
BLAKE2b-256 b1b96fb1343b223d4d66204ff2a7e32f26a4ea7d2b5c1be0b3b6813a07d4edd5

See more details on using hashes here.

File details

Details for the file uv-0.3.2-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl.

File metadata

File hashes

Hashes for uv-0.3.2-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 087677ea43adf09c09235e005d3b8b4fc7d8e29ca4846295bf9d29d273496fe3
MD5 78dca676061d99638ed9ed9c2127ec38
BLAKE2b-256 d226efdb940f98be0944cdfee63b8fc247647f81f3f63a652424d384d2b0758e

See more details on using hashes here.

File details

Details for the file uv-0.3.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for uv-0.3.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 63926400e5e9d3489442c68c0d0e66646e6b0b1b5eb60006c3a9d943d6306734
MD5 6008e71a3108337634384429b7b1a1ed
BLAKE2b-256 b20d06a04811e7ff901bf723968c290cf117b60c1dae1dfd5ad9f1a9e110945e

See more details on using hashes here.

File details

Details for the file uv-0.3.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for uv-0.3.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 b067982aadcad995da4fc647cac801441d781993e327b817da4eb3ac3cbb48f6
MD5 ee053c5ea5c64f79fd0c34aa308b68dc
BLAKE2b-256 b5f85797e9c0971ecc7f87617726ece4ee3e231b06080b973d7f32eae1e69793

See more details on using hashes here.

File details

Details for the file uv-0.3.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for uv-0.3.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 9f131151d96159b54db358ee2538ceb41ec246d350fde3ad7f5dda2a4978551e
MD5 e2e66bbe9d82b8ae22ee105d006077c2
BLAKE2b-256 6c81d5ac8eceb9199d9c45757e615814dbbeb59ac57d3ddb457ad3ee225e8db1

See more details on using hashes here.

File details

Details for the file uv-0.3.2-py3-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: uv-0.3.2-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 10.3 MB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for uv-0.3.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c2cb5948b4cbd1723ab4ca459416207d7c3b6b6be960134b6a3af0336f982637
MD5 02dea2998fc613385b84b9e3c05ced39
BLAKE2b-256 d8486591a93f9f0b579055b06e1eb3e675920b17b400e58183c03f4985e69a3f

See more details on using hashes here.

File details

Details for the file uv-0.3.2-py3-none-macosx_10_12_x86_64.whl.

File metadata

  • Download URL: uv-0.3.2-py3-none-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 11.1 MB
  • Tags: Python 3, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for uv-0.3.2-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6a45b55bf161e79b21408ea19a688465e2b1c0bcebb908e3050e9a358e333ed9
MD5 73d0c4c8f5372b40b6f610493256ddf6
BLAKE2b-256 eadb03b47b93f6a0615ca5660e4a69590d09ec11456e9e33068117e8ba8cd5e7

See more details on using hashes here.

File details

Details for the file uv-0.3.2-py3-none-linux_armv6l.whl.

File metadata

  • Download URL: uv-0.3.2-py3-none-linux_armv6l.whl
  • Upload date:
  • Size: 10.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for uv-0.3.2-py3-none-linux_armv6l.whl
Algorithm Hash digest
SHA256 d550c92ba53767b1046e71473857a2a631c6fde86fdccb689a798683e8ad8fe6
MD5 a905b3f70471b500a5a33cbc83326c03
BLAKE2b-256 9c4359d890febcd514688736ce7d69c256f9dd75232db31e1f26e5bad65e32e1

See more details on using hashes here.

Supported by

๐Ÿ‘ Image
AWS Cloud computing and Security Sponsor ๐Ÿ‘ Image
Datadog Monitoring ๐Ÿ‘ Image
Depot Continuous Integration ๐Ÿ‘ Image
Fastly CDN ๐Ÿ‘ Image
Google Download Analytics ๐Ÿ‘ Image
Pingdom Monitoring ๐Ÿ‘ Image
Sentry Error logging ๐Ÿ‘ Image
StatusPage Status page