Cookiecutter Fastapi
A Cookiecutter template for fastapi projects, inspired by cookiecutter-django.
✨📚✨ Read the full documentation
Features
- fastapi-users for users authentication and management
- Pydantic for settings management
- Include a cli tool built with typer to simplify project management
- Pre-commit integration included by default
- Tortoise-orm and aerich database setup by default but switchable
- Limit-offset pagination helpers included
- Sending emails using aiosmtplib or Amazon SES
- Optional integration with sentry for error logging
- Production Dockerfile included
- Integration with arq for background tasks
- Optional setup of HTML templates rendering using jinja2
- Procfile for deploying to heroku
- Implement the Health Check API patterns on your fastapi application
ORM/ODM options
Usage
Install the cookiecutter package:
pip install cookiecutter black isort
Note: Black and isort are used to format your project right after it has been generated.
Now run it against this repo:
cookiecutter https://github.com/Tobi-De/cookiecutter-fastapi
You'll be prompted for some values. Provide them, then a fastapi project will be created for you.
Contributing
Contributions are very welcome. To learn more, see the Contributor Guide.
License
Distributed under the terms of the MIT license, Cookiecutter Fastapi is free and open source software.
Issues
If you encounter any problems, please file an issue along with a detailed description.
Metadata
Release files for cookiecutter-fastapi 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cookiecutter_fastapi-0.1.3.tar.gz | 4.9 kB | Without provenance | Details for cookiecutter_fastapi-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cookiecutter_fastapi-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for cookiecutter_fastapi-0.1.3-py3-none-any.whl |
Total release size: 9.7 kB
Security for cookiecutter-fastapi 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.