Fastack
⚡ Fastack makes your FastAPI much easier 😎
fastack is an intuitive framework based on FastAPI, for creating clean and easy-to-manage REST API project structures. It's built for FastAPI framework ❤️
WARNING 🚨
This is an early development, lots of changes with each release. Also this is an experimental project, as I'm currently studying asynchronous environments.
FYI, this isn't the only intuitive framework project I've made. I've also made with different framework bases, including:
- zemfrog - Based on Flask framework
- falca - Based on Falcon framework
Features 🔥
- Project layout (based on cookiecutter template)
- Pagination support
- Provide a
Controllerclass for creating REST APIs - Provides command line to manage app
- Support to access
app,request,state, andwebsocketglobally! - and more!
Plugins 🎉
List of official plugins:
- fastack-sqlmodel - SQLModel integration for fastack.
- fastack-migrate - Alembic integration for fastack.
- fastack-mongoengine - MongoEngine integration for fastack.
- fastack-cache - Caching plugin for fastack
Installation 📦
pip install -U fastack
Example 📚
Create a project
fastack new awesome-project
cd awesome-project
Install pipenv & create virtual environment
pip install pipenv && pipenv install && pipenv shell
Run app
fastack runserver
Documentation 📖
For the latest documentation, see the feature/docs branch.
Build the latest documentation locally:
mkdocs serve
Or alternatively, you can visit https://fastack.readthedocs.io/en/latest/
Tests 🔬
Run tests with tox, maybe you need to install python version 3.7, 3.8, 3.9, and 3.10 first.
tox
Metadata
Release files for fastack 4.5.0
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 |
|---|---|---|---|---|
| fastack-4.5.0.tar.gz | 22.0 kB | Without provenance | Details for fastack-4.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fastack-4.5.0-py3-none-any.whl | Python 3 | none | any | Details for fastack-4.5.0-py3-none-any.whl |
Total release size: 47.9 kB
Release files / fastack-4.5.0.tar.gz
| Download URL | fastack-4.5.0.tar.gz |
|---|---|
| Size | 22.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d09f55bedb8fc280fe45b507d0b85a790c94493f5ca2a62c1fb5b7a2bd6643ff
|
|
BLAKE2b-256 checksum How to use checksums |
570cd85c98c49d76fa59a09198b05690eaaccda76f31b8e806d48a4612e03e08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.8.2 Linux/5.11.0-1028-azure
|
Release files / fastack-4.5.0-py3-none-any.whl
| Download URL | fastack-4.5.0-py3-none-any.whl |
|---|---|
| Size | 25.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
65aab90c9ff680dbed30f8011dd73150a43986ba61d5fe159058d05e1eff1f2c
|
|
BLAKE2b-256 checksum How to use checksums |
c3d6fdffb2aef0dd64d4d91aa47264144b519bcb851a0aebf49a16ea2800d8b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.8.2 Linux/5.11.0-1028-azure
|
Security for fastack 4.5.0
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.