Copier template for pure Python libraries. Adapted from the copier template by the LIAC.
As simple as possible. No magic.
Adapted from copier-pylib.
- Hatch for packaging.
- pytest for testing.
- tox for automation of test runners and other stuff.
- Sphinx for documentation
- GitHub Actions for continuous integration and publishing to PyPI.
- mypy for type checks.
- ruff for style checks and automatic Python code formatting.
- pre-commit for optional automation of style checks.
Install copier:
pip install copier
Generate a Python package (make sure to create the directory of the project first):
copier copy gh:mlederbauer/copier-template path/to/destination
Create a new repository on github and run
git init
git remote add origin git@github.com:USERNAME/PROJECTNAME.git
git branch -M main
git add .
git commit -m "Initial commit"
git push -u origin main