An easy-to-use asynchronous web framework based on ASGI.
Project description
index.py
An easy-to-use asynchronous web framework based on ASGI. Support hot overload (real).
Install
pip install -U index.py
Or get the latest version on Github
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
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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file index.py-0.3.8.tar.gz.
File metadata
- Download URL: index.py-0.3.8.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
036df19ee7b1b6e90b0f5ae2559cee54d156c479605b2a18422a438bbe395972
|
|
| MD5 |
99dc4c861cb029e2f0323b634c776d4f
|
|
| BLAKE2b-256 |
eaa1501f8ea0dd11c0d095bb2fa403c7242eced0d53e2b43110d9d35ef7eb645
|
File details
Details for the file index.py-0.3.8-py2.py3-none-any.whl.
File metadata
- Download URL: index.py-0.3.8-py2.py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b18ccdee9bfc364aff57efaa84ed6bad41ece01559bbc46f5ebd99ff3b889fa3
|
|
| MD5 |
386fd2a55619caf65b61bd726a258d98
|
|
| BLAKE2b-256 |
d76079db9f0bb70418bade75afc6e0118fd0aea212bb5342674da5ca01ffa3c6
|