VOOZH about

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

โ‡ฑ uv ยท PyPI


Skip to main content

uv 0.5.3

pip install uv==0.5.3

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:

# On macOS and Linux.
curl-LsSfhttps://astral.sh/uv/install.sh|sh
# On Windows.
powershell-ExecutionPolicyByPass-c"irm https://astral.sh/uv/install.ps1 | iex"

Or, from PyPI:

# With pip.
pipinstalluv
# Or pipx.
pipxinstalluv

If installed via the standalone installer, uv can update itself to the latest version:

uvselfupdate

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 virtual environment 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.

uv also supports building and publishing projects, even if they're not managed with uv. See the publish guide to learn more.

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 virtual environment 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:

$ uvpythonpinpypy@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:

$ uvrunexample.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 virtual environment 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.5.3.tar.gz (2.3 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.5.3-py3-none-win_amd64.whl (15.6 MB view details)

Uploaded Python 3Windows x86-64

uv-0.5.3-py3-none-win32.whl (13.8 MB view details)

Uploaded Python 3Windows x86

uv-0.5.3-py3-none-musllinux_1_1_x86_64.whl (14.6 MB view details)

Uploaded Python 3musllinux: musl 1.1+ x86-64

uv-0.5.3-py3-none-musllinux_1_1_ppc64le.whl (15.7 MB view details)

Uploaded Python 3musllinux: musl 1.1+ ppc64le

uv-0.5.3-py3-none-musllinux_1_1_i686.whl (14.0 MB view details)

Uploaded Python 3musllinux: musl 1.1+ i686

uv-0.5.3-py3-none-musllinux_1_1_armv7l.whl (13.6 MB view details)

Uploaded Python 3musllinux: musl 1.1+ ARMv7l

uv-0.5.3-py3-none-manylinux_2_28_aarch64.whl (13.4 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

uv-0.5.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

uv-0.5.3-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl (18.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

uv-0.5.3-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (14.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

uv-0.5.3-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl (14.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64

uv-0.5.3-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (14.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ i686

uv-0.5.3-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (13.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARMv7l

uv-0.5.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl (13.2 MB view details)

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

uv-0.5.3-py3-none-macosx_11_0_arm64.whl (13.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

uv-0.5.3-py3-none-macosx_10_12_x86_64.whl (14.0 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

uv-0.5.3-py3-none-linux_armv6l.whl (13.9 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: uv-0.5.3.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.5.2

File hashes

Hashes for uv-0.5.3.tar.gz
Algorithm Hash digest
SHA256 867f9651225a55aec882c40b2a7a905cd4d3521c74a0675c11a7bdaf753b0400
MD5 90ae0dc01060761718f53eb57856233f
BLAKE2b-256 050b666a0dbf6a9f24f4b289ce0afcd594ee917e25fad43b7c3ad114d723c379

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.5.3-py3-none-win_amd64.whl
  • Upload date:
  • Size: 15.6 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.5.2

File hashes

Hashes for uv-0.5.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 df2ef8f276324ef9445a26384c86f799493f26974733e6a727c4e05a8b35860f
MD5 c75dd7c3679ad78c3600df1b4c483e55
BLAKE2b-256 407dc59af092458a0d530817d7d7eef28aee4830981335d2b8f756e67e3e5714

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.5.3-py3-none-win32.whl
  • Upload date:
  • Size: 13.8 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.5.2

File hashes

Hashes for uv-0.5.3-py3-none-win32.whl
Algorithm Hash digest
SHA256 37eaeb2535a362b55be3e6eb6cfca8df7cb94786c99a150c77e0a7b218f54159
MD5 e86db13c824c5aaa6e64a1fcb6efcee0
BLAKE2b-256 d6974cc7d9c090cd01d88f7da53fb56f4c615209d4e394877358e875203c5baf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.5.3-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 1be17854ee881b454f5eb6a6b501f0431c7c00870ff9375dc08af7c655dd36a3
MD5 28427a939440a1ba6a723331e4ee6fc6
BLAKE2b-256 01bb39c1d3d2716e1734df19309ffd3891a21b0acad5adba10f3c49af61839db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.5.3-py3-none-musllinux_1_1_ppc64le.whl
Algorithm Hash digest
SHA256 80f079ca405ee4ecc814f4591b92e869887c70d6a6a3120e9216462c98924f65
MD5 47944b2f026c7c05499f1991a9cc0b02
BLAKE2b-256 eec0408c586fe6141d2d1a7562026fdb8811d021ae1e3097511212e83f872ea4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.5.3-py3-none-musllinux_1_1_i686.whl
  • Upload date:
  • Size: 14.0 MB
  • Tags: Python 3, musllinux: musl 1.1+ i686
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.5.2

File hashes

Hashes for uv-0.5.3-py3-none-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 d8b3cd685faa9eb8aa74dac56b5aae8184fef1c127f113539703d1cc8e27d1b8
MD5 d25ddcd58f706478a0d8570d39d51e6c
BLAKE2b-256 0876f2def33c376f822b0437938bd67062b20ad67a5a182cb64ba62b7ea47462

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.5.3-py3-none-musllinux_1_1_armv7l.whl
Algorithm Hash digest
SHA256 bfee241db07e4663c8f37d70e63a7ce411e7de567f3c87f929174d01d23e752c
MD5 9f70b6bd48fc2cf37d00c4ceabc23ea9
BLAKE2b-256 f318a37b638d14822f589b0bd6540eb41514ef2c2434054b197f79179b5284aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.5.3-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 415c26372814404105b810ae29e3a8eccd2d4b17f9fdeaf570f24b7ee4e22417
MD5 a9bfcbcb08bca9ec1c969b0f961c9767
BLAKE2b-256 49edbcbdf1df8ac61fdff5cc65cf84cb937a81cef5fff9d40994aade3937797a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.5.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fcab6875bf937d6e203dd424c0140af461175b4aa71faddc87d6e5ce61adcc5a
MD5 6e8aac32d931c4bc7933b912a88becdb
BLAKE2b-256 1db084f31a0e8f30ae700a0cc24c08bd5f6c5c09eb38bd35c11680b7daee72ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.5.3-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 4b37792524ce9864bbc0090110727a219473c971e3b4673b14c1817e0bbb3465
MD5 ccbfb2efa903fbbb40a12a87f6a431e4
BLAKE2b-256 b621af3d0cc170d91910cb92506c1c026e5b9586f1117e03d3e846aa19e7b302

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.5.3-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 53da2848e6b5f33ed1a834aee73020a728fe7363334f0cd53c00d1800dd5f2ed
MD5 85e626e7d5415db0cafd677b1f0d1315
BLAKE2b-256 d976ecbdf6d41a008470da02142b20c44731bfadbc6a1f6cd7487a53608e2d38

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.5.3-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 991c04f9351705ee322caa7e776d37ef215f74458f68c292811a25eb3ed18e07
MD5 c4dab5ed4df0f635e75d7178d0b5a976
BLAKE2b-256 ddf7e9a9ab8afe8be6df7f5df1b7bc296c73f4d536fb09599740a147ba6f1316

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.5.3-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 0cb6583bba8904732879eefba09b19183d456073cb2c86a98d48bfe2e4a02dd9
MD5 adff11b2ab871737fbcffcde150db96f
BLAKE2b-256 2f93964c24e9670fb760e77d538eb25fd2e710e0ba238a1ab9b19aa4ef2241ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.5.3-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 319ea98006bdeecbc26d7bb59ce8821828eed266bceef86fd2c46c64d9adafd9
MD5 fdc836bf964f1eff3bdeab5e004ac97a
BLAKE2b-256 cad1a93b503cc09cc1abdab783de2f95c22e733e936c30d22e0d78ac68eba577

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.5.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 5caa1cd194925e5c215459c26081ab304c47292d52902faf7a34d94c6e153c03
MD5 59b1c44a37e7f612389c413fcf1e3173
BLAKE2b-256 16ecd6609456af8935515d36dbc31dd4339363e6895b0ed21628b382d2c0826d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.5.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2e900108b7744dba514ba19931edad3bfdfb7d6f76a654bc2eff544da6f20207
MD5 03d3fe27b4a446b1dbdc2a37a1364dae
BLAKE2b-256 3860a730f1c06c85947be662fbefcf42cd32311e5da4fd2f4d9f5af9156262e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.5.3-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 837c9e303c23697508a6ab125d451bcea8bd2d0dbdf13d12e6860b481c46bbfd
MD5 9e35868a295d76260d43dda5e36151ee
BLAKE2b-256 b0f35f5d9f426d1bc63b35cf87dc6e8e6d17a289c17b510b719c894a445f32de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.5.3-py3-none-linux_armv6l.whl
Algorithm Hash digest
SHA256 fb261c706d7e9899b0f739237cd05386721a93c1f4376085d4a8e86339e8cb22
MD5 85ab4587ba4dcb43bda23ed6569505e5
BLAKE2b-256 8f227728042fc9352fc96a59cf3d6e053558cec3124150c35e4a9e927359ce3c

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