Wrapper for python-venv
Find a file
2024-12-24 23:13:32 -06:00
LICENSE Initial commit 2024-12-24 22:55:02 -06:00
pyv pyv 2024-12-24 23:13:32 -06:00
pyv_comp.bash pyv 2024-12-24 23:13:32 -06:00
README.md pyv 2024-12-24 23:13:32 -06:00

pyv

Wrapper for python-venv

Install

git clone https://git.tavo.one/tavo/pyv.git ~/.local/share/pyv
printf 'for f in pyv pyv_comp.bash ; do if [ -f ~/.local/share/pyv/$f ] ; then . ~/.local/share/pyv/$f ; fi ; done' >> ~/.bashrc

Usage

pyv [ls|new|rm|enter|exit] myvenv

pyv new v1    # create venv named v1
pyv new v2    # create venv named v2
pyv ls        # list venvs
pyv rm v2     # delete venv named v2
pyv enter v1  # enter venv named v1
pyv exit      # exit current venv

Uninstall

rm -rf ~/.local/share/pyv
# Also remove corresponding line in ~/.bashrc