Skip to main content

UV Global Environment Manager

PyPI Version GitHub Repository

Bring the convenience of reusable global environments to the speed and simplicity of UV, with seamless multi-shell and cross-platform support.

UV provides an excellent project-oriented workflow, but not every Python task needs its own project. This tool brings the convenience of reusable global environments to UV, allowing you to create, manage, and quickly switch between isolated environments for experimentation, automation, utilities, development tools, and other recurring tasks.

Built with native integration for Windows and Linux designed to work across the same shells supported by UV, it provides a consistent workflow without relying on platform-specific scripts. When an experiment grows into a real project, the active environment can also be used as the starting point for a standard UV project, making the transition from experimentation to development straightforward.


Installation

UV must be installed and available globally through the system PATH.

The recommended way to install UV Global Environment Manager is through UV's tool management:

uv tool install uv-global-manager

Once installed, the uve command will be available globally.

Run uve setup to configure the shell integration and explore the available setup options.


Why Global Virtual Environments?

Not every Python task needs a dedicated project. Reusable environments are useful whenever you need an isolated, persistent Python environment for a specific purpose.

Many everyday tasks do not belong to a dedicated project:

  • Testing new Python libraries.
  • Running utility scripts.
  • Experimenting with new technologies.
  • Maintaining automation tools.
  • Building dedicated data science environments.
  • Keeping separate environments for different Python versions.
  • Creating specialized environments with pre-installed applications such as Spyder, Jupyter, or scientific libraries.

For example, a dedicated environment can provide a Python-based workflow similar to MATLAB by installing Spyder and the required scientific libraries. Other environments can be tailored to any of the use cases above, with each environment remaining fully isolated from the system Python while being immediately available whenever needed.

Reusable environments therefore complement project-specific environments by providing persistent, purpose-built Python installations for tasks that do not require a dedicated project.


Features

  • Manage reusable global virtual environments (create, activate, list, and remove).
  • Bootstrap standard UV projects from the active environment.
  • Support Windows and Linux.
  • Support the same shells supported by UV.
  • Provide native shell integration across supported platforms.
  • Automatically initialize and maintain the required manager infrastructure.

Available Commands

The CLI provides dedicated commands for managing environments, integrating with the current shell, and transitioning from reusable environments to standard UV projects. Run uve help <command> to view the complete help, including available options and examples for any command.


Command Description
uve create Creates a reusable global virtual environment using any Python version supported by UV. The selected Python version can be downloaded automatically by UV when needed, and dependencies can optionally be installed from a requirements file during creation.
uve list Lists managed environments and provides filtering and inspection options, including Python implementation, version, size, and environment statistics.
uve activate Activates a managed environment in the current shell using the appropriate shell integration, making its Python interpreter and installed tools immediately available.
uve delete Removes a managed environment, with protection against deleting the environment currently in use.
uve make-project Bootstraps a standard UV project from the currently active global environment, carrying its Python configuration and dependencies into the new project while allowing the resulting project to be customized through UV's project options.
uve setup Configures the manager and its shell integration, with automatic setup available for normal installations and additional resources for users who prefer to perform the setup manually.

Download files

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

Source Distribution

uv_global_manager-1.0.1.tar.gz (27.0 kB view details)

Uploaded Source

Built Distribution

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

uv_global_manager-1.0.1-py3-none-any.whl (38.8 kB view details)

Uploaded Python 3

File details

Details for the file uv_global_manager-1.0.1.tar.gz.

File metadata

  • Download URL: uv_global_manager-1.0.1.tar.gz
  • Upload date:
  • Size: 27.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for uv_global_manager-1.0.1.tar.gz
Algorithm Hash digest
SHA256 4fe23c2e42597930018c140ab08cf9f0eb704533c722cd6e888690fe39b65ed2
MD5 ece10a80fbecd4b18e3e43c7f01c0e01
BLAKE2b-256 baafc7afea724f2963574a7c39cfc3be1232d4be1406c8424be82dc684a91688

See more details on using hashes here.

File details

Details for the file uv_global_manager-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for uv_global_manager-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7159efd9a72ba8866aa100ed426ee48f0f4886996d33c4021d706572a8f9caca
MD5 844c0e268b39dd862f2774212810941a
BLAKE2b-256 8e961c554d4b21d3193ac89900e7a290f9b70bfb406ddcbf42300a9239434a3c

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.3

2 files

1.0.2

2 files

This release

1.0.1 This release

2 files

1.0.0

2 files

Supported by

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