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()
Python 3.8+ is required.
$ pip install git+https://github.com/ZeroIntensity/view.py
python3 -m pip install -U view.py
> py -3 -m pip install -U view.py