A simple script to quickly set up a python project with:
- standard structure:
src
anddocs
directoriesCHANGELOG.md
,LICENSE
andREADME.md
files
- Python-specific
.gitignore
entries - Pypi package config file
pyproject.toml
- Static code analysis script
analyze_code
(Windowsbat
and POSIXsh
) - Documentation requirements file and scripts (Windows
bat
and POSIXsh
) - Optional Black formatter settings for VSCode (requires Microsoft's Black extension 'Black Formatter' for VSCode)
This script attempts to produce projects compliant with naming conventions :
This is implemented by :
- Recommending one word names
- Enforcing lowercase names
- Enforcing dot-separated prefix namespace for distribution/project names
- Enforcing hyphen-separated distribution/project names
- Enforcing underscore-separated package names