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.3.tar.gz
(16.7 kB
view details)
Built Distributions
Kyoukai-1.5.3-py3.5.egg
(90.3 kB
view details)
Kyoukai-1.5.3-py3-none-any.whl
(38.6 kB
view details)
File details
Details for the file Kyoukai-1.5.3.tar.gz
.
File metadata
- Download URL: Kyoukai-1.5.3.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8df458a2a3d122bf97594c1fa360f05b01228deaf1946a0bfd6d61809050016 |
|
MD5 | 60dfb72ecff296000836dbf1f23852dc |
|
BLAKE2b-256 | a779cb3f3c138dbf3b6f4235874f0d46cf73b62ba160604c14a8ab6aa0a07855 |
File details
Details for the file Kyoukai-1.5.3-py3.5.egg
.
File metadata
- Download URL: Kyoukai-1.5.3-py3.5.egg
- Upload date:
- Size: 90.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9664e214be51fd85724e0a0246f96230bf2dcff16cdce86604cf42337c19fb9b |
|
MD5 | a241a36faa2b46b387acf11a4491fe4e |
|
BLAKE2b-256 | 9aa3398cca9d94f841e1ef2f5e8f02fa36a3da2d68bf8c436056f0a73f8d5daf |
File details
Details for the file Kyoukai-1.5.3-py3-none-any.whl
.
File metadata
- Download URL: Kyoukai-1.5.3-py3-none-any.whl
- Upload date:
- Size: 38.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 331beab9e7c2400186dea59ac9b0c9c507eb9ac82a7b0f2d9eba0a77141b4f92 |
|
MD5 | 6cda23f45889bb17ef629e6b37c86fad |
|
BLAKE2b-256 | 46636733c4100dbaeb4e823fda015f7a75cd4ba2f60fb692ddadb0cc547cfd42 |