fastack

Experimental framework built on FastAPI which combines some of the features of top python web frameworks !

MIT License

Downloads
315
Stars
4
Committers
4

Fastack

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
Package Rankings
Top 16.46% on Pypi.org
Related Projects