Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simplestapi-0.1.5.tar.gz (8.9 kB view hashes)

Uploaded Source

Built Distribution

simplestapi-0.1.5-py3-none-any.whl (10.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page