VOOZH about

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

โ‡ฑ uv ยท PyPI


Skip to main content

uv 0.3.5

pip install uv==0.3.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 (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.5.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.5-py3-none-win_amd64.whl (12.3 MB view details)

Uploaded Python 3Windows x86-64

uv-0.3.5-py3-none-win32.whl (11.1 MB view details)

Uploaded Python 3Windows x86

uv-0.3.5-py3-none-musllinux_1_1_x86_64.whl (11.7 MB view details)

Uploaded Python 3musllinux: musl 1.1+ x86-64

uv-0.3.5-py3-none-musllinux_1_1_ppc64le.whl (12.8 MB view details)

Uploaded Python 3musllinux: musl 1.1+ ppc64le

uv-0.3.5-py3-none-musllinux_1_1_i686.whl (11.0 MB view details)

Uploaded Python 3musllinux: musl 1.1+ i686

uv-0.3.5-py3-none-musllinux_1_1_armv7l.whl (10.6 MB view details)

Uploaded Python 3musllinux: musl 1.1+ ARMv7l

uv-0.3.5-py3-none-manylinux_2_28_aarch64.whl (10.8 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

uv-0.3.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.6 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

uv-0.3.5-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl (14.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

uv-0.3.5-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (11.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

uv-0.3.5-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl (12.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64

uv-0.3.5-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (11.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ i686

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

Uploaded Python 3manylinux: glibc 2.17+ ARMv7l

uv-0.3.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl (10.7 MB view details)

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

uv-0.3.5-py3-none-macosx_11_0_arm64.whl (10.4 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

uv-0.3.5-py3-none-macosx_10_12_x86_64.whl (11.2 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

uv-0.3.5-py3-none-linux_armv6l.whl (10.7 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: uv-0.3.5.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.5.tar.gz
Algorithm Hash digest
SHA256 80243b411ce791d1c2656d148d9d2e3553cd71eb9812ed559a3f1c1384afb571
MD5 4279fc045d98fc839432223ddda98029
BLAKE2b-256 8cfa50097ed31c7f13152530bccddaa90bef9c4b20552484bb96387e9de2fcd4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.5-py3-none-win_amd64.whl
  • Upload date:
  • Size: 12.3 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.5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 4c89dd183389c297393b203172e9d72e7d2f2309eead950c9749240700817e98
MD5 baf54660d7b91a33ec696b54fdc6c5ab
BLAKE2b-256 f3342aacc64efaff96667d4d3ace322de126c50d15b5fef9f34b6b2bc02b9736

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.5-py3-none-win32.whl
  • Upload date:
  • Size: 11.1 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.5-py3-none-win32.whl
Algorithm Hash digest
SHA256 420cabd5fa42f23e3abd0a4e43e3e84af9790f8c847b4306b7325a882356f94c
MD5 68d4193e004a71e462d10297e2f148fe
BLAKE2b-256 59a082e2fd577c69a3a973230ae242b3a19585dbafb3a838a107311333f85f2e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.5-py3-none-musllinux_1_1_x86_64.whl
  • Upload date:
  • Size: 11.7 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.5-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 8a95ec9d9dcd3aad62c4a64d087ce953c2f733b27c50793c022bcc3cb9b17d92
MD5 0efce66dfc9bb60b5940c6735c70aa17
BLAKE2b-256 bfb49c4e79be5cfb94f636ba3729cd9e0c42d15ef4d9ddbf7e5b80ea04015207

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.5-py3-none-musllinux_1_1_ppc64le.whl
  • Upload date:
  • Size: 12.8 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.5-py3-none-musllinux_1_1_ppc64le.whl
Algorithm Hash digest
SHA256 9190ac2266076e6c63d3113bca5d047742e90406d763bf9ba5db7bac9ab9e4a5
MD5 10db20e4a8b97de7a417a1c28c67c5bb
BLAKE2b-256 1936231680ddeeb179d07b57876db6ae809932724db68667fe8b72a6446cedbd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.5-py3-none-musllinux_1_1_i686.whl
  • Upload date:
  • Size: 11.0 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.5-py3-none-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 585a91a05250e2d800f7614e77c09ba16fa1d3014ec092dac05ec2ea232d489f
MD5 3f8757ee37ba58163315fb8f6df23c62
BLAKE2b-256 7a581246979ba0f5b5eb485167398d3daa90805ecf0d8171868e6921072cfcb1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.5-py3-none-musllinux_1_1_armv7l.whl
  • Upload date:
  • Size: 10.6 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.5-py3-none-musllinux_1_1_armv7l.whl
Algorithm Hash digest
SHA256 7fffe2e209c7059522b3221d940356b24dc8036bcde2801de081e7e9c5cc5c4a
MD5 8b190e05956b1a0e6be49c0c55ddb2b4
BLAKE2b-256 df62b3d460a755d76674ea5c6541007129926cdade99a6a34e458785091fad9c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.5-py3-none-manylinux_2_28_aarch64.whl
  • Upload date:
  • Size: 10.8 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.5-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 07bd680a570245c44da0800bed98ef01bfed6549832ae3b364e9c289afa6f76b
MD5 3332116cece70893a210c2c0eb94d4df
BLAKE2b-256 7ed2eb81af8a5d5c138341256fca4b76c4b70e3da7eebf205692a09af3f28666

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.3.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cdab52c5c1ed97805f2b4d7648615e10a823f8c5497207d5f14f5b6062c4798b
MD5 a31305f31a4ba6db0de8025a24399936
BLAKE2b-256 07fe20aadf565a5cef95d8382c7b4e79423d2903cddf1c42fc01706bd389f8ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.3.5-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 e1dac7bd4ca2bd6d11ed4e43523e040ef9ed1cde2cd376eb6b1c61e64f636e95
MD5 87052c6cdb7d182d544599f9626fc9a2
BLAKE2b-256 f5f78e42800067d99b321a3a575a0f193f36168f93942a9f6b74c384fd5bd301

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.3.5-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 7eb2e8bba1301efe43f929c33ba1c49975d314028feba4ec91d3da633629c74e
MD5 9ddb07df011ba5888d85116bd51a9a29
BLAKE2b-256 01b553420cffd99fc8f013ab8e5ebb4db80952569bcd947ce0ed9f5aed996eb5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.3.5-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 1ef68f64a9232cb71a46f33b506ce14cb31c54d5385d47ee1202f17d300e40df
MD5 8a29fa9eb29e9871373bbfeb4edcc388
BLAKE2b-256 c183bda20beaccd6d8d4f3d0795eeb9cd88d60b20c9754c93e7a1942c6577fd6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.3.5-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 e7b8f8e35e6f8245dc7831b499dd6b7a71d94b6862b8225f2245fb59ef4f9825
MD5 36a7c1d81ebfd4411bf7e54970dd8559
BLAKE2b-256 26bf876eb992201477ad0fabd8a8abdde3eb7e659c78e44c3a77fda3a5082a07

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.3.5-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 4f379d8748020ed8233a6681dcbb26e79eb8a8a7310d2dbd1e0de04e780c18ba
MD5 3757d0fa71a75bdb52d5d22ca57b6fde
BLAKE2b-256 e2b1a27c63c1910ee651adb1a2ce59982f1ff04454561c5c705ac28352c55a4d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.3.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 cac04fce16fed8d7626dcd32b9e07c0475eb0266f858328f2de398802c1fc9af
MD5 4f795ec9d624abdca45e2771e3848b38
BLAKE2b-256 0970d7b712736a9db780ae2bc236f1cca9d4c3eaa01fa06e3c446a427f06ee58

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.5-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 10.4 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.5-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 89c1515200a838014b1fa6c9cfb2b9a055bcad3178ccf7d31768bf38b43cac65
MD5 fe7fc638b9e10658f267b41587b2c7bf
BLAKE2b-256 838e956ad3788cfa863cc8de148907e371b025acd97f7a0bb2a9e78ce63c2b1e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.5-py3-none-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 11.2 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.5-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 47faf95c3da64c3a819cc3e5b7d660d990c01ec248a588848426c4ab1e40bcb2
MD5 d77d375421486287130f6ad69947c4ec
BLAKE2b-256 fef818a39dba46fe1ed2318932b87da239617d6b7c9f682bd4e87281f0455336

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.3.5-py3-none-linux_armv6l.whl
  • Upload date:
  • Size: 10.7 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.5-py3-none-linux_armv6l.whl
Algorithm Hash digest
SHA256 59f10007b4c52ed132e6a87fc39f487dfec90835b46678365f4f3e67caab3c02
MD5 0aed9c6c6fc8aca3785a4b6300551de0
BLAKE2b-256 2f22a9037144101b1cd646fa240e1c7f8069f501f6486e04356389f6afcd82a2

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