fastack is an intuitive framework based on FastAPI


Keywords
fastapi, python
License
MIT
Install
pip install fastack==4.5.0

Documentation

Fastack

Fastack

Fastack makes your FastAPI much easier 😎

PyPI PyPI - Status PyPI - Python Version PyPI - Downloads PyPI - License

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:

Features 🔥

  • Project layout (based on cookiecutter template)
  • Pagination support
  • Provide a Controller class for creating REST APIs
  • Provides command line to manage app
  • Support to access app, request, state, and websocket globally!
  • and more!

Plugins 🎉

List of official plugins:

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