The Elegance of
Minimalism.
Build production-ready, highly interactive web applications in Python with zero custom JavaScript. Single-package installation. Instant startup. Zero configuration.
Why Choose Asok?
Built on the belief that simplicity and transparency matter more than feature abundance.
Standard Library First
Built on Python's standard library. No npm conflicts, reduced security vulnerabilities, and faster updates.
Code Transparency
Readable Python codebase. Understand your entire stack without digging through layers of abstractions.
Batteries Included
ORM, Auth, Admin, Forms, API documentation. Focus on your product, not library integration.
Built for Performance.
Fast startup, optimized routing, and production-ready security features.
Ultra-Fast
Optimized routing, compiled template engine, and efficient request handling for maximum performance.
Secure by Default
CSRF protection, template sandbox, automatic sanitization, and security headers configured out of the box.
Live Components
Build reactive, real-time interfaces via native WebSockets with server-side state synchronization.
Built For Everyone
From rapid prototypes to production apps, Asok adapts to your needs.
Startups & MVPs
Ship your idea in hours, not weeks. Zero dependencies means zero installation hassle. 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.
Built-in Superpowers
Everything you need to build professional applications, included in the standard library.
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).
Compare. Conquer.
See how Asok eliminates boilerplate and lets you focus on what matters.
01. Routing Paradigm
02. Fragment Reactivity
03. Zero-Config ORM
makemigrations needed.04. Auto-Documented APIs
04. Secure-by-Design API
Feature Overview
A side-by-side look at different approaches to Python web development.
| Feature | Flask | Django | Asok |
|---|---|---|---|
| Routing | Decorators (@route) | urls.py config | File-based (automatic) |
| Database ORM | SQLAlchemy (external) | Built-in (complex) | Built-in (SQLite, Postgres, MySQL) |
| Migrations | Alembic (manual) | manage.py migrate | Automatic |
| Forms | WTForms (external) | Built-in (verbose) | Built-in (declarative) |
| Authentication | Flask-Login (external) | Built-in (complex) | Built-in (simple) |
| Admin Interface | Flask-Admin (external) | Built-in (required) | Built-in (optional flag) |
| API Documentation | Flask-RESTX (manual) | DRF (complex setup) | OpenAPI (auto-generated) |
| Reactive Components | β Manual JS | β Manual JS | β Zero JS (WebSocket) |
| Dependencies | 5+ packages | Many packages | Zero (stdlib only) |
| Learning Curve | Medium | Steep | Gentle |
| Deployment | Manual WSGI & task runner | Complex settings & static files | Single-command deploy |
| Vector Search (AI) | β No | β No | β Native |
| HTML Streaming | Partial (complex) | Partial (complex) | β Native |
| Async & Concurrency | Flask-Aiohttp (external) | ASGI support (complex) | β ASGI & WSGI (Unified) |
| Cloud File Storage | β No | django-storages (external) | β Built-in (Local/S3) |
| Background Jobs | Celery/Redis needed | Celery/Redis needed | β Built-in (Local/Redis) |
| Lines of Code | ~50-100 (boilerplate) | ~100-200 (config) | ~10-20 (minimal) |
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.