Skip to main content

UV Global Environment Manager

UV Global Environment Manager

Latest PyPI version

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.


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.0.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.0-py3-none-any.whl (38.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: uv_global_manager-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 9678d4c36710de257dc3481fd3fb3c530bebc25cffd87a5cdd690b5258f65dce
MD5 04ffa3c86db73d9c5462112d05b0f3f7
BLAKE2b-256 e6550217e2cd57d8fe8518363ff92fe24940da3c6953f3d03e9a97d2e162dc4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv_global_manager-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cc64061e4be98f3753631a609124d32ea524c23064840d4327af083e8ddbb153
MD5 760a6264757a2ade89d4ef6d07c72189
BLAKE2b-256 17910a8d061229bbd0c08c380221aea7b538b44c38dbcf8789c801c79116173e

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

This release

1.0.0 This release

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