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.6.0.tar.gz
(17.9 kB
view details)
Built Distributions
Kyoukai-1.6.0-py3.5.egg
(53.1 kB
view details)
Kyoukai-1.6.0-py3-none-any.whl
(23.8 kB
view details)
File details
Details for the file Kyoukai-1.6.0.tar.gz
.
File metadata
- Download URL: Kyoukai-1.6.0.tar.gz
- Upload date:
- Size: 17.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1138a6551dd0d658007a55e613fcf15b92d3175d2d2ce79ee828a9f0910cdd7b |
|
MD5 | 3139ecf1ca9bbc874e0ec15cbfd3a5ac |
|
BLAKE2b-256 | 2045172c23d1b5ea89ff29264842c3910e09e618c711c152553c46205de9eea4 |
File details
Details for the file Kyoukai-1.6.0-py3.5.egg
.
File metadata
- Download URL: Kyoukai-1.6.0-py3.5.egg
- Upload date:
- Size: 53.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3c5217c1b77bf922fe0c6b037ea92623e2d9dc3b6e6729b4545ca101350f273 |
|
MD5 | d3cdc6ed6689517637c0723258742d50 |
|
BLAKE2b-256 | 88cd76d53b21267de34ef192f610e0e8d223794c21afe3f9042e46ca42a307e9 |
File details
Details for the file Kyoukai-1.6.0-py3-none-any.whl
.
File metadata
- Download URL: Kyoukai-1.6.0-py3-none-any.whl
- Upload date:
- Size: 23.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6237bfb5c061f77a4202f5a821d34a6636521a0cf9d18acbd2edc64920240142 |
|
MD5 | 527da4f967590e0a57800331158582cc |
|
BLAKE2b-256 | d88af0717f8ed04ca1022e2a428221fac796452a1110d517960873307c50d2d6 |