Skip to content
/ vman Public

Utility for managing Python virtual environments.

License

Notifications You must be signed in to change notification settings

vshulcz/vman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vman

vman is a utility for managing Python virtual environments. It allows you to create and activate virtual environments in a specified directory easily.

Features

  • Create and activate a virtual environment with a default or custom name.
  • Automatically add the virtual environment directory to .gitignore.
  • Easily activate the virtual environment in your current shell session.

Installation

To install vman globally, clone this repository and run the installation script:

git clone https://github.com/vshulcz/vman.git
cd vman
sudo ./install.sh

Usage

Create and activate a virtual environment with the default name

vman

Create and activate a virtual environment with a custom name

vman -n my_custom_venv

Create and activate a virtual environment without modifying .gitignore

vman -g

Update (recreate) a virtual environment

vman -u

Remove a virtual environment

vman -r

Deactivate the currently activated virtual environment

vman -d

Example of usage

$ vman -n myenv
Virtual environment 'myenv' not found. Creating a new one...
Virtual environment 'myenv' created.
Created .gitignore and added 'myenv/'.
Virtual environment 'myenv' activated.
$ vman
Virtual environment 'venv' already exists. Activating...
Virtual environment 'venv' activated.

License

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Issues

If you encounter any issues, please open an issue on GitHub.

Releases

No releases published

Packages

No packages published