Dars Framework Dynamic Application Rendering System is a modern Full-Stack Python framework for web applications. Dars is designed to make web app development simple, fast, and enjoyable. With an intuitive API and powerful features, you can build modern web applications in record time using Python.
pip install dars-framework
Write Less, Build More Experience a declarative, state-driven approach. Build high-performance applications with an elegant Pythonic API that handles the heavy lifting for you.
main.py
from dars.all import *

app = App("My App")
counter = State("ui", count=0)

@route("/")
def index():
    return Page(
        Text(useDynamic("ui.count"), 
            style="fs-[48px] font-bold"
        ),
        Button("+", 
            on_click=counter.count.increment(1)
        ),
        Button("−", 
            on_click=counter.count.decrement(1)
        ),
    )

app.add_page("index", index(), title="Index")
Preview
Counter 0
Features Everything you need to build amazing applications
Fast Development Fast Development Build applications quickly with our intuitive API and pre-built components, or creating your own custom components.
Multiplatform Multiplatform Deploy your apps on the web with the same codebase and minimal configuration.
High Performance High Performance Optimized rendering and efficient resource management for smooth experiences.
How It Works Get started with Dars in three simple steps
Install Install Install Dars with a simple pip install dars-framework and start building immediately.
Develop Develop Use the intuitive API to create routes, components, and pages with minimal code.
Deploy Deploy Deploy your application in the test built-in server or your preferred hosting provider.