SimpleAPI
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
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| simplestapi-0.1.5.tar.gz | 8.9 kB | Without provenance | Details for simplestapi-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| simplestapi-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for simplestapi-0.1.5-py3-none-any.whl |
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
|
Security for simplestapi 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.