Skip to main content

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

Metadata

Release files for simplestapi 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simplestapi 0.1.5
File Size Uploaded
simplestapi-0.1.5.tar.gz 8.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for simplestapi 0.1.5
File Interpreter ABI Platform
simplestapi-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 19.7 kB

Release files / simplestapi-0.1.5.tar.gz

Download URL simplestapi-0.1.5.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7bc164801cb2a029aac263239fa16a1bc80996125f1eb0cb55741b29480c40cd
BLAKE2b-256 checksum
How to use checksums
a02c5dab60901b77391edb8929125520dabc48ddafd136b772cab14ef47220ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.0 CPython/3.11.3 Linux/6.2.10-200.fc37.x86_64

Release files / simplestapi-0.1.5-py3-none-any.whl

Download URL simplestapi-0.1.5-py3-none-any.whl
Size 10.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
03c1b95dbcb4489d84786283137e6509661972bea59e56b2d3e454c632ef67a6
BLAKE2b-256 checksum
How to use checksums
1055cef09b7446af9ce06cf6f4300778eac5aae0da94447955d62532797cb321
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.0 CPython/3.11.3 Linux/6.2.10-200.fc37.x86_64

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page