VOOZH about

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

โ‡ฑ uv ยท PyPI


Skip to main content

uv 0.8.8

pip install uv==0.8.8

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

Uploaded Python 3Windows ARM64

uv-0.8.8-py3-none-win_amd64.whl (20.2 MB view details)

Uploaded Python 3Windows x86-64

uv-0.8.8-py3-none-win32.whl (18.2 MB view details)

Uploaded Python 3Windows x86

uv-0.8.8-py3-none-musllinux_1_1_x86_64.whl (19.3 MB view details)

Uploaded Python 3musllinux: musl 1.1+ x86-64

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

Uploaded Python 3musllinux: musl 1.1+ i686

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

Uploaded Python 3musllinux: musl 1.1+ ARMv7l

uv-0.8.8-py3-none-manylinux_2_31_riscv64.whl (18.9 MB view details)

Uploaded Python 3manylinux: glibc 2.31+ riscv64

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

Uploaded Python 3manylinux: glibc 2.28+ ARM64

uv-0.8.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (19.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ s390x

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

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

uv-0.8.8-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl (20.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64

uv-0.8.8-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (18.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ i686

uv-0.8.8-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (18.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARMv7l

uv-0.8.8-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.8-py3-none-macosx_11_0_arm64.whl (17.2 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

uv-0.8.8-py3-none-macosx_10_12_x86_64.whl (18.5 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

uv-0.8.8-py3-none-linux_armv6l.whl (18.5 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for uv-0.8.8.tar.gz
Algorithm Hash digest
SHA256 6880e96cd994e53445d364206ddb4b2fff89fd2fbc74a74bef4a6f86384b07d9
MD5 11e810ec63304dde73494a820b61bb5f
BLAKE2b-256 9cd04cd8ac2c7938da78c8e9ca791205f80e74b0f5a680f2a2d50323d54961d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv-0.8.8-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.7

File hashes

Hashes for uv-0.8.8-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 1d829486e88ebbf7895306ff09a8b6014d3af7a18e27d751979ee37bf3a27832
MD5 2dfa1785297aa4a1ce366bf033e4a360
BLAKE2b-256 ac1a70dc4c730c19f3af40be9450b98b801e03cd6d16609743013f7258f69a29

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for uv-0.8.8-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 66189ca0b4051396aa19a6f036351477656073d0fd01618051faca699e1b3cdc
MD5 dfcc6e90dd0fcb9133d479c9f21d700a
BLAKE2b-256 bfc0f56ddb1b2276405618e3d2522018c962c010fc71f97f385d01b7e1dcd8df

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for uv-0.8.8-py3-none-win32.whl
Algorithm Hash digest
SHA256 65113735aa3427d3897e2f537da1331d1391735c6eecb9b820da6a15fd2f6738
MD5 1082944618bb709c6b8110ff3cdaf21a
BLAKE2b-256 49ea55a0eff462b2ec5a6327dd87c401c53306406c830fa8f2cabd2af79dd97f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.8-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 9330c924faa9df00a5e78b54561ecf4e5eac1211066f027620dbe85bd6f479ce
MD5 e27cf10567caaba8b5a800f09f09ff5c
BLAKE2b-256 1cb6c866684da5571dbf42e9a60b6587a62adc8a2eb592f07411d3b29cb09871

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.8-py3-none-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 372934fd94193c98dec59bd379cf39e73f906ae6162cbfb66686f32afd75fa0f
MD5 550971f8aefaac03d5acf5d0884cb734
BLAKE2b-256 ff143b16af331b79ae826d00a73e98f26f7f660dabedc0f82acb99069601b355

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.8-py3-none-musllinux_1_1_armv7l.whl
Algorithm Hash digest
SHA256 e117e1230559058fd286292dd5839e8e82d1aaf05763bf4a496e91fe07b69fa1
MD5 b7d4306192cc14294f6c94b841f85a24
BLAKE2b-256 1a1bea988ae9d8c5531454ea6904290e229624c9ea830a5c37b91ec74ebde9a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.8-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 5d58d986c3b6a9ce0fb48cd48b3aee6cb1b1057f928d598432e75a4fcaa370f4
MD5 9c944592764c9fe1a4283c8c7366741f
BLAKE2b-256 327597f371add0a02e5e37156ac0fea908ab4a1160fdf716d0e6c257b6767122

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.8-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e529dc0a1be5e896d299e4eae4599fa68909f8cb3e6c5ee1a46f66c9048e3334
MD5 0ff521ce13d08e644264a302b1b88080
BLAKE2b-256 c5969f5e935cd970102c67ce2a753ac721665fb4477c262e86afa0ab385cefff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d0a2b5ebc96aba2b0bf54283d2906b40f32949298cbc6ec48648097ddeac5c5d
MD5 3b734402f74c46179f37cd28f94c51ce
BLAKE2b-256 0ef16c107deccd6e66eb1c46776d8cef4ca9274aac73cec1b14453fe85e18a54

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.8-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 3bd016beea3935f9148b3d2482e3d60dee36f0260f9e99d4f57acfd978c1142a
MD5 ae3da24a1f17912ff828d28c430c8ee6
BLAKE2b-256 7f298384e0f3f3536ef376d94b7ab177753179906a6c2f5bab893e3fb9525b45

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.8-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 1038324c178d2d7407a4005c4c3294cbad6a02368ba5a85242308de62a6f4e12
MD5 c8338f1f9c9da513294c01d6f47a3681
BLAKE2b-256 9eb10698099a905b4a07b8fa9d6838e0680de707216ccf003433ca1b4afff224

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.8-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 9dce4de70098cb5b98feea9ef0b8f7db5d6b9deea003a926bc044a793872d719
MD5 69de8bf4e5ae444bd038da474033b529
BLAKE2b-256 569952d0d9f53cc5df11b1a459e743bd7b2f4660d49f125a63640eb85ce993e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.8-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 19a82d6738d3aa58e6646b9d6c343d103abf0c4caf97a68d16a8cab55282e4be
MD5 f9a4c5edd6c52247e5ddedd0ef8c2f98
BLAKE2b-256 385f98dad16987919e7dc02f2566026a263ea6307bf57e8de0008dde4717d9cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.8-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 5fc33adb91c4e3db550648aa30c2b97e8e4d8b8842ead7784a9e76dae3cb14dc
MD5 b5712670d4e3f39d9d62a6b4f3f1b805
BLAKE2b-256 2f89f2885c6e97a265b4b18050df6285f56c81b603a867a63fcd8f2caa04d95c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.8-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 5b4c56a620137f562e1d7b09eac6c9d4adeb876aefc51be27973257fcb426c9d
MD5 0edfe95949f712f642005cb5db1a2c96
BLAKE2b-256 a19ec30ea1f634673d234999985984afbe96c3d2a4381986e36df0bb46c0f21b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.8-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 58056e5ccebb0a1aad27bd89d0ccc5b65c086d5a7f6b0ac16a9dde030b63cf14
MD5 37b39b32a3770d7cdbbd46cd68a7b245
BLAKE2b-256 8cac3c6dc8781d37ef9854f412322caffac2978dd3fa1bf806f7daebcfebf2be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.8-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 461e8fb83931755cf0596bf1b8ccbfe02765e81a0d392c495c07685d6b6591f9
MD5 132562093fd610d1c6985f19a19f69da
BLAKE2b-256 0150add1afadccd141d0d72b54e5146f8181fcc6efd1567a17c5b1edec444010

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv-0.8.8-py3-none-linux_armv6l.whl
Algorithm Hash digest
SHA256 fcdbee030de120478db1a4bb3e3bbf04eec572527ea9107ecf064a808259b6c9
MD5 531aec66110627280a2918ebaee0b649
BLAKE2b-256 08d549e188db80f3d8b1969bdbcb8a5468a3796827f15d773241204f206a9ff6

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