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.8.5.tar.gz
(24.9 kB
view details)
Built Distributions
Kyoukai-1.8.5-py3.5.egg
(76.2 kB
view details)
Kyoukai-1.8.5-py3-none-any.whl
(33.6 kB
view details)
File details
Details for the file Kyoukai-1.8.5.tar.gz
.
File metadata
- Download URL: Kyoukai-1.8.5.tar.gz
- Upload date:
- Size: 24.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10c4ef1ff08c18fc88f731df29a910fa3aab0b6d58ec487ddbb143d28f697848 |
|
MD5 | 02989db0e37bd4d73a8011158d9721f4 |
|
BLAKE2b-256 | e04945426c8753362c57a73227ed1a610ffe4bc2c84c0ffb9ac141dcfd8e8fa5 |
File details
Details for the file Kyoukai-1.8.5-py3.5.egg
.
File metadata
- Download URL: Kyoukai-1.8.5-py3.5.egg
- Upload date:
- Size: 76.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96ca47f209b0be37a39d8927f0d29c6e036231770a8ae425ffc03cb38b7d1f93 |
|
MD5 | 17091fcd293d13b7b7fd3de1a243d091 |
|
BLAKE2b-256 | ab0354894b454e99da385d74cb881e6cbe0f8ef15fcc5ccbdb0915553fd72500 |
File details
Details for the file Kyoukai-1.8.5-py3-none-any.whl
.
File metadata
- Download URL: Kyoukai-1.8.5-py3-none-any.whl
- Upload date:
- Size: 33.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40f3c537845894fca4e8c4807cc42b424b85e8d36464ca6279fcd2e0f4acb0f4 |
|
MD5 | 9b2576dfb4d175da445245fb12c323ab |
|
BLAKE2b-256 | 2c121eb2355dd097561ac8385fc743f0d023d06d90ed83eabda8384789da82f6 |