No project description provided
Project description
aiko is a base asyncio’s lightweight web application framework. It is designed to make koa api.
Installing
Install by code
$ git clone https://github.com/zeromake/aiko
$ cd aiko
$ python setup.py install
A Simple Example
import asyncio
from aiko import App
loop = asyncio.get_event_loop()
app = App(loop)
def hello(ctx, next_call):
return "Hello, World!"
app.use(hello)
if __name__ == "__main__":
app.run(host="0.0.0.0", port=5000)
$ curl http://127.0.0.1:5000
Hello, World!
Links
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
aiko-0.1.0-py3.6.egg
(18.2 kB
view hashes)
aiko-0.1.0-py3-none-any.whl
(18.7 kB
view hashes)