import view
from view.components import h1
app = view.new_app()
@app.get("/")
async def index():
return h1("Hello, view.py!")
app.run()
Fear not! view.py is currently in a very high alpha stage of development, and always looking for new contributors. If you're interested, you can take a look at the issues tab or CONTRIBUTING.md.
CPython 3.8+ is required.
python3 -m pip install -U view.py
> py -3 -m pip install -U view.py