VOOZH about

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

โ‡ฑ uv ยท PyPI


Skip to main content

uv 0.3.1

pip install uv==0.3.1

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.1.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.1-py3-none-win_amd64.whl (12.0 MB view details)

Uploaded Python 3Windows x86-64

uv-0.3.1-py3-none-win32.whl (10.9 MB view details)

Uploaded Python 3Windows x86

uv-0.3.1-py3-none-musllinux_1_1_x86_64.whl (11.5 MB view details)

Uploaded Python 3musllinux: musl 1.1+ x86-64

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

Uploaded Python 3musllinux: musl 1.1+ ppc64le

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

Uploaded Python 3musllinux: musl 1.1+ i686

uv-0.3.1-py3-none-musllinux_1_1_armv7l.whl (10.4 MB view details)

Uploaded Python 3musllinux: musl 1.1+ ARMv7l

uv-0.3.1-py3-none-manylinux_2_28_aarch64.whl (10.6 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

uv-0.3.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.4 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

uv-0.3.1-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl (14.6 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

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

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

uv-0.3.1-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl (11.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64

uv-0.3.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (11.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ i686

uv-0.3.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (10.4 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARMv7l

uv-0.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl (10.5 MB view details)

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

uv-0.3.1-py3-none-macosx_11_0_arm64.whl (10.2 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

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

Uploaded Python 3macOS 10.12+ x86-64

uv-0.3.1-py3-none-linux_armv6l.whl (10.6 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: uv-0.3.1.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.1.tar.gz
Algorithm Hash digest
SHA256 5a6bd30a3a2f1bb76dcdc085594dc7576979c6ed2006230d51974686f91cc700
MD5 703b64b867c3cb4d3182db346caad837
BLAKE2b-256 ed95abe0ed8bc91024d4faefe97416cf98c03fc86dddb0068dff58f446f17e67

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.1-py3-none-win_amd64.whl
  • Upload date:
  • Size: 12.0 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.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 112494d6a9a1a729806b948ad3c2e266ebe3dd33c6591d6720c4eccdaf0700dd
MD5 5b8bae0be6a286f517698f6bcc3b868e
BLAKE2b-256 b5a23f1ca9eea20cd94d5090f26f1ec400b6c6bf9a6bf3e3e79f50b3ce59f89e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.1-py3-none-win32.whl
  • Upload date:
  • Size: 10.9 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.1-py3-none-win32.whl
Algorithm Hash digest
SHA256 3b0677c4cdf63c4cdbd10c60387ab62304e49fde7d9457fe2509552f4adc4caf
MD5 eadf63b6c3167b072daa8892c1552c93
BLAKE2b-256 5db23d417ccfff85a7d6ea00aec65461f5b6387fdbfa298d7c6b72f6dd9908a3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.1-py3-none-musllinux_1_1_x86_64.whl
  • Upload date:
  • Size: 11.5 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.1-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 81ba2f257757b1127531cbed3e49debfbd2ff06ddcf1631d9512bab5be878268
MD5 a7ff0e6b11a672ea44489bd178aefc1a
BLAKE2b-256 46f2917c251301ee09d0419e07fe7ab7564d4d24719375671293a45e66e6d93b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.1-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.1-py3-none-musllinux_1_1_ppc64le.whl
Algorithm Hash digest
SHA256 eefce6a0764036f91695bbb375efa65b278057ccd783397ccd397ed7bd2f74b5
MD5 03ccdea086ba32609dd004819c6ef478
BLAKE2b-256 bd1eff62530cfbc6f4ce45fe51fb7b3f6ab9cb24fa16d0cbd57ff9519d87d9fe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.1-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.1-py3-none-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 f2fcf5a23da4fc4f8a96df43a8f8de201aaac7c75fa2cab35fc0841a48e63e78
MD5 ff98bf16df0b9fab614445d25f90cebf
BLAKE2b-256 4ac77f6acafe231ed9c4fc211acde52d7399a876eb9b5000c50ce776add17d94

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.1-py3-none-musllinux_1_1_armv7l.whl
  • Upload date:
  • Size: 10.4 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.1-py3-none-musllinux_1_1_armv7l.whl
Algorithm Hash digest
SHA256 9c1e6b1528724c90d73a586a3ac24adc84eb5aa351eba68db95f74ef3bef1e76
MD5 979062f217e142d81aacbcb1d743431a
BLAKE2b-256 e797e75c041b40b05fbe17466069f7dc8187647dc3e67afc5004d8902775b9d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.1-py3-none-manylinux_2_28_aarch64.whl
  • Upload date:
  • Size: 10.6 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.1-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 405af8ad457c73f8ebb902664f5596a217081dd4565a54db93d4281072a9f9aa
MD5 1edd5190f97d2e19c27d733bf0f9a238
BLAKE2b-256 8aa3e67c378369f87347701f14d35f54204099e9c855467faf085cc7c3b1825d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.3.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b2f4430d7313648fc188fab2f44c03edb32428723ba16d77fbc2d789d2d37538
MD5 08c6b5e92c0d6a0cdeba6771b9b2d672
BLAKE2b-256 7f2f5d3640769d8ee92c4ec85d81fd85bc5f04cff629bd1fad696adc3c87db49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.3.1-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 9a8161b9ea8746ebfb2638887f9dc29244c97d06d20b581f3c14ace7e0a61afc
MD5 d8ecca04f00fae742399ab06b9205bf5
BLAKE2b-256 df6da7f9d0fc165b334f6a768705c568189875fbd1d2f3c8f4422f03b64a9ff7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.3.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 1f1f2142c3023ad0ab7a2611215e0d7d1824d3daa703b2d91c8892192ebe0d2c
MD5 614d68d69afd86163c2d1dae7966d52e
BLAKE2b-256 b063a7206e90d3b27d389d8fae6f3a2c52631908a0388ccb5c6ffffc6423c637

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.3.1-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 03e2dfdcf6d2d346add95507f71588c2f5aeb62dccf879bcf7aca088c6b94d10
MD5 46e0061e8e347728845b0df307b9b7e9
BLAKE2b-256 10e9c1e8abd9b11429d9bfa7441317f71825c294de0d5701f885750ad60b75ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.3.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 03c04124b5a5167c12c3de2b8119c0d9b3c3ace36ee8a497f266f458b023acd9
MD5 f1b2a614c91b5970d851725749de9033
BLAKE2b-256 57a8aa4f5db90c2592e54c97b691a4b5da9c61c0d168693df62a78b005abd096

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.3.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 4cd0bdcbd316496434acf5a3bfd848610fb423a8f18e3f10b34ba0388b72b533
MD5 fc7390d4017069796d14c27f6b53523c
BLAKE2b-256 aaffd2cb88fd7d9a4f2338c916853e8b13c983df66bb0a59d3550abc39774a23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 c54f5d3dd3a031f7533779ca6edbf5a62bfa2f9c23e434415e04ae48af40710e
MD5 25bbea400bca4613ec31865e0da3f9cd
BLAKE2b-256 1d29362749cfc5df9bdb09148b547e33899654cc8fee814979cd2b6fea3a3469

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.1-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 10.2 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.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 af573bd796750c7156642992e5e333aa81c9c45e7b835e2d540597c715009619
MD5 6b297192fc41dca8613d4b3c025f3d47
BLAKE2b-256 20c4b779b50e531e94bd8db7c5aa4f4e9f09686f32410216ebc5bd3f80438d7a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.1-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.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c1dd0d641858a9ad5c3cdac4e54cf179377e441ce436db215f874ac32d6d562d
MD5 955bb19e938a5e32f88c5e01a5444f8f
BLAKE2b-256 c62d8ed1329a66da0621093cb12bec653c0932d2b71abf14e1b1ed79ca99c721

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.1-py3-none-linux_armv6l.whl
  • Upload date:
  • Size: 10.6 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.1-py3-none-linux_armv6l.whl
Algorithm Hash digest
SHA256 800de54a9208821a3e3217e93c0312eebfcb321888cd8bcfe7ca52defc9f8d45
MD5 b111b28f4a9f501fa4240a5cd6ead359
BLAKE2b-256 4d7ec59f5c1692efc10aca1b2bcc5f764cbf5b79260b1d1300f1e347cd083057

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