An easy-to-use asynchronous web framework based on ASGI.
Project description
index.py
一个基于 ASGI 协议 web 框架。Index.py 文档
- 非常简单的部署
- 支持真正的热重载
- 无需手动绑定路由 (文件系统映射URI)
- 更好用的挂载 ASGI/WSGI 应用
- 更好用的 background tasks
- 以及 starlette 框架的一切功能
Install
pip install -U index.py
或者直接从 Github 上安装最新版本(不稳定)
pip install -U git+https://github.com/abersheeran/index.py
Hello world
from index.view import View
class HTTP(View):
def get(self):
return "hello world"
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
index.py-0.6.9.tar.gz
(20.8 kB
view hashes)
Built Distribution
Close
Hashes for index.py-0.6.9-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 848e01ed6ffee654b3b187664288db41f62d5dbc07f47ed9fd9656f7ba62906c |
|
MD5 | 1f8e0e35181ff54d49c55de48dbebacd |
|
BLAKE2b-256 | 8446c7b647611a831f902891185afc83e4f1e4b50ad413e44256c531bfd23ef1 |