Cookiecutter template for Sanic Applications
- Swagger support via sanic-openapi
Dockeranddocker-composeSupportGunicornApp runner setup- Conditional requirements.txt management
- JSON logging for
Dockercontainers - Wrapper for
sanicApp Configuration via environment variable prefix - Default
healthandstatusAPI blueprints toxEnvironment Setup withpy35,py36py37- Unit testing via
pytestandpytest-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 cookiecutterGenerate 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.