the tiny class-based Python API framework
- Minimal surface — build web APIs with plain classes
- Route methods like
GET,POST,DELETEdirectly - No decorators, no magic (unless you want it)
- Works with standard Python tooling
- Simple af
import kit
app = kit.New()
class Hello:
def GET(self, request, name):
return kit.json_response({"hello": name})
def POST(self, request):
return kit.json_response({"message": "Posted!"})
app.route("/hello/{name}", Hello.GET)
app.route("/hello", Hello.POST)
if __name__ == "__main__":
app.run()pip install kit-pyOpen an issue or just say hi. This project is young, and it’s designed to stay tiny, readable and hackable.
