Skip to main content

uvenv: pipx for uv (🦀)

Project description

uvenv: pipx for uv

pypi wheels snapcraft

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

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.8.1.tar.gz (87.6 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.8.1-py3-none-musllinux_1_2_x86_64.whl (4.4 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

uvenv-3.8.1-py3-none-musllinux_1_2_aarch64.whl (4.1 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

uvenv-3.8.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.4 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

uvenv-3.8.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

uvenv-3.8.1-py3-none-macosx_11_0_arm64.whl (3.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

uvenv-3.8.1-py3-none-macosx_10_12_x86_64.whl (4.2 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for uvenv-3.8.1.tar.gz
Algorithm Hash digest
SHA256 624e71aa1d9ebc76b892bcee424dea48e803cd800c5ec1871623dd8b8e73fefb
MD5 abee715df35a5bd8ea3d4a22984299ff
BLAKE2b-256 3fa88c022f9fdf0f3e1afd246654f5615256bf5a045da73e46296e65a620608f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uvenv-3.8.1-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5b0b170e2ec56860eb068cc9b358c839adccaf4f178d0a99380313de4361fabc
MD5 7a16bcc017a38189c141d767023409e8
BLAKE2b-256 afc03f2238c34bdb9e2abea1e46a4f5268b6848ca96bcbbd65c1a8884f8070ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uvenv-3.8.1-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e6360305614986f28c8534e994bb0bbd850574750cc2776c84bbd7868aeba752
MD5 e21d5c818146e972fdd126a9aab1a230
BLAKE2b-256 e75035eb02b531e7187b4705c1af08cc5b5360a503f6e6ed95ea73cf567d2a41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uvenv-3.8.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 afafcff9317d620faff5c7c88f27eea67fcf8fff4a6d66d5881c47f7b41df0f0
MD5 3095a58a8baba4a248272fdf96dcd536
BLAKE2b-256 37a7c4fc59df29f87ee990cae96c60d2d31f7d3a51e2f136df5278714e4f8ca7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uvenv-3.8.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b0c3cd24f13ab73e4888ddc6f396ec76940780c80524874e7a3134c7dfdd7356
MD5 253bd25dfa56b2be153ff9e7cab1a5af
BLAKE2b-256 916a270adca95600ca05248c136bc4198001e4774497c4110295abaf5f4308f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uvenv-3.8.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 825d3f574f90f89eea9bed9113712857430df2d11f6e980c5c9d4b4416b9dc00
MD5 2f70a07d1ca88735bd4559e8c1974843
BLAKE2b-256 0bd33d7f63cf14c9a0b0ae11ca4a2185f95eb6baaea38774b90dfb399152c98c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uvenv-3.8.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 aba5d7989c1f409e0a6aa2c5236240bee9f02c333790eb604643661d409c160b
MD5 1f8bfd9f9dabb1a96ed297f39f089c2a
BLAKE2b-256 5678ce88cfda8cadd711f4d47f8cd4fb74dd732eb3a0384cf27c26d37187520d

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