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

Uploaded Python 3

File details

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

File metadata

  • Download URL: uv_global_manager-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 dbee309447ecc389bc436609fae0ca450be3b44eba256329c3468d62ee522db1
MD5 b8f5d4432e582ac4959656198d306c9e
BLAKE2b-256 7244f76195635ab27244e0262aeeef6136ed4d1355e8ba5f20c7cb0ae61ae3a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uv_global_manager-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8ab1150b9a7239f7474c430e1e7b0a85f2a609e7e1a9442d6971ff300c1225f6
MD5 2469aa9d7ddc680a940b31ad77ce1a75
BLAKE2b-256 4f6265e09de7eeb5162b9b4a2b36ccdc32ebafdb3b3f6b50716a7f6d6f66636f

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.3

2 files

This release

1.0.2 This release

2 files

1.0.1

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