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
uv tool update-shell

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.

Acknowledgments

This project would not be possible without:

Metadata

Release files for uv-global-manager 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for uv-global-manager 1.0.3
File Size Uploaded
uv_global_manager-1.0.3.tar.gz 27.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for uv-global-manager 1.0.3
File Interpreter ABI Platform
uv_global_manager-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 67.8 kB

Release files / uv_global_manager-1.0.3.tar.gz

Download URL uv_global_manager-1.0.3.tar.gz
Size 27.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fc3b2b4b0992c8db1baa1b7ea137b7adfd5dcb6e93e36af836fbeb6d2a99f902
BLAKE2b-256 checksum
How to use checksums
6be6e52c238280736b61e504cdcedb3627ff43cd1692edbd3d877a12333049f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / uv_global_manager-1.0.3-py3-none-any.whl

Download URL uv_global_manager-1.0.3-py3-none-any.whl
Size 40.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7e13bc9b2aa22ae5bf3fe25b20b80741840c8c67c1f0b372ba1c60f15b99afcb
BLAKE2b-256 checksum
How to use checksums
943a6a88bc5cb5d36b36b5f7197e35f2797fef3039b75eab8cec2e9023af8d85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page