EZTea Web Framework
Project description
EZTea Web Framework
pip install eztea
Usage
from validr import T
from eztea.web import Application, ResponderContext, Router
router = Router()
@router.get("/")
def hello(
ctx: ResponderContext,
name: str = T.str.default("world"),
) -> T.dict(hello=T.str):
return {"hello": name}
app = Application()
app.include_router(router)
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
eztea-0.1.4.tar.gz
(16.5 kB
view hashes)
Built Distribution
eztea-0.1.4-py3-none-any.whl
(21.8 kB
view hashes)