Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Python Helper Scripts

Simple helper scripts for managing python projects.

It was only tested in a ubuntu-based linux disto.

setupvenv

Creates a virtual enviroment at the current folder as ".venv", then install all dependencies from "requirements.txt" if there is such file. It has the following options:

setupvenv -x  // exits the current venv
setupvenv -r  // removes the venv
setupvenv -h  // displays help

pipsave

Uses pip to install dependencies, but also add them to the requirements.txt (creating if doesn't exist).

Installation

Installer Script

git clone https://github.com/titoco3000/python-helper-scripts.git && cd python-helper-scripts && ./install.sh && cd .. && rm -rf python-helper-scripts/

Manual

  • Download this repository
  • Move the files setupvenv and pipsave to ~/scripts/
  • open .bashrc in the terminal with: nano ~/.bashrc
  • add to file:
alias setupvenv="source ~/scripts/setupvenv.sh"
alias pipsave="~/scripts/pipsave.sh"
  • save and exit with ctrl+x
  • source ~/.bashrc

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages