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.6.tar.gz
(16.8 kB
view details)
Built Distributions
Kyoukai-1.5.6-py3.5.egg
(50.0 kB
view details)
Kyoukai-1.5.6-py3-none-any.whl
(22.3 kB
view details)
File details
Details for the file Kyoukai-1.5.6.tar.gz
.
File metadata
- Download URL: Kyoukai-1.5.6.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f23d51b88cf4095a80dbae2eee4d4ddd9071cf90b8452ef836a53642f7ce21c4 |
|
MD5 | 8d0f594cff0855634eab635f079ca463 |
|
BLAKE2b-256 | 7b7a39525c35d97d12003811358bada92ce3631827c8150575f0490727bb361d |
File details
Details for the file Kyoukai-1.5.6-py3.5.egg
.
File metadata
- Download URL: Kyoukai-1.5.6-py3.5.egg
- Upload date:
- Size: 50.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f09e63eb0ffe74e333b704b6ed989ff6dc2016b70d8b3925f9b09021ff1b895c |
|
MD5 | 3bc2defc47dbcdc10759e52151811e42 |
|
BLAKE2b-256 | ac51fbc7c8574db39e940a2cff34e2ecde61669637a7e11bea7bb5347d74eac4 |
File details
Details for the file Kyoukai-1.5.6-py3-none-any.whl
.
File metadata
- Download URL: Kyoukai-1.5.6-py3-none-any.whl
- Upload date:
- Size: 22.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 367f0edc4be5607594f9f2fe7d58bc9ddc5dc8ff47b62856e992e1072f738d00 |
|
MD5 | 88f9d7e4fc1bdba4738d2436216a68d1 |
|
BLAKE2b-256 | 80073684350ca0daec6e48be1144d17f0877731b77d8805fc60c76da4fb1c210 |