Introduction

DEV IN PROGRESS

AIOBoot is a lightweight asynchronous application framework, built on top of famous python libraries:

  • starlette - Lightweight ASGI framework/toolkit
  • click - Command line interface toolkit
  • injector - Dependency injection framework

Requirements

Python 3.7+

Installation

$ pip install aioboot

Example

app.py:

from aioboot.applications import Application
from aioboot.responses import JSONResponse

app = Application()


@app.get("/")
async def test():
    return JSONResponse({"success": True})


if __name__ == "__main__":
    app.run()

Run the application:

$ python app.py