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.1.tar.gz
(20.4 kB
view details)
Built Distributions
Kyoukai-1.7.1-py3.5.egg
(64.4 kB
view details)
Kyoukai-1.7.1-py3-none-any.whl
(28.3 kB
view details)
File details
Details for the file Kyoukai-1.7.1.tar.gz
.
File metadata
- Download URL: Kyoukai-1.7.1.tar.gz
- Upload date:
- Size: 20.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 484e912941729f3760bb75999c0c7105ecd3bbb4e950c74aef6b657fda2eea4a |
|
MD5 | 96c0886c7807cf2feb97b88b34f3c84e |
|
BLAKE2b-256 | ffcc025043cdc28d230c196459ec7bae3d86a145ef3da9f34f46512394419452 |
File details
Details for the file Kyoukai-1.7.1-py3.5.egg
.
File metadata
- Download URL: Kyoukai-1.7.1-py3.5.egg
- Upload date:
- Size: 64.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e0ce1f93385edce558bd584a7de7bf41dac3e1d80544a4d04d69bfdc18c3afa |
|
MD5 | 2f5e24e352885279e933e9cec9107762 |
|
BLAKE2b-256 | baadf90216442fd70107052141f8bf8b93238dac34719b383661d7fbc8c1b53b |
File details
Details for the file Kyoukai-1.7.1-py3-none-any.whl
.
File metadata
- Download URL: Kyoukai-1.7.1-py3-none-any.whl
- Upload date:
- Size: 28.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c0dea4505bb231b72f20fa515972efc2a995948d0e0372a6278424283937816 |
|
MD5 | 3cd579ec1ad3dedbcc7dfe7f9cdb65b4 |
|
BLAKE2b-256 | 1f70574e0b7532cb43715fb4904f90b93087c8f63ff584ef7aeee0c37c9dc440 |