fastack is an intuitive framework based on FastAPI
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fastack-4.5.0.tar.gz.
File metadata
- Download URL: fastack-4.5.0.tar.gz
- Upload date:
- Size: 22.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.8.2 Linux/5.11.0-1028-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d09f55bedb8fc280fe45b507d0b85a790c94493f5ca2a62c1fb5b7a2bd6643ff
|
|
| MD5 |
4f8d1ee5ce241d19a9de9177cd21b670
|
|
| BLAKE2b-256 |
570cd85c98c49d76fa59a09198b05690eaaccda76f31b8e806d48a4612e03e08
|
File details
Details for the file fastack-4.5.0-py3-none-any.whl.
File metadata
- Download URL: fastack-4.5.0-py3-none-any.whl
- Upload date:
- Size: 25.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.8.2 Linux/5.11.0-1028-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65aab90c9ff680dbed30f8011dd73150a43986ba61d5fe159058d05e1eff1f2c
|
|
| MD5 |
0ea682d9715bfb853a9e248a13f13f1f
|
|
| BLAKE2b-256 |
c3d6fdffb2aef0dd64d4d91aa47264144b519bcb851a0aebf49a16ea2800d8b7
|