/view.py

Lightning-fast, modern web framework.

Primary LanguagePythonMIT LicenseMIT

view.py logo

The Batteries-Detachable Web Framework

Warning

view.py is in very early stages and not yet considered to be ready for production. If you would like to follow development progress, join the discord. For contributing to view.py, please see our CONTRIBUTING.md

from view import new_app, h1

app = new_app()

@app.get("/")
async def index():
    return h1("Hello, view.py!")

app.run()

Installation

Python 3.8+ is required.

Development

$ pip install git+https://github.com/ZeroIntensity/view.py

Linux/macOS

python3 -m pip install -U view.py

Windows

> py -3 -m pip install -U view.py