A Python Package CookieCutter Template
This Python package CookieCutter template is a boilerplate for my own personal projects. It should be useful for micro to small sized Python packages intended for light automation and scripting tasks.
- Python 3.6, 3.7, 3.8 (pyenv recommended)
- CookieCutter
$ pip install -U cookiecutter
$ cookiecutter gh:aubricus/cookiecutter-python-package
This CookieCutter generates a Python Package boilerplate.
- Supports a
.donotrender
extension to declaritively exempt files from CookieCutter
- Outputs a sensible README.md using the Standard README format.
- Outputs lightweight CHANGELOG.md, CONTRIBUTING.md
- Outputs a LICENSE file generated by GitHub API
- Outputs a CODE_OF_CONDUCT file generated by GitHub API
- Outputs a sensible .gitignore from gitignore.io
- Outputs lightweight GitHub issue & pull-request templates
- Supports pytest & coverage for testing
- Supports tox and simple CI with GitHub Actions
- Supports Poetry for dependencies, packaging, and publishing
- Supports Pdoc3 for documentation generation with support for GitHub Pages
- Supports Black & pydocstyle for formatting & linting
- Supports Click & klak for local project automation
- Python 3.6, 3.7, 3.8
- MacOS: Tested locally, Python 3.6.9 via pytest
- Linux: Ubuntu Latest, Python 3.6, 3.7, 3.8 via GitHub Actions
- Windows: Not tested.
☹️
This template was generated with cookiecutter/cookiecutter and aubricus/cookiecutter-cookiecutter!
Issues & pull-requests accepted. See the CONTRIBUTING.md
Small note: If editing the README.md, please conform to the standard-readme specification.
MIT © Aubrey Taylor 2020