Wred-embedded

A tiny, composable Python backend for JavaScript web apps. View the documentation and source here.

pip install wred
from wred import App

app = App()

@app.route("/")
async def index(request):
    return {"hello": "world"}

# run with `peregrine app:app`