Template repo for Python projects using module architecture
main.py: code goes heretests/: put tests in here
GitHub Actions for PyPi Distribution
.github/workflows/python-publish.yml: Update with project name
Optional
FUNDING.yml: Update this to your own, or delete the file completely
python3 -m venv venv
source venv/bin/activate
pip freeze > requirements.txt
pip install -e .
Consider the following features for hygiene and basic application security:
-
branch protection
-
Dependency Graph (Settings > Security | Advanced Security > Dependency Graph)
-
Dependabot Alerts (Settings > Security | Advanced Security > Dependabot | Dependabot Alerts)
-
Automatically delete head branches