Metadata-Version: 2.1
Name: index.py
Version: 0.6.10
Summary: An easy-to-use asynchronous web framework based on ASGI.
Home-page: https://github.com/abersheeran/index.py
Author: Aber Sheeran
Author-email: abersheeran@qq.com
License: Apache 2.0
Platform: UNKNOWN
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.6.0
Description-Content-Type: text/markdown
Requires-Dist: gunicorn
Requires-Dist: uvicorn
Requires-Dist: starlette
Requires-Dist: requests
Requires-Dist: aiofiles
Requires-Dist: jinja2
Requires-Dist: watchdog
Requires-Dist: python-multipart
Requires-Dist: pyyaml
Requires-Dist: pydantic
Requires-Dist: contextvars ; python_version < "3.7"


# index.py

[![Github Action Test](https://github.com/abersheeran/index.py/workflows/Test/badge.svg)](https://github.com/abersheeran/index.py/actions?query=workflow%3ATest)

一个基于 ASGI 协议 web 框架。[Index.py 文档](https://abersheeran.github.io/index.py/)

- 非常简单的部署
- 支持真正的热重载
- 无需手动绑定路由 (文件系统映射URI)
- 更好用的挂载 ASGI/WSGI 应用
- 更好用的 background tasks

PHP 对我而言，只有两个优点——URI-文件系统映射和热重载。Index.py 是对这两个特性在 Python 里实现的一个探索。

## Install

```bash
pip install -U index.py
```

或者直接从 Github 上安装最新版本（不稳定）

```bash
pip install -U git+https://github.com/abersheeran/index.py
```

## Hello world

```python
from index.view import View


class HTTP(View):

    def get(self):
        return "hello world"
```


