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.0.tar.gz (24.8 kB view details)

Uploaded Source

File details

Details for the file Kyoukai-1.9.0.tar.gz.

File metadata

  • Download URL: Kyoukai-1.9.0.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Kyoukai-1.9.0.tar.gz
Algorithm Hash digest
SHA256 9219a71a573e2843b92471756a1cb450f5e01e314e362ca3bb96ff08597eab0e
MD5 be0ff9a2999aafa14eb5df44fd7c963e
BLAKE2b-256 944167c7393b278001855b1525864c692d58a190f9cb768814d54e84a12051b7

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