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.5.tar.gz
(17.0 kB
view details)
Built Distributions
Kyoukai-1.5.5-py3.5.egg
(50.5 kB
view details)
Kyoukai-1.5.5-py3-none-any.whl
(22.6 kB
view details)
File details
Details for the file Kyoukai-1.5.5.tar.gz
.
File metadata
- Download URL: Kyoukai-1.5.5.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17afd12d1a3c16f834431050ee99f6bfabdc20274b9a6268183563032e1c6f36 |
|
MD5 | 1789dca73f3b6b98a0ff92bda167722f |
|
BLAKE2b-256 | 9f05d3716d769a97ff93935f892d17e77b75559c19ddf402577ddfc39271c61e |
File details
Details for the file Kyoukai-1.5.5-py3.5.egg
.
File metadata
- Download URL: Kyoukai-1.5.5-py3.5.egg
- Upload date:
- Size: 50.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0047de0faf76403c0b90513e247d5f1bcefa369f0aa7eafdc8358dc14884e97 |
|
MD5 | 1447f52f64da028031ca653b4e62fa9d |
|
BLAKE2b-256 | d86231828b681235924d0fc6f826804d6c22fa7612e76690dd391c846e1bf231 |
File details
Details for the file Kyoukai-1.5.5-py3-none-any.whl
.
File metadata
- Download URL: Kyoukai-1.5.5-py3-none-any.whl
- Upload date:
- Size: 22.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3227bf45677ea493c1e4ce65c080b3018b51956d091b68a0782f2e619852ded8 |
|
MD5 | 3b8f118792bf9a317de940255486d03c |
|
BLAKE2b-256 | 0dbd7d8f54ef4f3271701220efcda11f8e6f2fce56981ffe93d6f0fcb964ed92 |