Tiny Python Web Framework
DBBasic Suite v1.0 - Complete office productivity apps. Free forever.
Why DBBasic Suite? - β Free Forever - No subscription, no registration, no credit card - β Portable Files - HTML-based documents work everywhere - β No Lock-In - Your data is yours, readable in any browser - β Privacy-First - Local storage, no cloud required, no tracking - β Lightweight - 20MB per app vs 3GB+ for Office
What's Included: - DBBasic Writer - Word processor with templates, formatting, find/replace - DBBasic Spreadsheet - Formulas (SUM, AVERAGE), calculations, cell editing - DBBasic Slides - Presentations with edit/present modes, PDF export
macOS 10.15+ | 60MB total download | Full details & installation β | License Terms
DBBasic is a radically simple Python web framework that proves modern web development doesn't need 300,000 lines of codeβit delivers file-based routing, TSV database storage with ACID transactions, stateless authentication, async job queues, video processing, and deployment tools in under 8,000 total lines by rejecting ORM complexity, embracing plain-text data that you can grep and version with git, and treating Unix philosophy as a feature not a limitation, achieving 5,000+ requests/second on $5 VPS hardware while Django struggles at 50 req/s because sometimes the best way forward is remembering what CGI-bin got right: one file per endpoint, transparent data, three-second deployments via rsync, and the radical idea that you should be able to cat your database and actually understand what you're looking at.
A collection of lightweight Python web framework components. Each module is under 500 lines and uses TSV files for storage.

User session management for authentication - PyPI | Source - Signed cookies, no storage - Stateless authentication - Full Specification

TSV-based job queue for async tasks - PyPI | Source - Retry logic with exponential backoff - Cron-based workers - Full Specification

Structured logging with rotation - PyPI | Source - TSV format, auto-compression - Searchable with grep/Python API - Full Specification

Unix-style user management for web apps - PyPI | Source - Mirrors /etc/passwd, /etc/shadow, /etc/group - Dual API (Unix + web-friendly) - Full Specification

Unix mail + SMTP delivery - PyPI | Source - Local mail (mbox format) - SMTP queue integration - Full Specification

Auto-discovery admin interface - PyPI | Source - Zero-config module discovery - Auto-generated CRUD for TSV tables - Full Specification

Git-native form builder with TSV storage - PyPI | Source - Visual drag-drop form builder - TSV storage for forms and responses - Auto-discovered admin interface - CSV export and analytics - Full Specification

Command-line tool for creating and managing apps - PyPI | Source - Standard directory structure - Module command auto-discovery - Full Specification

BBS/ANSI-style manual page viewer - Source - Zero dependencies (Python stdlib only) - 256-color ANSI output with syntax highlighting - Works with less/pager for keyboard navigation - Full Specification
Event sourcing and event bus - ~80 lines - Append-only event log, replay state - Full Specification
REST API helpers - ~100 lines - Pagination, filtering, sorting - DRY conveniences
File upload handling - ~200 lines - Storage management - Upload validation
AI integration (Claude, OpenAI) - ~300 lines - Summarization, moderation - Response caching
WebSocket and SSE support - ~300 lines - Real-time updates - Broadcasting
Job orchestration and scheduling - ~200 lines - Scheduled tasks - Retry logic
State machine workflows - ~400 lines - Multi-step processes - State transitions
Data export functionality - ~100 lines - CSV, JSON, XML export - Bulk downloads
Data import and ETL - ~150 lines - CSV, JSON parsing - Data validation
Automated backups - ~100 lines - Scheduled backups - Restore functionality
Analytics and metrics - ~100 lines - Usage tracking - Reports
Query helpers and filters - ~50 lines - Common query patterns - SQL shortcuts
SSO and compliance - Authentication integrations - Audit logging - GDPR tools
Multi-tenant support - Subdomain routing - Tenant isolation - Data partitioning
Financial ledger - Double-entry bookkeeping - Transaction tracking - Reports
Video processing - Upload and encoding - Streaming support - Thumbnail generation
Rich text editing - WYSIWYG interface - Markdown support - Media embedding
Plugin system - Extension architecture - Plugin management - Hooks and filters
Report generation - Scheduled reports - PDF/Excel output - Dashboards
Multi-channel notifications - Email, SMS, push - Notification queue - User preferences
User customization - Themes and preferences - A/B testing - Feature flags
Stream processing - Real-time data streams - Event processing - Aggregations
Actor model concurrency - Message passing - Isolated state - Supervision
Load balancing and scaling - Request distribution - Session affinity - Auto-scaling
Database schema browser - Visual schema explorer - Relationship viewer - Query builder
Static site generation - Markdown to HTML - Asset pipeline - Fast static sites
Tiny: Each module under 500 lines Simple: TSV files, no complex dependencies Composable: Mix and match what you need Readable: Code you can understand and modify
Total Framework Size: ~8,000 lines (compare to Django: 300K, Rails: 200K)
Currently in active development. Core modules (tsv, pipe, web) are complete.
Building in order of real-world need, not feature completeness.
pip install dbbasic_tsv
pip install dbbasic_web
# ... add modules as needed
Or install a bundle:
pip install dbbasic # Core essentials
pip install dbbasic[full] # Everything
Each module is independently versioned and maintained.
Looking for contributors who value simplicity over features.
Transform data structures into beautiful UIs for any Python web framework - GitHub - Data-driven UI rendering - Works with Flask, Django, FastAPI - Separates logic from presentation
AI-powered git commit message generation - GitHub - Analyzes git diffs with GPT - Auto-commit with generated messages - AI-powered file modifications
Scalable AI-powered Discord bot - GitHub - GPT-3.5-Turbo and GPT-4 integration - Plugin-oriented architecture - Docker deployment support
Last Updated: October 2025