An easy-to-use asynchronous web framework based on ASGI.
Project description
index.py
一个基于 ASGI 协议的高性能 web 框架。Index.py 文档
你也可以直接查看 Example 来学习如何使用(文档偶尔会滞后一到两天,但 example 被纳入了自动化测试,所以会始终保持最新版)
- 无需手动绑定路由 (文件系统映射URI)
- 自动解析请求 & 生成文档 (基于 pydantic)
- 可视化 API 接口 (基于 ReDoc, 针对中文字体优化)
- 现代化的测试组件 (基于 pytest 与 requests)
- 非常简单的部署 (基于 uvicorn 与 gunicorn)
- 支持真正的热重载
- 挂载 ASGI/WSGI 应用 (比 starlette 更易用)
- 更好用的 background tasks
- 可使用任何可用的 ASGI 生态
Install
pip install -U index.py
或者直接从 Github 上安装最新版本(不稳定)
pip install -U git+https://github.com/abersheeran/index.py
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.11.0.tar.gz
(31.6 kB
view hashes)
Built Distribution
index.py-0.11.0-py3-none-any.whl
(39.0 kB
view hashes)
Close
Hashes for index.py-0.11.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43fa99b5c79fe0d27c36e6de637b7760e4d55f1e24a4c1a16e584da7b528fbab |
|
MD5 | 54f71f4182da0bd1c94d61e70b7a5191 |
|
BLAKE2b-256 | 69c6fa1d6a6c0928fc89a1e5bed205bddecb837ba107c2238c4a83192e90b395 |