Skip to main content

uvenv: pipx for uv (🦀)

Project description

uvenv: pipx for uv

Inspired by:

Installation

New: uvenv is now also installable via the snap store.
The pip method is still recommended, but if you want to use snap, please check out docs/snap.md!

  1. 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-environment errors.

  1. Optional (for bash users):

    uvenv setup
    

    This installs the following features:

  • Ensures ~/.local/bin/ is added to your PATH, so commands can be found (unless --skip-ensurepath). Can also be activated via uvenv ensurepath
  • Enables tab completion for uvenv (unless --skip-completions). Can also be enabled via uvenv 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 uvx is now uvenv due to a naming collision with a new uv command. The new name better reflects its purpose, combining uv with venv.
You can run uvenv self migrate to move your environments and installed commands from uvx to uvenv.

Platform Considerations

  • Rust-Powered Performance (uvenv 2.0): Starting from version 2.0, uvenv leverages Rust for improved performance and compatibility with uv.
  • 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 uvenv repo 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 uvenv binary:
      maturin develop
      
    • Now you can use uvenv:
      ./venv/bin/uvenv
      

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

This version

3.7.4

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uvenv-3.7.4.tar.gz (82.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

uvenv-3.7.4-py3-none-musllinux_1_2_x86_64.whl (4.2 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

uvenv-3.7.4-py3-none-musllinux_1_2_aarch64.whl (3.9 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

uvenv-3.7.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

uvenv-3.7.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

uvenv-3.7.4-py3-none-macosx_11_0_arm64.whl (3.7 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

uvenv-3.7.4-py3-none-macosx_10_12_x86_64.whl (4.0 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file uvenv-3.7.4.tar.gz.

File metadata

  • Download URL: uvenv-3.7.4.tar.gz
  • Upload date:
  • Size: 82.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.8.3

File hashes

Hashes for uvenv-3.7.4.tar.gz
Algorithm Hash digest
SHA256 d06cdb20668e36c1f1b165c307310ecdc7a9ae4e54b5cd333ed8e71b5af28058
MD5 6f8718e649c51fbbe6b1694ee0baa36e
BLAKE2b-256 c3d99a997ac7e85ff508397bc678717fa5bf0daf006c84e1a55b5017af2e58b4

See more details on using hashes here.

File details

Details for the file uvenv-3.7.4-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for uvenv-3.7.4-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 931a2a780f2a59669826fc318419294386fed35f9790a1b51c97a470dc29eac2
MD5 d3a3cff0384a9319b751dc487d7b5f09
BLAKE2b-256 04a964af71bcad2a1c606a5387e8d0ce361ab6eacd5dd25dfd3558cf4ad3a0c4

See more details on using hashes here.

File details

Details for the file uvenv-3.7.4-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for uvenv-3.7.4-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b444a106b82ba213745458fb1c08e6b7bd73a22550da2c7699bb29184f2b3aaf
MD5 4424e25c3cbf3ddf6794d6f7108963b3
BLAKE2b-256 25b744a3854cf0b2b5325f8dbfe56ac640cf676990a123ebc17e9d30e6ef283a

See more details on using hashes here.

File details

Details for the file uvenv-3.7.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for uvenv-3.7.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e86f30e0f794a01e4cba72d01caa5ac9b39abdbafb9cbb3266ec974d0ed46d2e
MD5 0c006b7a695970bd93ad5b34c3ef0cd0
BLAKE2b-256 8cfd2fb7621d78d924a23091fbd866255e0c44e6170995ce2848a3e1ddb4e7a0

See more details on using hashes here.

File details

Details for the file uvenv-3.7.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for uvenv-3.7.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6f41da9b04b3be65b4651af74f5b7d5bdec56dd2b06ebc7443bf78d404fdd3dd
MD5 7d82960f96ce523eb4b90f018e7b8de1
BLAKE2b-256 04a28303b6d49f25a33fd50bb82568fc328491dc3810f08281382a5494030911

See more details on using hashes here.

File details

Details for the file uvenv-3.7.4-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for uvenv-3.7.4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 54727e27a936177f5f2482f9ad10d5b89403af4d2fe7e794f23a6c55b8f7d4cd
MD5 07d09d350240e395f73a69b32166adf5
BLAKE2b-256 3c1cc76858f739618939a68949fb6019e33f392f40a59b9f96c14fc29a2fcde0

See more details on using hashes here.

File details

Details for the file uvenv-3.7.4-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for uvenv-3.7.4-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 231938566a530d8258e0de0066b4c8b03faf6b9e18c169ffb0cb1f719bd2fd26
MD5 ab0b479df00487d42e292c6ed73fa347
BLAKE2b-256 79ef33f6b3b6c65bed044f41a0209e1cba2e6bbba633458280410ca7d6e093b2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page