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.7.0.tar.gz
(20.3 kB
view details)
Built Distributions
Kyoukai-1.7.0-py3.5.egg
(64.3 kB
view details)
Kyoukai-1.7.0-py3-none-any.whl
(28.2 kB
view details)
File details
Details for the file Kyoukai-1.7.0.tar.gz
.
File metadata
- Download URL: Kyoukai-1.7.0.tar.gz
- Upload date:
- Size: 20.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c4ac7b60a3ca59e389f9a7315059bdb522ac92da18439875e490f4fb980276d |
|
MD5 | 06a7d8e297491f8687e4642dd117ca61 |
|
BLAKE2b-256 | bc836d88b89a595aee8b70d3a0e6406818a2c06aa4ca1a56f4e10a88243a9035 |
File details
Details for the file Kyoukai-1.7.0-py3.5.egg
.
File metadata
- Download URL: Kyoukai-1.7.0-py3.5.egg
- Upload date:
- Size: 64.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e47292b3eaec1675ded8c9b2bd752587f253cb1ba4b6d98b1132d58048625645 |
|
MD5 | dc2f7abe0f7521f8f75ab487e027cdbe |
|
BLAKE2b-256 | 9406c5e75575d7293a65b125b7d4dc1cf71ba37c4de66a64a811f065233632fa |
File details
Details for the file Kyoukai-1.7.0-py3-none-any.whl
.
File metadata
- Download URL: Kyoukai-1.7.0-py3-none-any.whl
- Upload date:
- Size: 28.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a50902d4b4fdea728f2e11e9aaae38271da5d6953ac249a07a82dba6a82d54d6 |
|
MD5 | 839c10b039769a1433d33113cffa64c1 |
|
BLAKE2b-256 | b51d3b9f62465ec2cd0cca60b00774d3e267e9a8c0e08933ea697a22e8d1126d |