Documentation¶
Python Web Framework | No JavaScript Required
Duck Framework is an open-source Python web framework and web server that replaces JavaScript frontends entirely.
Build real-time, flexible, reactive web applications with pure Python — no React, no Vue, no JavaScript framework needed.
Github¶
Organization: https://github.com/duckframework
Homepage: https://github.com/duckframework/duck
Stay tuned for more updates as we continue to enhance Duck’s capabilities.
Contents¶
Getting Started
- Getting Started
- 1. Install Duck
- 2. Create Your First Project
- 3. Run the Server
- 4. Understand the Project Structure
- web/main.py ➝ Entry Point (starts your app)
- web/urls.py ➝ URL Routing (maps URLs to logic)
- web/views.py ➝ Logic (what your app does)
- How Everything Connects
- Run Built-in Tests
- Requirements
- What Makes Duck Different?
- Final Thought
- Project Structure
- Settings Configuration
- Build a Reactive Chat App in 5 Minutes
- Simple Counter App
- Micro Applications
Command Line Interface
Lively
Core Concepts
Reactivity & Real-Time
Networking & Protocols
Request Handling & Auth
Data Layer & Integrations
Deployment & Operations
Reference
API Documentation