Skip to content

v0.0.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@adhamsalama adhamsalama released this 05 Jun 16:51
· 40 commits to main since this release

This is the initial release of SimpleAPI, a simple, unopinionated Python web framework inspired by FastAPI and Flask. So far it doesn't have any third-party dependencies.

As the name suggests, SimpleAPI is simple to use.

Here is a quick example.

from simpleapi import SimpleAPI, Request, JSONResponse

app = SimpleAPI()

@app.get("/hello")
def hello(request: Request):
    """Returns hello world in JSON format"""
    return JSONResponse(message={"hello": "world"})

app.run(port=8000)

SimpleAPI is not production-ready. I am making it only for educational purposes.
I will add more features to hopefully to the point where it has most of the features modern web frameworks have, and maybe one day improve it enough to become a production-ready framework.

What's Changed

New Contributors

Full Changelog: https://github.com/adhamsalama/simpleapi/commits/v0.1