Skip to content
@asok-framework

Asok Framework

The ultra-lightweight and high-performance Python web framework built for the modern web.

Asok Framework Logo

GitHub Stars License PyPI Version Python Version

Asok is a cohesive, full-stack Python web framework designed for developer speed, elegant architecture, and security-conscious defaults. Built around a "zero-runtime-dependency" philosophy, it unifies server-side logic and client-side reactivity into a single, high-performance package, offering a streamlined development experience from the first line of code.

Website Docs Discord YouTube


⚡ Key Highlights

  • Zero Runtime Dependencies: No Werkzeug, no Jinja2, no SQLAlchemy. Built purely on top of the Python standard library—making it ultra-lightweight (~360KB), secure, and immune to supply chain attacks.
  • Islands Architecture: Selective hydration of reactive client-side components combined with Static Site Generation (SSG) and Incremental Static Regeneration (ISR).
  • Native Reactive UI: Build stateful, live-updated templates without Vue, React, or heavy NPM build pipelines.
  • Cohesive Ecosystem: Complete with a built-in DB/ORM (SQLite, PG, MySQL), migration engine, automatic admin panel, OpenAPI auto-documentation, and vector search.

🚀 Quick Start (60 Seconds)

  1. Install Asok :
    pip install asok
  2. Create a page controller (src/pages/page.py) :
    from asok import Request
    
    def render(request: Request):
        return "Hello, Asok! Zero dependencies, pure speed."
  3. Run in development :
    asok dev

📁 Ecosystem Repositories

Repository Status Purpose
📦 asok PyPI Core framework engine (routing, DB/ORM, WSGI/ASGI server).
📖 asok-docs Documentation Official handbook, cookbooks, and step-by-step guides.
🔌 asok-lucide PyPI Server-side SVG Lucide Icons renderer extension.
💻 asok-vscode VS Code Autocomplete, snippets, and routing helper extension.
💡 asok-awesome Awesome Showcase list of community plugins, tutorials, and templates.
🌟 asok-examples Examples Boilerplates, templates, and starter projects.

🤝 Join the Community

We are building a modern, independent Python web ecosystem.

Pinned Loading

  1. asok asok Public

    The ultra-lightweight, high-performance Python web framework. Built for speed, security, and developer happiness.

    Python 2

  2. asok-awesome asok-awesome Public

    A curated list of awesome extensions, plugins, resources, templates, and tools for the Asok Framework

    1

  3. asok-docs asok-docs Public

    Official Asok documentation repository: contains both the technical content (Markdown) and the site engine built with Asok, featuring SPA navigation and streaming.

    CSS 1

  4. asok-examples asok-examples Public

    A collection of example applications built with Asok: the ultra-lightweight, reactive, and streaming-first Python web framework.

    1

Repositories

Showing 7 of 7 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…