Skip to content

arivictor/kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kit logo

kit.py

the tiny class-based Python API framework


🐱 Why kit?

  • Minimal surface — build web APIs with plain classes
  • Route methods like GET, POST, DELETE directly
  • No decorators, no magic (unless you want it)
  • Works with standard Python tooling
  • Simple af

🚀 Example

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()

📦 Installation

pip install kit-py

💬 Feedback

Open an issue or just say hi. This project is young, and it’s designed to stay tiny, readable and hackable.

About

the tiny python api framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages