simplestapi

SimpleAPI is a minimalistic, unopinionated web framework for Python, inspired by FastAPI & Flask


Keywords
api, python, rest-api, wsgi-framework
License
MIT
Install
pip install simplestapi==0.1.2

Documentation

SimpleAPI

banner SimpleAPI is a minimalistic, unopinionated web framework for Python, inspired by FastAPI & Flask.

SimpleAPI is a WSGI compliant framework.

This is a hobby project made for educational purposes because I want to try learning writing a web server framework.

So, this is obviously not meant for production environments.

Development of SimpleAPI is tracked at this GitHub project.

Installation

pip install simplestapi

Usage

An example of using SimpleAPI:

Copy the following code to a file called app.py

from simpleapi import SimpleAPI

app = SimpleAPI()

@app.get("/hello")
def hello():
    return "Hello, world!"

Run it with gunicorn app:app

More examples can be found in tests

Documentation

https://adhamsalama.github.io/simpleapi


django_kofta