中文 | English
一个基于 ASGI 协议的高性能 web 框架。Index.py 文档
- 灵活且高效的路由系统 (基于 Radix Tree)
- 自动解析请求 & 生成文档 (基于
pydantic
) - 可视化 API 接口 (基于
ReDoc
, 针对中文字体优化) - 现代化的测试组件 (基于
pytest
与requests
) - 非常简单的部署 (基于
uvicorn
与gunicorn
) - 挂载 ASGI/WSGI 应用 (比
starlette
更易用) - 更好用的 background tasks
- 可使用任何可用的 ASGI 生态
pip install -U index.py
或者直接从 Github 上安装最新版本(不稳定)
pip install -U git+https://github.com/abersheeran/index.py@setup.py