Skip to main content

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

index.py-0.5.1.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

index.py-0.5.1-py2.py3-none-any.whl (25.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file index.py-0.5.1.tar.gz.

File metadata

  • Download URL: index.py-0.5.1.tar.gz
  • Upload date:
  • Size: 21.7 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

Hashes for index.py-0.5.1.tar.gz
Algorithm Hash digest
SHA256 6183ca53ffce174bf5e48c83a20b4cfc70a862242765f3a2392626de3514debd
MD5 a4a45a15420752c0f940f5cbb180b802
BLAKE2b-256 bf29912cb299bff039492a863b54ad7e2b98c6f8b2cd775d952e1e67bb024850

See more details on using hashes here.

File details

Details for the file index.py-0.5.1-py2.py3-none-any.whl.

File metadata

  • Download URL: index.py-0.5.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 25.9 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

Hashes for index.py-0.5.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8231dfc6f9051f4f3269dff24406a897986f22dd4153c56cb57f5f6d462f6965
MD5 9bcd61b29dd7e677d717b4c89c682511
BLAKE2b-256 5c474ba7e3ca0366a4da5469d0a1eb33618c2c8627d31527cb1d2ca3eafb464e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page