Metadata-Version: 2.1
Name: index.py
Version: 0.5.0
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: aiofiles
Requires-Dist: jinja2
Requires-Dist: watchdog
Requires-Dist: python-multipart
Requires-Dist: pyyaml


# index.py

An easy-to-use asynchronous web framework based on ASGI. Support hot overload (real).

- [Index.py Document](https://abersheeran.github.io/index.py/)

## Install

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

Or get the latest version on Github

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

## Quick use

Make a folder that name is `views` and create `index.py` in it.

Write the following in `index.py`

```python
from index.view import View


class HTTP(View):

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

Execute the command `index-cli serve` in the same directory as `views`.

And then, try to change the content in `index.py`, refresh your browser, the page content will be changed.

Index.py can automatically update your Python file changes to the server, manage your index.py service, maybe you only need ftp.


