Python Cheatsheet

Setup python

  • Create venv
  • Install dependency packages

Create venv

pip install virtualenv
python -m venv venv
source venv/Scripts/activate

Install dependencies

pip install -r requirements.txt

Package Manager

# add new package
poetry add package-name
# build and publish your package
poetry build
poetry publish
Last Updated:
Contributors: misostack