xvoland / bash-python-venv

VENV functions for Python3 to create a virtual environment to manage Python packages for different projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bash-python-venv

Bash library which provides functions for >= Python3 to create a virtual environment to manage Python packages for different projects in bash

Installation

Bash utility functions can be used by simply sourcing the library script file to your own script. To access all the functions within the bash-utility library, you could import the main bash file ~/.bashrc or ~/.zshrc as follows.

source bash-python-venv.sh

or

echo 'source bash-python-venv.sh' >> ~/.bashrc

or

echo 'source bash-python-venv.sh' >> ~/.zshrc

Usage

General Usage: >> venv [install|create|activate|deactivate]

  • install- install virtualenv using pip
  • create - create virtual environment
  • activate - before start installing or using packages in virtual environment need to activate it
  • deactivate - deactivate virtual environment

Donation & Sponsors

I’ll continue to work and improve the script features regardless of the outcome of funding, because it's rewarding to see that people are using it and it does the job for them. Still I would appreciate your support in covering some of the expenses with the domain hosting and programming hours which are taken from my family time.

Donate any amount for my projects https://paypal.me/xvoland

Click here to lend your support to Extractor and make a donation!

License

Author Vitalii Tereshchuk. © 2021, MIT license. Or welcome to my YouTube channel

About

VENV functions for Python3 to create a virtual environment to manage Python packages for different projects

License:MIT License


Languages

Language:Shell 100.0%