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
Release history Release notifications | RSS feed
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.5.4.tar.gz
(16.8 kB
view details)
Built Distributions
Kyoukai-1.5.4-py3.5.egg
(50.3 kB
view details)
Kyoukai-1.5.4-py3-none-any.whl
(22.4 kB
view details)
File details
Details for the file Kyoukai-1.5.4.tar.gz
.
File metadata
- Download URL: Kyoukai-1.5.4.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f1f9b5c0dac95417b91fe54a5a958bf4cb61e50b8736e146014d3fba3a1aa2f |
|
MD5 | 7701a3dc069d6c2b385288988cd01d63 |
|
BLAKE2b-256 | af04b4231bfc17f788c14283c1a2ac8756e2369c00b52593c4aceb4d60e51c2b |
File details
Details for the file Kyoukai-1.5.4-py3.5.egg
.
File metadata
- Download URL: Kyoukai-1.5.4-py3.5.egg
- Upload date:
- Size: 50.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9ebea96ceb0519d0500d9bf223b1d2160e2cd8559832364ffc504bf48e07e93 |
|
MD5 | 63de614d74b75dd8845547b1cf06ac18 |
|
BLAKE2b-256 | 60640a0158cb21033c473294575e651c85084ec3fcc2105fdbe3976589d080a1 |
File details
Details for the file Kyoukai-1.5.4-py3-none-any.whl
.
File metadata
- Download URL: Kyoukai-1.5.4-py3-none-any.whl
- Upload date:
- Size: 22.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5475e2fa2ab7e7f8718ac3ac10867eb932947ef47cb70c22b0cf57d3fe0de1e7 |
|
MD5 | 122ea91e78c9fc8d2ef09438257931e0 |
|
BLAKE2b-256 | a749cda56d4a1ed48e82c7fbc5f71fdbf71305d602918c64c3cbaeeb5fba7eac |