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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file simplestapi-0.1.5.tar.gz.

File metadata

  • Download URL: simplestapi-0.1.5.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.0 CPython/3.11.3 Linux/6.2.10-200.fc37.x86_64

File hashes

Hashes for simplestapi-0.1.5.tar.gz
Algorithm Hash digest
SHA256 7bc164801cb2a029aac263239fa16a1bc80996125f1eb0cb55741b29480c40cd
MD5 160a9e309db26ab5d1992254d7938811
BLAKE2b-256 a02c5dab60901b77391edb8929125520dabc48ddafd136b772cab14ef47220ff

See more details on using hashes here.

File details

Details for the file simplestapi-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: simplestapi-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.0 CPython/3.11.3 Linux/6.2.10-200.fc37.x86_64

File hashes

Hashes for simplestapi-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 03c1b95dbcb4489d84786283137e6509661972bea59e56b2d3e454c632ef67a6
MD5 dd2173357e22504d84140a31d5c3a29b
BLAKE2b-256 1055cef09b7446af9ce06cf6f4300778eac5aae0da94447955d62532797cb321

See more details on using hashes here.

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