Index.py 实现了 ASGI3 接口,并使用 Radix Tree 进行路由查找。是最快的 Python web 框架之一。一切特性都服务于快速开发高性能的 Web 服务。
- 大量正确的类型注释
- 灵活且高效的路由系统
- 能作用于任意路由及路由分组上的路由中间件
- 适用于中间件与视图的依赖注入
- 可视化 API 接口与在线调试
- 支持 Server-sent events 与 WebSocket
- 自带一键部署命令 (基于 uvicorn 与 gunicorn)
- 可使用任何标准 ASGI 生态
Install
pip install -U index.py
或者直接从 Github 上安装最新版本(不稳定)
pip install -U git+https://github.com/abersheeran/index.py@setup.py
中国大陆内的用户可从 Gitee 上的镜像仓库拉取
pip install -U git+https://gitee.com/abersheeran/index.py.git@setup.py
Metadata
Release files for index.py 0.21.16
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| index_py-0.21.16.tar.gz | 43.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| index_py-0.21.16-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 98.4 kB
Release files / index_py-0.21.16.tar.gz
| Download URL | index_py-0.21.16.tar.gz |
|---|---|
| Size | 43.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b5d0113cb3092aa6cf399e27e7d9e846af87c64e2848ade2e05081925c23352
|
|
BLAKE2b-256 checksum How to use checksums |
5b47ead9fefd2b4972688de47fc65b68fce8e802241166d87ca524ba2241ab8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.5 Darwin/23.0.0
|
Release files / index_py-0.21.16-py3-none-any.whl
| Download URL | index_py-0.21.16-py3-none-any.whl |
|---|---|
| Size | 54.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a5fd7d1d8da58976ca0a94e389985e4556b660c067c8a506ec7567b057b9a578
|
|
BLAKE2b-256 checksum How to use checksums |
1bf8045978a279983af3f7fc9666337b7138300ac78d8fcfc1968fbbe549665f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.5 Darwin/23.0.0
|