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 the Asphalt framework 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 kyoukai import Kyoukai, HTTPRequestContext
kyk = Kyoukai("example_app")
@kyk.route("/")
async def index(ctx: HTTPRequestContext):
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.9.2.post1.tar.gz
(26.3 kB
view details)
Built Distributions
Kyoukai-1.9.2.post1-py3.5.egg
(83.4 kB
view details)
File details
Details for the file Kyoukai-1.9.2.post1.tar.gz
.
File metadata
- Download URL: Kyoukai-1.9.2.post1.tar.gz
- Upload date:
- Size: 26.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff4f8f905189d806d25dda2ad1716ff881f746eaf8a91ee268373abb47d89bb6 |
|
MD5 | af881170be6e84ff66b8265e62f2a4cb |
|
BLAKE2b-256 | 4fe8151c24d6e43aa3bae051a744be8b506022a0b4a695d94b07272e4cafec81 |
File details
Details for the file Kyoukai-1.9.2.post1-py3.5.egg
.
File metadata
- Download URL: Kyoukai-1.9.2.post1-py3.5.egg
- Upload date:
- Size: 83.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e7a62593a1a6221de94a736191826b9b37a93de3a90841351ed4cb2ee33a436 |
|
MD5 | aa9e0044d848c335262fd8abd051ce4e |
|
BLAKE2b-256 | 5c522bdc446f2f1f80d57079c58fc058ce25dac77c17386280cdb5079b35fc1e |
File details
Details for the file Kyoukai-1.9.2.post1-py3-none-any.whl
.
File metadata
- Download URL: Kyoukai-1.9.2.post1-py3-none-any.whl
- Upload date:
- Size: 37.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 989763bc227975857017a92852e5293749eed91ad3fa2f688156b663a0b6c6d8 |
|
MD5 | b973637822bb472f1b8e0b2452bfe6cd |
|
BLAKE2b-256 | ae1003f6fbd4108fd30122d4600ded18f0bb55de1e60bf66f5d852859aa99149 |