uvenv: pipx for uv (🦀)
Project description
uvenv: pipx for uv
Inspired by:
Installation
New:
uvenvis now also installable via the snap store.
Thepipmethod is still recommended, but if you want to usesnap, please check out docs/snap.md!
- Install via pip (or alternatives):
pip install uvenv # or `uv install uvenv`, `pipx install uvenv`
Note: Ubuntu 24.04+ does not allow global installation via pip by default. See docs/ubuntu_2404.md if you encounter
externally-managed-environmenterrors.
-
Optional (for bash users):
uvenv setupThis installs the following features:
- Ensures
~/.local/bin/is added to your PATH, so commands can be found (unless--skip-ensurepath). Can also be activated viauvenv ensurepath - Enables tab completion for
uvenv(unless--skip-completions). Can also be enabled viauvenv completions --install. - Enables
uvenv activate(unless--skip-activate) to activate uvenv-managed virtualenvs from your shell
Usage
uvenv
Run uvenv without any arguments to see all possible subcommands.
Migration from uvx
Note: The tool previously named
uvxis nowuvenvdue to a naming collision with a newuvcommand. The new name better reflects its purpose, combininguvwithvenv.
You can runuvenv self migrateto move your environments and installed commands fromuvxtouvenv.
Platform Considerations
- Rust-Powered Performance (uvenv 2.0): Starting from version 2.0,
uvenvleverages Rust for improved performance and compatibility withuv. - Prebuilt Binaries: Currently, prebuilt binaries are available for x86_64 (amd64) and aarch64 (ARM64) on Linux, as well as Intel (x86_64) and Apple Silicon (ARM64) on macOS.
- Other Platforms: If you're on a different platform, you can still use
uvx 1.x, which is written in pure Python. Find it at robinvandernoord/uvx. - Alternatively, you can Compile for Your Platform:
- Install the Rust toolchain:
curl https://sh.rustup.rs -sSf | sh
- Clone the
uvenvrepo and navigate to it:git clone https://github.com/robinvandernoord/uvenv.git cd uvenv
- Set up a virtual environment (choose Python or uv):
python -m venv venv # or `uv venv venv --seed` source venv/bin/activate
- Install Maturin (Python with Rust package builder):
pip install maturin # or `uv pip install maturin`
- Compile and install the
uvenvbinary:maturin develop - Now you can use
uvenv:./venv/bin/uvenv
- Install the Rust toolchain:
For additional details on building and distribution, refer to maturin documentation.
License
uvenv is distributed under the terms of the MIT license.
Changelog
See CHANGELOG.md on GitHub
Project details
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
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
File details
Details for the file uvenv-3.7.5.tar.gz.
File metadata
- Download URL: uvenv-3.7.5.tar.gz
- Upload date:
- Size: 82.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
816c3bba8c3c508991756fa0e16b86da455d3092558c1e8a5866ae2b54a980dc
|
|
| MD5 |
9dc15159d64d768940f18367d3c26eb8
|
|
| BLAKE2b-256 |
9c932a92f603dba4289c2a0c1a70ce235f2a71af40170b7a06ec7772d166a951
|
File details
Details for the file uvenv-3.7.5-py3-none-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: uvenv-3.7.5-py3-none-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 4.2 MB
- Tags: Python 3, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54fd2cee515563bcefb954b6684d4b581d896786938929c67c175078cf32b00b
|
|
| MD5 |
49167248d40a7692f19c3891f19003bf
|
|
| BLAKE2b-256 |
fc7c55f8e7fbf74cd3ae9bd232d87e1328b4beacffe9c6645440142d9dfd0798
|
File details
Details for the file uvenv-3.7.5-py3-none-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: uvenv-3.7.5-py3-none-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 3.9 MB
- Tags: Python 3, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc52c6bfbb50ea440772096c6f91ab502ea8aed1b7d3ba8cdec1d608ad2577c7
|
|
| MD5 |
bfb6138dcdc4a06ef3f101505750771d
|
|
| BLAKE2b-256 |
8ba186480bd1ceab1bfcff6fe26eafcd5b3227c1142e54660ab3700a464bdb31
|
File details
Details for the file uvenv-3.7.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: uvenv-3.7.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.3 MB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5d4a99f3010232aaed08bb7aa34cc99ce7e08b8987aed73f48a46e38266af8a
|
|
| MD5 |
27f792ced4bebdffa28320b699feec6f
|
|
| BLAKE2b-256 |
8e215a7627dbb7aaa2ea4f92a8158b375e803ec8702006b5e88bef30c0224db1
|
File details
Details for the file uvenv-3.7.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: uvenv-3.7.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 4.0 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29140d087cff53e709c8e1a67ff1c15f7919828f42a2c2bf9206e48f1a729585
|
|
| MD5 |
71ace3fb417b80328fe91afb1eeaa7fa
|
|
| BLAKE2b-256 |
dfdc7a477da7a68140bf69180ce9ff162c5fe41d81072edf09581a1e0ed18195
|
File details
Details for the file uvenv-3.7.5-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: uvenv-3.7.5-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.7 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85f2180ab8ed2b8658e589c669801470a8cb9ae3a4bd5eed6901ff61baa721d8
|
|
| MD5 |
5ceeb69bfd68121de739f4bf4ad27b6f
|
|
| BLAKE2b-256 |
74cf1a556ebde1a16209f4f4b49b3495d3303187aff448711e334abefa140f67
|
File details
Details for the file uvenv-3.7.5-py3-none-macosx_10_12_x86_64.whl.
File metadata
- Download URL: uvenv-3.7.5-py3-none-macosx_10_12_x86_64.whl
- Upload date:
- Size: 4.0 MB
- Tags: Python 3, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe1fb16aefb01aa61f3114af6eddebbec4d46a8c747c8a893b131816273d7e86
|
|
| MD5 |
447e5613b88a879d5da97b8b404d81c9
|
|
| BLAKE2b-256 |
7418b848b5e3fdf91f0d6f93a5c3d1127607db8cdaf743110d9517ea97fcc3a0
|