VOOZH about

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

โ‡ฑ uv ยท PyPI


Skip to main content

uv 0.3.0

pip install uv==0.3.0

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 the Trio 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 with uvx:

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3Windows x86

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

Uploaded Python 3musllinux: musl 1.1+ x86-64

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

Uploaded Python 3musllinux: musl 1.1+ ppc64le

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

Uploaded Python 3musllinux: musl 1.1+ i686

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

Uploaded Python 3musllinux: musl 1.1+ ARMv7l

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

Uploaded Python 3manylinux: glibc 2.28+ ARM64

uv-0.3.0-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.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl (14.6 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

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

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

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

Uploaded Python 3manylinux: glibc 2.17+ ppc64

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

Uploaded Python 3manylinux: glibc 2.17+ i686

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

Uploaded Python 3manylinux: glibc 2.17+ ARMv7l

uv-0.3.0-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.0-py3-none-macosx_11_0_arm64.whl (10.2 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

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

Uploaded Python 3macOS 10.12+ x86-64

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: uv-0.3.0.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.0.tar.gz
Algorithm Hash digest
SHA256 3b62e44f61a154303fc9f4aa87ae54891957d49769d21dcf2be9c22e640c3e92
MD5 236dad24209bfc36095f725793430176
BLAKE2b-256 e6a26c041ceb4f1b5936823956c691529243d391bf5324276e4a882abc5d6f97

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.0-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.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 160a1f3b01298942d6cfe21f95a9b7daa3eb73231ba1fc4689157eb9f23b3438
MD5 8953ce76c46cfe549facc27aaad35364
BLAKE2b-256 c06605b051e68b40d792d77a44ca6a510689ff63cba2d12330f57c66bb1ea172

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.0-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.0-py3-none-win32.whl
Algorithm Hash digest
SHA256 21ebc6ca30df7ff57a8e17e3abeeba8a9d1d4ac79c1adf842fa42d48a5c7f372
MD5 295bdbce2d9157a8be2ab70738a3951b
BLAKE2b-256 df1098db71e6c608c58646dbc0cb383e58a3168c8d8060b38cf639c438e0ab66

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.0-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.0-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 24a1388f5e285058f97576b7dfee79bb5007a712a9e368f3fcdcfeb2dfd9ce92
MD5 10e71e51f2123d7b7cbf0452d7c3fbf1
BLAKE2b-256 12fb0400cc40dbd0ebf525280a853f7726fb655ee86751442c3a0d7d0c53b928

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.0-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.0-py3-none-musllinux_1_1_ppc64le.whl
Algorithm Hash digest
SHA256 a71b7080ee6d7658b22f93aa750cbfd19111cd6c8ac643a73d6778598dd06559
MD5 ca2aa9d63f70266844a508f3a4d019f3
BLAKE2b-256 680f4a46f0dbb3df7798c4f81764f658ea08e456ab86572c012477870fd614be

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.0-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.0-py3-none-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 5c826d9daace67d67790503b0c1152093b3cecd35a91de10f5bb9e26afea9de9
MD5 57ccbb173b9bc17a4c632f2bf30e295e
BLAKE2b-256 41d9c199d1ac28f8e6170cfb5bee21015df093c57a7dcc53457dd9120d8a0813

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.0-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.0-py3-none-musllinux_1_1_armv7l.whl
Algorithm Hash digest
SHA256 503fc619238550be222b41422b415677c9b8045c92a9815f80ff5d7477671fe6
MD5 34e3478fa27d9029a87e6f8e7f88a991
BLAKE2b-256 d7a00d141c226fd8fd9846cbc444e120e7d5c6ab43f48401d88964a16f0a1f16

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.0-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.0-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d87ff76da5128036c05db0291db7510a85cb8efb86538e8f49adc8074bb292f0
MD5 a1f028314524cc6ac3fa69984b924f48
BLAKE2b-256 a5fbea65620c6c97e3ea0f68876d05e30b23eba93b81ea097b9b953e2802d203

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 084551ee0743339aa5d0d4c76a94c9f9df16c33030b850f0cd98f316db7b42cc
MD5 02fc7a0403fde80e6de202f98919b4be
BLAKE2b-256 f2643037d77d169d40b418d181c5325270f821b65dbca42237718683d5c2a1e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.3.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 4303364d717b1def58e82b11271259d2ee3bb03da0ca6111819ee254f65b38f4
MD5 98ae9ee685582f707fcc683d03bad99f
BLAKE2b-256 b268f4f3cb58462cc219a955dce4ab018c7364d06f4a6e8276f5039bf79b0b64

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.3.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 a15b2321444f3668bc95863d2b13ce44ea54053189427ea48d112ecd8b3d2f89
MD5 963793c804f20554db0e26f7d46edfaa
BLAKE2b-256 8148b48ecc057ef12dc6de7cf19d0bf3097a8bec98c4082a7ef09890ee1bcac2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.3.0-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 6d1025349cbaeba9a974d413795d0ce8d37de5ad7fb7654c0519968b2c083ba1
MD5 6f4d2240b65cc7b925b93f2f596ce652
BLAKE2b-256 476e0ddc3934b39abd6e9412a900cf6fd032645e750fcae228e3afd0381f1536

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.3.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 2f937ebdf9976ec1ffe7228fd608ef3e6ce2a61ed68cf7b157ae6900a9c80f41
MD5 b48bd4fe92eb9a9364f57cf01dc5feab
BLAKE2b-256 f76fe8c9b328e6426fa25ba2a0e0fe57c4ae634e7477020f0380eb3bcc9c99d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.3.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 52b3a6110705ff27462ddc68657fedf8a296ed545619a90fa73354f130ad632e
MD5 5a05d2c0764dc3685f628964e4b83f42
BLAKE2b-256 ef7055b2dec542af6b229d809d3f6d0f34a30c5ee52fc250ede61160c01e1ab2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 0da4f060d583325846cde0727a8cc0cb4e8c63b30ac9373dae213a7315056d90
MD5 4d958e6332bc99f75b18b8bb7820e024
BLAKE2b-256 060b23c8bd14f3f3f3d374ba2cd54d5a3082ad0b8a36e5c1722bd5aa537f3119

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.0-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.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 39a4276afe0808ca6c033e0cd6cb73249f934b4a0c9d7b18a944f3f8ea635e27
MD5 874238a618eb6ec4b673bf59d55097e8
BLAKE2b-256 6195b6603342b9a0a180776e7aec845079cdc66fb521157ed9bf62b4e4174983

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.0-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.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b44ebf501de5eef33e4f3cf4b6ea9a458d1f1b3cf26737c25ac507ab7914076a
MD5 a3d95c0d8a9793e78dc33de652303b45
BLAKE2b-256 e07b2615e5d1e044a6aac93581ea0cac4d4f3c6c2b7c6a1810c7cc311e136c17

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.0-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.0-py3-none-linux_armv6l.whl
Algorithm Hash digest
SHA256 d3da56b87ec5aa4f2ae572127c754655bad3820dd41a4d37ed4d5e2f67035990
MD5 c104e01380b63da8271d40fff8b4d0c6
BLAKE2b-256 e55f91712b5342715f2a556f1d25833b1485541c134dc0843ce58565f9c81484

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