Cookiecutter template for Sanic Applications
- Swagger support via sanic-openapi
Docker
anddocker-compose
SupportGunicorn
App runner setup- Conditional requirements.txt management
- JSON logging for
Docker
containers - Wrapper for
sanic
App Configuration via environment variable prefix - Default
health
andstatus
API blueprints tox
Environment Setup withpy35
,py36
py37
- Unit testing via
pytest
andpytest-sanic
- CI support for
travis
- Github Issue and PR templates
- Mupltiple Runner options
- Gunicorn
- Sanic Dev mode with Auto Reload
- With Sanic Workers and no Dev mode
- With Async Support
- Documentation via
sphinx
- Automated Release version management using
bumpversion
- Automated change log management using
gitchangelog
- Python based Build Support and Make file based build support
- Editor Config support
Install the latest Cookiecutter if you haven't installed it yet (this requires Cookiecutter 1.6.0 or higher):
pip install -U cookiecutter
Generate a Python package project:
cookiecutter https://github.com/harshanarayana/cookiecutter-sanic.git
- Authentication Support (JWT, Basic Auth)
- Rate Limiter
- Caching Support via Redis/memcached
- ORM/Database Integration
- Automated Release Management
- Automated Change Log Generator
This template enables automated release version management and changelog generated via the following projects.