ling-web
↓ 986 downloadsSessions, flash, templates, CSRF, static files — Flask-style
Keywords web, flask, sessions, csrf, templates
lingfu install ling-webREADME
ling-web
A Flask-style layer on ling-http for stateful web apps.
Functionality
Manages server-side sessions, one-time flash messages, template rendering, and CSRF protection.
Features
- SQLite-backed sessions (revocable — delete the row, the session is dead)
- HttpOnly + SameSite cookies with sliding expiry
- minijinja templates (Jinja2 syntax)
- Constant-time CSRF tokens and route-grouping blueprints
Applications
Portals, dashboards, and login/register forms that need sessions and CSRF.