VOOZH about

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

โ‡ฑ uv ยท PyPI


Skip to main content

uv 0.8.5

pip install uv==0.8.5

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.5.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.5-py3-none-win_arm64.whl (18.4 MB view details)

Uploaded Python 3Windows ARM64

uv-0.8.5-py3-none-win_amd64.whl (19.8 MB view details)

Uploaded Python 3Windows x86-64

uv-0.8.5-py3-none-win32.whl (18.0 MB view details)

Uploaded Python 3Windows x86

uv-0.8.5-py3-none-musllinux_1_1_x86_64.whl (19.0 MB view details)

Uploaded Python 3musllinux: musl 1.1+ x86-64

uv-0.8.5-py3-none-musllinux_1_1_i686.whl (18.1 MB view details)

Uploaded Python 3musllinux: musl 1.1+ i686

uv-0.8.5-py3-none-musllinux_1_1_armv7l.whl (17.8 MB view details)

Uploaded Python 3musllinux: musl 1.1+ ARMv7l

uv-0.8.5-py3-none-manylinux_2_31_riscv64.whl (18.7 MB view details)

Uploaded Python 3manylinux: glibc 2.31+ riscv64

uv-0.8.5-py3-none-manylinux_2_28_aarch64.whl (17.8 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

uv-0.8.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ s390x

uv-0.8.5-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (19.6 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

uv-0.8.5-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl (20.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64

uv-0.8.5-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (18.6 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ i686

uv-0.8.5-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (17.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARMv7l

uv-0.8.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl (17.5 MB view details)

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

uv-0.8.5-py3-none-macosx_11_0_arm64.whl (16.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

uv-0.8.5-py3-none-macosx_10_12_x86_64.whl (18.2 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

uv-0.8.5-py3-none-linux_armv6l.whl (18.1 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for uv-0.8.5.tar.gz
Algorithm Hash digest
SHA256 078cf2935062d5b61816505f9d6f30b0221943a1433b4a1de8f31a1dfe55736b
MD5 6554c8faecd1c2272f79fbe3de0d7f3d
BLAKE2b-256 8394e18a40fe6f6d724c1fbf2c9328806359e341710b2fd42dc928a1a8fc636b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for uv-0.8.5-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 37c1a22915392014d8b4ade9e69e157c8e5ccdf32f37070a84f749a708268335
MD5 e8dd793e20517c08173bcc7272c0f1aa
BLAKE2b-256 6fdfe5565b3faf2c6147a877ab7e96ef31e2333f08c5138a98ce77003b1bf65e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for uv-0.8.5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 dd89836735860461c3a5563731e77c011d1831f14ada540f94bf1a7011dbea14
MD5 b2b9f7e296c8821dd68581e3f01da2a7
BLAKE2b-256 3c2fe850d3e745ccd1125b7a48898421824700fd3e996d27d835139160650124

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for uv-0.8.5-py3-none-win32.whl
Algorithm Hash digest
SHA256 6362a2e1fa535af0e4c0a01f83e666a4d5f9024d808f9e64e3b6ef07c97aff54
MD5 e344cccbdec2d76b88df4046bae7bb3f
BLAKE2b-256 442a3d074391df2c16c79fc6bf333e4bde75662e64dac465050a03391c75b289

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.5-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 09804055d6346febf0767767c04bdd2fab7d911535639f9c18de2ea744b2954c
MD5 e1fb8223762bfb45564f7bdfda43ddf4
BLAKE2b-256 d1734d8baefb4f4b07df6a4db7bbd604cb361d4f5215b94d3f66553ea26edfd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.5-py3-none-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 6ee97b7299990026619c20e30e253972c6c0fb6fba4f5658144e62aa1c07785a
MD5 9605147a364d0b57ee81991d1ad17562
BLAKE2b-256 a9b05d164ce84691f5018c5832e9e3371c0196631b1f1025474a179de1d6a70a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.5-py3-none-musllinux_1_1_armv7l.whl
Algorithm Hash digest
SHA256 7d601f021cbc179320ea3a75cd1d91bd49af03d2a630c4d04ebd38ff6b87d419
MD5 63ce509d7531e6ec5c43e2b4b7702d05
BLAKE2b-256 b529774c6f174c53d68ae9a51c2fabf1b09003b93a53c24591a108be0dc338d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.5-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 3ddd7d8c01073f23ba2a4929ab246adb30d4f8a55c5e007ad7c8341f7bf06978
MD5 aff1187f432e5ad0c6f94025a9dd0b3e
BLAKE2b-256 11f273fb5c3156fdae830b83edec2f430db84cb4bc4b78f61d21694bd59004cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.5-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 73e772caf7310af4b21eaf8c25531b934391f1e84f3afa8e67822d7c432f6dad
MD5 2707aa172c50b74bc834c3e718ee3d23
BLAKE2b-256 c0316661adedaba9ebac8bb449ec9901f8cbf124fa25e0db3a9e6cf3053cee88

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 38c04408ad5eae7a178a1e3b0e09afeb436d0c97075530a3c82de453b78d0448
MD5 c2bd57922e3039ceea44f8e7e01b97a9
BLAKE2b-256 579b46aadd186a1e16a23cd0701dda0e640197db49a3add074a47231fed45a4f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.5-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 4f8dd0555f05d66ff46fdab551137cc2b1ea9c5363358913e2af175e367f4398
MD5 6f76bd32aba908004c57d93cadc9cb11
BLAKE2b-256 c8f17552f2bea528456d34bc245f2959ce910631e01571c4b7ea421ead9a9fc6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.5-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 62ebbd22f780ba2585690332765caf9e29c9758e48a678148e8b1ea90580cdb9
MD5 3d892a1f29db7966130e149b704ff966
BLAKE2b-256 3c7ab84d994d52f20bc56229840c31e77aff4653e5902ea7b7c2616e9381b5b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.5-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 a7f8739d05cc513eee2f1f8a7e6c482a9c1e8860d77cd078d1ea7c3fe36d7a65
MD5 743709674e489cd98577195b01279758
BLAKE2b-256 d8546cabb2a0347c51c8366ca3bffeeebd7f829a15f6b29ad20f51fd5ca9c4bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.5-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 6b449779ff463b059504dc30316a634f810149e02482ce36ea35daea8f6ce7af
MD5 83764de14481161a97e0f0ce76c49097
BLAKE2b-256 f9e75233cf5cbcca8ea65aa1f1e48bf210dc9773fb86b8104ffbc523be7f6a3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.5-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 2140383bc25228281090cc34c00500d8e5822877c955f691d69bbf967e8efa73
MD5 663d448bc6e8abf21044dd7b385c50e1
BLAKE2b-256 ef7dee7c2514e064412133ee9f01c4c42de20da24617b8c25d81cf7021b774d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 a34d783f5cef00f1918357c0cd9226666e22640794e9e3862820abf4ee791141
MD5 3a93d71ea907a34b76fcc36061f284cd
BLAKE2b-256 34f647a44dabfc25b598ea6f2ab9aa32ebf1cbd87ed8af18ccde6c5d36f35476

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.5-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 43a689027696bc9c62e6da3f06900c52eafc4debbf4fba9ecb906196730b34c8
MD5 35dad4b419292ca6670a31e44479d0a8
BLAKE2b-256 066e80b08ee544728317d9c8003d4c10234007e12f384da1c3dfe579489833c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.5-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 53a40628329e543a5c5414553f5898131d5c1c6f963708cb0afc2ecf3e8d8167
MD5 b556fff2f9d68d1ba5a029230783ea3f
BLAKE2b-256 ed835deda1a19362ce426da7f9cc4764a0dd57e665ecbaddd9900d4200bc10ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.5-py3-none-linux_armv6l.whl
Algorithm Hash digest
SHA256 e236372a260e312aef5485a0e5819a0ec16c9197af06d162ad5a3e8bd62f9bba
MD5 16f857033164bbb6e3ef525a8c41ab9a
BLAKE2b-256 d9b978cde56283b6b9a8a84b0bf9334442ed75a843310229aaf7f1a71fe67818

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