Skip to main content

An easy-to-use asynchronous web framework based on ASGI.

Project description

index.py

Github Action Test

一个基于 ASGI 协议 web 框架。Index.py 文档

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

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

Install

pip install -U index.py

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

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

Hello world

from index.view import View


class HTTP(View):

    def get(self):
        return "hello world"

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.7.7.tar.gz (21.4 kB view hashes)

Uploaded Source

Built Distribution

index.py-0.7.7-py2.py3-none-any.whl (25.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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