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.7.5.tar.gz (82.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.7.5-py3-none-musllinux_1_2_x86_64.whl (4.2 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

uvenv-3.7.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

uvenv-3.7.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

uvenv-3.7.5-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.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

Hashes for uvenv-3.7.5.tar.gz
Algorithm Hash digest
SHA256 816c3bba8c3c508991756fa0e16b86da455d3092558c1e8a5866ae2b54a980dc
MD5 9dc15159d64d768940f18367d3c26eb8
BLAKE2b-256 9c932a92f603dba4289c2a0c1a70ce235f2a71af40170b7a06ec7772d166a951

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uvenv-3.7.5-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 54fd2cee515563bcefb954b6684d4b581d896786938929c67c175078cf32b00b
MD5 49167248d40a7692f19c3891f19003bf
BLAKE2b-256 fc7c55f8e7fbf74cd3ae9bd232d87e1328b4beacffe9c6645440142d9dfd0798

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uvenv-3.7.5-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 dc52c6bfbb50ea440772096c6f91ab502ea8aed1b7d3ba8cdec1d608ad2577c7
MD5 bfb6138dcdc4a06ef3f101505750771d
BLAKE2b-256 8ba186480bd1ceab1bfcff6fe26eafcd5b3227c1142e54660ab3700a464bdb31

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uvenv-3.7.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b5d4a99f3010232aaed08bb7aa34cc99ce7e08b8987aed73f48a46e38266af8a
MD5 27f792ced4bebdffa28320b699feec6f
BLAKE2b-256 8e215a7627dbb7aaa2ea4f92a8158b375e803ec8702006b5e88bef30c0224db1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uvenv-3.7.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 29140d087cff53e709c8e1a67ff1c15f7919828f42a2c2bf9206e48f1a729585
MD5 71ace3fb417b80328fe91afb1eeaa7fa
BLAKE2b-256 dfdc7a477da7a68140bf69180ce9ff162c5fe41d81072edf09581a1e0ed18195

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uvenv-3.7.5-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 85f2180ab8ed2b8658e589c669801470a8cb9ae3a4bd5eed6901ff61baa721d8
MD5 5ceeb69bfd68121de739f4bf4ad27b6f
BLAKE2b-256 74cf1a556ebde1a16209f4f4b49b3495d3303187aff448711e334abefa140f67

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uvenv-3.7.5-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 fe1fb16aefb01aa61f3114af6eddebbec4d46a8c747c8a893b131816273d7e86
MD5 447e5613b88a879d5da97b8b404d81c9
BLAKE2b-256 7418b848b5e3fdf91f0d6f93a5c3d1127607db8cdaf743110d9517ea97fcc3a0

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