https://github.com/xvoland/bash-python-venv
VENV functions for Python3 to create a virtual environment to manage Python packages for different projects
https://github.com/xvoland/bash-python-venv
bash bash-function bash-functions bash-scripting python-3 python3 venv-python
Last synced: 10 months ago
JSON representation
VENV functions for Python3 to create a virtual environment to manage Python packages for different projects
- Host: GitHub
- URL: https://github.com/xvoland/bash-python-venv
- Owner: xvoland
- License: mit
- Created: 2021-10-22T18:10:49.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-22T19:03:32.000Z (about 4 years ago)
- Last Synced: 2024-04-14T05:44:05.946Z (over 1 year ago)
- Topics: bash, bash-function, bash-functions, bash-scripting, python-3, python3, venv-python
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
```bash
source bash-python-venv.sh
```
or
```bash
echo 'source bash-python-venv.sh' >> ~/.bashrc
```
or
```bash
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
## License
Author [Vitalii Tereshchuk](https://dotoca.net). © 2021, MIT license.
Or welcome to my YouTube channel
