VOOZH about

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

โ‡ฑ uv ยท PyPI


Skip to main content

uv 0.8.6

pip install uv==0.8.6

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
  • Author: Astral Software Inc.
  • 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

Projects

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.0

$ uvrunruffcheck
All checks passed!

$ uvlock
Resolved 2 packages in 0.33ms

$ uvsync
Resolved 2 packages in 0.70ms
Audited 1 package in 0.02ms

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.

Scripts

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.

Tools

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.0
Installed 1 executable: ruff

$ ruff--version
ruff 0.5.0

See the tools documentation to get started.

Python versions

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:

$ uvpythonpin3.11
Pinned `.python-version` to `3.11`

See the Python installation documentation to get started.

The pip 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.

FAQ

How do you pronounce uv?

It's pronounced as "you - vee" (/juห viห/)

How should I stylize uv?

Just "uv", please. See the style guide for details.

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
  • Author: Astral Software Inc.
  • 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.8.6.tar.gz (3.5 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.8.6-py3-none-win_arm64.whl (18.8 MB view details)

Uploaded Python 3Windows ARM64

uv-0.8.6-py3-none-win_amd64.whl (20.3 MB view details)

Uploaded Python 3Windows x86-64

uv-0.8.6-py3-none-win32.whl (18.3 MB view details)

Uploaded Python 3Windows x86

uv-0.8.6-py3-none-musllinux_1_1_x86_64.whl (19.4 MB view details)

Uploaded Python 3musllinux: musl 1.1+ x86-64

uv-0.8.6-py3-none-musllinux_1_1_i686.whl (18.4 MB view details)

Uploaded Python 3musllinux: musl 1.1+ i686

uv-0.8.6-py3-none-musllinux_1_1_armv7l.whl (18.1 MB view details)

Uploaded Python 3musllinux: musl 1.1+ ARMv7l

uv-0.8.6-py3-none-manylinux_2_31_riscv64.whl (19.0 MB view details)

Uploaded Python 3manylinux: glibc 2.31+ riscv64

uv-0.8.6-py3-none-manylinux_2_28_aarch64.whl (18.0 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

uv-0.8.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (19.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

uv-0.8.6-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl (19.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

uv-0.8.6-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (19.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

uv-0.8.6-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl (20.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64

uv-0.8.6-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (19.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ i686

uv-0.8.6-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (18.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARMv7l

uv-0.8.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl (17.8 MB view details)

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

uv-0.8.6-py3-none-macosx_11_0_arm64.whl (17.2 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

uv-0.8.6-py3-none-macosx_10_12_x86_64.whl (18.6 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

uv-0.8.6-py3-none-linux_armv6l.whl (18.4 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: uv-0.8.6.tar.gz
  • Upload date:
  • Size: 3.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.5

File hashes

Hashes for uv-0.8.6.tar.gz
Algorithm Hash digest
SHA256 4d4e042f6bd9f143094051a05de758684028f451e563846cbc0c6f505b530cca
MD5 5868cd04445d250e5ea574ea2b46eaa5
BLAKE2b-256 b53b1140dbbca9fb3ca32be38e01c670a5980a4ee4874366d70438317876d40a

See more details on using hashes here.

File details

Details for the file uv-0.8.6-py3-none-win_arm64.whl.

File metadata

  • Download URL: uv-0.8.6-py3-none-win_arm64.whl
  • Upload date:
  • Size: 18.8 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.5

File hashes

Hashes for uv-0.8.6-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 0b524de39f317bd8733c38cf100b6f8091d44e06b23f7752523ad1ad1454ede3
MD5 8b454bef41c7e7c82ec7bf635adacd36
BLAKE2b-256 091b2629d605e101db6a52397e6ea8859a51af0207cf254051b2a621c683ee07

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for uv-0.8.6-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 37227aaf1e41c7eda3d7f0028e747a2a2eed3f3506b0adc121a4366e8281115b
MD5 e29fbe78f5df705cefaf5ba052499355
BLAKE2b-256 fddfb7d1171579e2cc821aafc38a86393104e5426ac1ebc4e95be79ac705a11f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for uv-0.8.6-py3-none-win32.whl
Algorithm Hash digest
SHA256 e35cc1ef79d3dce2b6aeffbfb280d02d5ad741d4ca07874bdf0a4d85c841d9de
MD5 8b39a095bacd01dc517f6018627cdfc4
BLAKE2b-256 1118552bb94bb931ea9d09a0e98e5c3d8cefc8c8db25549af88d1484e52d6cdd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.6-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 ee67acf1b211be2cfbeaec16cde13c8325810d32ff85963a9dedd1f9d7c61ef7
MD5 92b9589b6fb05d07d0095a2d7ff041b8
BLAKE2b-256 dabea1a249eacb9b1e397292106250490ec1546a90c0e19de19f0b36f52aecea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.6-py3-none-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 132e73f1e9fe05edc6c06c00416f7c721c48298786fd7293be6c584793170bbc
MD5 31b6fe6d7ad68dc4b211ff916b0b63e6
BLAKE2b-256 81540b1ecc64353725b62f02d3739a67a567faa70c76c4ea19a21253df1c4d99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.6-py3-none-musllinux_1_1_armv7l.whl
Algorithm Hash digest
SHA256 993af2c295856c5ca053678a8dadc11ce2f85485513ed1568c16e98d5dfa88bf
MD5 d0af1afa05d7cee446f74f3db17fe12c
BLAKE2b-256 c514921e2e7b2a4be0bac17f9d04a126546b89828bb33aa56368af7f00538fe3

See more details on using hashes here.

File details

Details for the file uv-0.8.6-py3-none-manylinux_2_31_riscv64.whl.

File metadata

File hashes

Hashes for uv-0.8.6-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 c9de4adac36a62e4bddd959ce65fb4bb09b0cbfd95946d50390f2a9c186ecb9c
MD5 ed27d1b5cda1979ce11a79eaa8606cba
BLAKE2b-256 7de1b3e825ad9cc3f03f0f3e232286f91aef985d8029db69fd7091c2f332212b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.6-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4e81380549151e34ae96d56499438444ba58591ca9f2fc6ba0a867152601849e
MD5 5ab0f122d506630f3aceb974b577df96
BLAKE2b-256 20bd6c3b9c87e4ed323f72de6ece7d51a6179091f0ff6e0c9c6ed29e28efe17c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6acdc77099906ba64bc1b725bef973c10905d7e9596d1b25f271db772bc9e8e4
MD5 df94c1b6c767df4c7df4ec9ccb2c8a98
BLAKE2b-256 628ddc290df05d1820d003f30e2fb7853496eec43bcb986c5e35aaea2f5343d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.6-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 5b201ebc1c5c76c3a415fa4edcb25a0e06263d2255319d6d52275c775e926e23
MD5 0ef742c9c2f44820f9f5e0416c197744
BLAKE2b-256 c015e10347768b2929ae9c65abbfd0867a736e6227f6d63da1f86fe6bdcbcdca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.6-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 deab2ce32d2dd7a1c0de459aa23470c60feb0ea24e67c9c5c5988d8bf4eb4a09
MD5 3d740891395f44ad9e4bd7fbf2760953
BLAKE2b-256 2c12c9ca1cc8bdbecd54db4a7c1a44808f15271da60838dfa9f180ce8171407a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.6-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 2ac28509db2e52613a59264bdb150d13274ed13e5b305f7e274da8cd83033985
MD5 b42b4bf0fe7cbb0ab2e23d0edf416244
BLAKE2b-256 781da4ed2da913ecacc1c976e97dff905979c13359834eeeac8bbaf5ed0b2fca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.6-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 57a98367bfad38e870e1a8a6626464796ffcee6e937d429fbd7b25ddf46bb36f
MD5 aa6c254c5795a72665f593cce4e98fa6
BLAKE2b-256 8128ff884f7007a6b9d0e3368dbe4ae7d28acacbaaf1b3a583640e5af6dc5360

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.6-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 7796acc3c5b84d5ee5e10cc6cf92eb61c19f6551855d0aa89ef5925e4a371fbf
MD5 76b193128266ccd8a3b13e20c5f07b23
BLAKE2b-256 9bc333a10049728ffbcde673b75b9a73cd61bfab5e1598d935d1f1b2556b07a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 1913f5627c57076c88dd38b0173bdb006ae9b8dbd92b1798a1acc9d744c1a7cc
MD5 536aabbdcbcb8178a84250ab44ce33ba
BLAKE2b-256 e74a2890d9ccaf4b383fea43ae6362252870dcd97dda7412f34f20d80ccf7a39

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.6-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7c1f48279ff61940143c78b969094e13324988eabcfcd4799f4350d9d36c1d48
MD5 11b5d36ad5c72df039552b534dc0fdfb
BLAKE2b-256 d782a53684eadb9cb169eab32ab71f2bdaf7c382819d6de44d4e8df91ca14a00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.6-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 fdceb1ef554df0ddc620bfe83fdcf740829e489c62f78ba1f089abd62c71c63e
MD5 cea660769c9d4d31b4279ad950d0af6c
BLAKE2b-256 4130b2fed99d5a6b16410669f223767f6d65bc6595858622f5f36386892ed963

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.6-py3-none-linux_armv6l.whl
Algorithm Hash digest
SHA256 d96ff3a1d06a6a00ed94dfb2996228153b3b5bfc892174b7556216ab872a91b1
MD5 e4b618350963169532236deeee4b46c0
BLAKE2b-256 7164a96f40f95626c6e353e66f6bc5a5ca7c1399e95caf0dcb56cae38754e073

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