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.6.tar.gz
(25.1 kB
view details)
Built Distributions
Kyoukai-1.8.6-py3.5.egg
(76.8 kB
view details)
Kyoukai-1.8.6-py3-none-any.whl
(33.8 kB
view details)
File details
Details for the file Kyoukai-1.8.6.tar.gz
.
File metadata
- Download URL: Kyoukai-1.8.6.tar.gz
- Upload date:
- Size: 25.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 450aa1e95e41e473330dfc87e0fb86d5c44f3e25e31272850c780a62fe0bf569 |
|
MD5 | f40a0a46549b1db36af3e9100d642f56 |
|
BLAKE2b-256 | be359a4692fcecd7882ac0f77a42278dd62b9e681aacc7e095baf0f2ee86f4f6 |
File details
Details for the file Kyoukai-1.8.6-py3.5.egg
.
File metadata
- Download URL: Kyoukai-1.8.6-py3.5.egg
- Upload date:
- Size: 76.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4775f69108fc13e54123e3d66a48e48b3943aeff6833a2c2a870369bad1cc724 |
|
MD5 | f87f4e2eee5f24d85f800d87079bcc18 |
|
BLAKE2b-256 | 1cdde9773771c278b9e0cee8ab5b89322705b617c160aa3934b93170a6b13964 |
File details
Details for the file Kyoukai-1.8.6-py3-none-any.whl
.
File metadata
- Download URL: Kyoukai-1.8.6-py3-none-any.whl
- Upload date:
- Size: 33.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2f2f506cedb697a1577d0fccfdd1bd2e03931d198f2c2013b2a27d9b5a646d3 |
|
MD5 | 981968bf82bc7beb71eba2341f3fe7e7 |
|
BLAKE2b-256 | c4ae2f97647f92881ac1e5eb5dcaf5c71067e146f6a8c9b275e2b9af0ef14ced |