Skip to main content

A fast, asynchronous web framework for Python 3.5+

Project description

Coverage CircleCI

Kyōkai is a fast asynchronous Python server-side web framework. It is built upon asyncio and the Asphalt framework 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 kyoukai import Kyoukai, HTTPRequestContext

kyk = Kyoukai("example_app")

@kyk.route("/")
async def index(ctx: HTTPRequestContext):
    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.9.2.post1.tar.gz (26.3 kB view details)

Uploaded Source

Built Distributions

Kyoukai-1.9.2.post1-py3.5.egg (83.4 kB view details)

Uploaded Source

Kyoukai-1.9.2.post1-py3-none-any.whl (37.0 kB view details)

Uploaded Python 3

File details

Details for the file Kyoukai-1.9.2.post1.tar.gz.

File metadata

File hashes

Hashes for Kyoukai-1.9.2.post1.tar.gz
Algorithm Hash digest
SHA256 ff4f8f905189d806d25dda2ad1716ff881f746eaf8a91ee268373abb47d89bb6
MD5 af881170be6e84ff66b8265e62f2a4cb
BLAKE2b-256 4fe8151c24d6e43aa3bae051a744be8b506022a0b4a695d94b07272e4cafec81

See more details on using hashes here.

File details

Details for the file Kyoukai-1.9.2.post1-py3.5.egg.

File metadata

File hashes

Hashes for Kyoukai-1.9.2.post1-py3.5.egg
Algorithm Hash digest
SHA256 0e7a62593a1a6221de94a736191826b9b37a93de3a90841351ed4cb2ee33a436
MD5 aa9e0044d848c335262fd8abd051ce4e
BLAKE2b-256 5c522bdc446f2f1f80d57079c58fc058ce25dac77c17386280cdb5079b35fc1e

See more details on using hashes here.

File details

Details for the file Kyoukai-1.9.2.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for Kyoukai-1.9.2.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 989763bc227975857017a92852e5293749eed91ad3fa2f688156b663a0b6c6d8
MD5 b973637822bb472f1b8e0b2452bfe6cd
BLAKE2b-256 ae1003f6fbd4108fd30122d4600ded18f0bb55de1e60bf66f5d852859aa99149

See more details on using hashes here.

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