Skip to main content

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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiko-0.2.1.tar.gz (8.8 kB view details)

Uploaded Source

Built Distributions

aiko-0.2.1-py3.6.egg (19.5 kB view details)

Uploaded Source

aiko-0.2.1-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

Details for the file aiko-0.2.1.tar.gz.

File metadata

  • Download URL: aiko-0.2.1.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for aiko-0.2.1.tar.gz
Algorithm Hash digest
SHA256 94c68b44d5ed2d84cd7d9d26756aff5625b73e9c804f378a897e1d9c727831b5
MD5 3096200c493ad5c157ba3a34b7358c13
BLAKE2b-256 306e0c67a986e559311d036caa1d0c5133f7754ed7a88b545c1cef3060c29289

See more details on using hashes here.

Provenance

File details

Details for the file aiko-0.2.1-py3.6.egg.

File metadata

  • Download URL: aiko-0.2.1-py3.6.egg
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for aiko-0.2.1-py3.6.egg
Algorithm Hash digest
SHA256 25f58aebf4d3e811af0079d52dc8aa561b8ccf05896034a9eeae91de9cc0e2ed
MD5 2ee75d4f5dadd293be90fdfd829de890
BLAKE2b-256 7e15fc078b595f154342e8330645a63f9310699fd65a15ed4c07cb026c789fec

See more details on using hashes here.

Provenance

File details

Details for the file aiko-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for aiko-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7ab4fbea513a9f032a7270137abda989c511411ff40f7f7529227cf9578eb8c7
MD5 323a01d80be6081a54ec48766ad19a43
BLAKE2b-256 5b9dfd3ab1e7a7cb57685a5aa0eec324045046571bfe0bf1e57b7d553dc09a76

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page