https://github.com/s-celles/cookiecutter-python-package
[WIP] Cookiecutter template for a Python package with Ruff, MyPy, pytest, pre-commit, Bandit, Safety, GitHub Actions, Dependabot...
https://github.com/s-celles/cookiecutter-python-package
ai-generated-code cookiecutter package python
Last synced: 7 months ago
JSON representation
[WIP] Cookiecutter template for a Python package with Ruff, MyPy, pytest, pre-commit, Bandit, Safety, GitHub Actions, Dependabot...
- Host: GitHub
- URL: https://github.com/s-celles/cookiecutter-python-package
- Owner: s-celles
- Created: 2025-07-11T15:39:47.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-07-21T16:31:50.000Z (7 months ago)
- Last Synced: 2025-07-21T18:46:27.666Z (7 months ago)
- Topics: ai-generated-code, cookiecutter, package, python
- Language: Python
- Homepage: https://s-celles.github.io/cookiecutter-python-package
- Size: 267 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# Cookiecutter Python Package
A modern [cookiecutter](https://github.com/cookiecutter/cookiecutter) template for Python packages with best practices built-in.
[](https://github.com/s-celles/cookiecutter-python-package/actions/workflows/test.yml)
[](https://s-celles.github.io/cookiecutter-python-package/)
[](https://github.com/pre-commit/pre-commit)
[](https://conventionalcommits.org)
[](https://www.python.org/downloads/)
[](https://opensource.org/licenses/MIT)
[](https://github.com/cookiecutter/cookiecutter)
[](https://github.com/astral-sh/ruff)
[](https://github.com/PyCQA/bandit)
[](https://github.com/python/mypy)
[](https://github.com/s-celles/cookiecutter-python-package/issues)
[](https://github.com/s-celles/cookiecutter-python-package/stargazers)
[](https://github.com/s-celles/cookiecutter-python-package/releases)
## ๐ Quick Start
```bash
# Install cookiecutter
pip install cookiecutter
# Create your package
cookiecutter https://github.com/s-celles/cookiecutter-python-package.git
```
That's it! You'll be prompted to customize your package with modern tools like **Ruff**, **pytest**, **MyPy**, and choice of **build backends** (setuptools, hatchling, flit, pdm).
## โจ What You Get
- ๐ฆ **Modern packaging** with `pyproject.toml` (PEP 621)
- ๐๏ธ **Build backend choice** (setuptools, hatchling, flit, pdm)
- ๐งช **Testing** with pytest and coverage
- ๐ **Code quality** with Ruff, MyPy, Bandit, Safety
- ๐ **CI/CD** with GitHub Actions
- ๐ **Documentation** with MkDocs or Sphinx
- ๐ ๏ธ **CLI support** with Typer, Click, or Argparse
- ๐ณ **Container support** with Docker and dev containers
## ๐ Documentation
**For complete documentation, examples, and detailed guides:**
### ๐ **[Visit Documentation Site โ](https://s-celles.github.io/cookiecutter-python-package)**
The documentation includes:
- **[Quick Start Guide](https://s-celles.github.io/cookiecutter-python-package/getting-started/quick-start/)** - Step-by-step setup
- **[Template Options](https://s-celles.github.io/cookiecutter-python-package/configuration/template-options/)** - All configuration choices
- **[Tools Overview](https://s-celles.github.io/cookiecutter-python-package/tools/overview/)** - Detailed tool explanations
- **[Examples](https://s-celles.github.io/cookiecutter-python-package/getting-started/examples/)** - Real-world usage patterns
- **[Build Backends Guide](https://s-celles.github.io/cookiecutter-python-package/tools/build-backends/)** - Choose the right backend
- **[Contributing Guide](https://s-celles.github.io/cookiecutter-python-package/development/contributing/)** - Help improve the template
## ๐ค Contributing
We welcome contributions! See our [Contributing Guide](https://s-celles.github.io/cookiecutter-python-package/development/contributing/) for details.
## ๐ License
MIT License - see [LICENSE](LICENSE) file for details.