The Elegance of
Minimalism.
The batteries-included Python web framework for building production-ready, reactive apps — with zero dependencies and zero custom JavaScript.
Less to learn. More to ship.
One dependency-free package gives you the full stack — so you write product code, not glue code.
Zero Dependencies
Built entirely on Python's standard library. No npm, no dependency hell, fewer CVEs — just pip install asok.
Zero-JS Reactivity
Reactive directives and real-time Live Components over native WebSockets — without writing a line of JavaScript.
Batteries Included
ORM, auth, admin, forms, background jobs and auto-documented APIs — all in the box. Focus on your product, not integration.
Secure by Default
CSRF protection, template sandboxing, auto-sanitization and security headers — configured out of the box, on day one.
Built-in Superpowers
Everything you need to build professional applications, included in the standard library.
Native SPA Router
True Single-Page Application navigation with zero frontend bundlers. Use asok-router, asok-link, and route hooks.
Multi-Engine ORM
Supports SQLite, PostgreSQL, and MySQL. High-performance querying with auto-migrations, eager loading, and soft deletes.
Enterprise API
Build industrial-grade JSON APIs with Rate Limiting, CORS, and auto-generated OpenAPI 3.0 documentation at /docs.
Secure Auth
Native sessions, PBKDF2 hashing, and granular RBAC with request.user.can().
Optional Admin
Django-style admin interface—auto-generated from models. Add with --admin flag. Roles, Inlines, CSV Export.
Vector Search
Build AI apps with native semantic search. Store embeddings and query with .nearest() without any AI database.
HTML Streaming
Lightning-fast FCP with chunked delivery. Browser starts rendering your page while the server is still generating content.
Background Workers
Built-in worker and scheduler. Run tasks asynchronously in a local thread pool, or scale with a Redis task queue.
Auto-Prefetch
Instant page transitions. Asok intelligently prefetches links on hover, making your site feel like a local application.
Email / SMTP
Send emails with built-in SMTP support. HTML templates, attachments, and async delivery without external services.
Distributed Caching
Memory, file, or Redis-based caching. Speed up operations with automatic TTL, cache keys, and template fragment caching.
i18n / Locales
Multi-language support with JSON locale files. Auto-detect user language and switch seamlessly between translations.
Asok Directives
Build interactive UIs with zero custom JS. Use asok-state and asok-on for instant reactivity.
Powerful CLI
Generators, migrations, seeders, and dev server. Scaffold routes, models, and components with a single command.
Tailwind v4
Native Tailwind CSS integration with zero npm setup. Watch mode and production minification built-in.
Animations
Svelte-style page transitions and component animations. Add asok-transition attribute for instant polish.
Dual-Core Async
Run under ASGI (Uvicorn) or WSGI (Gunicorn). Supports async page controllers, async middleware, and non-blocking ORM queries.
Cloud Storage
Seamless upload handling. Store uploaded files locally or stream directly to Amazon S3 (or any S3-compatible cloud storage).
Built For Everyone
From rapid prototypes to production apps, Asok adapts to your needs.
Startups & MVPs
Ship your idea in hours, not weeks. Scaffold, build and deploy from a single CLI — perfect for rapid prototyping and getting to market fast.
AI & ML Projects
Built-in vector search, HTML streaming for real-time output, and WebSocket components for interactive AI experiences. No external AI database needed.
Internal Tools
Admin interface, forms, authentication, and RBAC out of the box. Build dashboards, CRMs, and backoffice tools without reinventing the wheel.
Learning & Teaching
Clean codebase, zero dependencies, and simple architecture. Perfect for understanding web framework internals or teaching Python web development.
API Backends
Auto-generated OpenAPI docs, built-in rate limiting, and CORS support. Create REST APIs with automatic validation and documentation.
Real-time Apps
Native WebSockets, reactive components, and HTML streaming. Build dashboards, chat apps, and collaborative tools without complex JavaScript frameworks.
Compare. Conquer.
See how Asok eliminates boilerplate and lets you focus on what matters.
01. Routing Paradigm
02. Zero-Config ORM
makemigrations needed.03. Auto-Documented APIs
Reactive by Nature.
Two approaches to reactivity, both without writing JavaScript.
Client-side Reactivity
No WebSocket • Pure HTML
WebSocket Sync
Real-time • Multi-user
Same result, different approach. Both require zero JavaScript from you.
Ready to build the
impossible?
Join developers worldwide building fast, secure, and reactive apps with Asok.