A Unix-style Python web framework: filesystem routing, flat files, messages and cron, with CGI's simplicity at modern speed.

0 downloads

dbbasic-web/CHANGELOG.md
Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/dbbasic-web.git
HTTPS
https://gitstable.com/git/askrobots/dbbasic-web.git
SSH
ssh://git@gitstable.com:2222/askrobots/dbbasic-web.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

Dan Quellhorst Replace multipart parser with stdlib-only implementation eb957a2 9 months, 2 weeks ago History
CHANGELOG.md · 1.4 KB · 40 lines

Changelog

All notable changes to dbbasic-web will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.1.0] - 2025-10-12

Added

  • Initial release of dbbasic-web
  • Filesystem-based routing (no route tables or decorators)
  • Hierarchical API handlers (one file handles multiple sub-routes)
  • Integration with dbbasic-tsv for TSV-based storage
  • Integration with dbbasic-queue for background jobs
  • Integration with dbbasic-pipe for message bus
  • Integration with dbbasic-sessions for authentication
  • Built-in WebSocket support with room management
  • Server-Sent Events (SSE) support
  • Jinja2 template rendering
  • Static file serving
  • Flat-file storage helpers
  • ASGI application with uvicorn
  • CLI commands: serve, worker, shell, init
  • Example API handlers (hello.py, user.py)
  • Comprehensive documentation in README.md

Performance

  • ~4000 requests/second (40x faster than traditional CGI)
  • Direct module imports without middleware overhead
  • Efficient filesystem-based routing

Philosophy

  • Restores Unix principles lost in modern web frameworks
  • No Redis or SQL database required
  • TSV files for storage, queues, and streams
  • Each module under 500 lines of code
  • Total framework ~8000 lines vs 200k+ for Django

[0.1.0]: https://github.com/dbbasic/dbbasic-web/releases/tag/v0.1.0