Download Latest Version v4.5.2 source code.tar.gz (2.7 MB)
Email in envelope

Get an email when there's a new version of happyx

Home / v2.3.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2023-08-19 468 Bytes
v2.3.0 source code.tar.gz 2023-08-19 777.0 kB
v2.3.0 source code.zip 2023-08-19 836.5 kB
v2.3.0.tar.gz 2023-08-19 777.0 kB
v2.3.0.zip 2023-08-19 836.5 kB
Totals: 5 Items   3.2 MB 0

Changelog

  • [Python binds] Compatibility with Jinja2 (#112) ```py from happyx import new_server, setup_jinja2, TemplateResponse

setup_jinja2('./my/dir/with/jinja2/templates') app = new_server()

@app.get('/') def home(): return TemplateResponse('index.html') - [`Python binds`] static files (#111)py from happyx import new_server, static

app = new_server() app.static('/static', directory='dir') ```

Source: README.md, updated 2023-08-19