Skip to content

timofey-neyenburg/microframework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microframework

Microframework is a small pet project of mine made to deepen my understanding of ASGI-based web-app frameworks.

Usage example

import uvicorn from mf import Microframework, Request, Response MF = Microframework() @MF.get("/items") async def handle_items(req: Request): return Response({"message": "ok"}) @MF.post("/items") async def add_items(req: Request): return Response({"message": "added"}, status=201) if __name__ == "__main__": uvicorn.run( MF, host="localhost", port=8080, )

About

ASGI Microframework. Made for learning purposes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages