Skip to main content

A fast, asynchronous web framework for Python 3.5+

Project description

Kyōkai is a fast asynchronous Python server-side web framework. It is built upon asyncio and libuv for an extremely fast web server.

Setting up a Kyōkai app is incredibly simple. Here’s a simple server that echoes your client’s headers:

import json
from kyokai import Kyokai, Request, Response

kyk = Kyokai("example_app")

@kyk.route("/")
async def index(request: Request):
    return json.dumps(request.headers), 200, {"Content-Type": "application/json"}

kyk.run()

For more information, see the docs at https://mirai.veriny.tf.

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

Kyoukai-1.7.0.tar.gz (20.3 kB view hashes)

Uploaded Source

Built Distributions

Kyoukai-1.7.0-py3.5.egg (64.3 kB view hashes)

Uploaded Source

Kyoukai-1.7.0-py3-none-any.whl (28.2 kB view hashes)

Uploaded Python 3

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