Skip to main content

Manage Python virtual environments

Project description

venvmgr

👀 Manage Python virtual environments

Install 💥

pipx install venvmgr

Usage

Create a venv named example using venvmgr

$ vm create example

Use it using venvmgr

$ vm python --venv example code.py

The associations between files and venvs are recorded so that

$ vm python code.py

now uses the example venv. We might want to install packages in this venv, e.g.,

$ vm pip --venv example scipy

We now might want to check the venvs:

$ vm ls
example
created at 2023-07-03 12:07:48.872147
activate: source /home/user/.venvmgr/example/bin/activate
used by: /home/user/code.py

For more information, try vm ls -l.

Lastly, we might want to activate this venv

$ vm activate example

Project details


Download files

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

Source Distribution

venvmgr-0.1.2.tar.gz (5.8 kB view hashes)

Uploaded Source

Built Distribution

venvmgr-0.1.2-py3-none-any.whl (6.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page