Duck Framework is an open-source Python web framework and web server with a built-in reactive UI engine and real-time WebSocket support.
Build high-performance, flexible, scalable, server-side reactive web applications — without a separate frontend framework or a complex JavaScript stack.
(More badges — security, performance, integrations — on the Features page.)
Quickstart
# Install Duck Framework
pip install duckframework
# Create a project
duck makeproject myproject
# Change directory to myproject
cd myproject
# Run the webserver
python web/main.py # Optionally use duck runserver
Visit http://localhost:8000 — you're running Duck. For the full walkthrough (install options, project types, what gets generated), see Getting Started.
HTML & Lively Components
Duck includes everything you need to build your UI, while Quirl, the official component library, provides modern, reusable HTML and Lively components for building richer interfaces and interactions.
Documentation
New to Duck? Start with Getting Started, then Understanding the Project. You'll have everything you need to build your first app. Explore the other guides as your project grows.
1. Start Here
- Getting Started — install Duck, create a project, and start the server.
- Understanding the Project — understand
main.py,urls.py, views, pages, components, templates, and static files.
2. Build with Duck
- Native Apps — get started with Duck Native and native app development.
- Django Integration — add Duck's HTTP/2, HTTPS, and security features to an existing Django project.
- Features — explore Duck's capabilities and planned features.
3. Resources
- AI Guidelines — use Duck with AI assistants and AI-assisted development.
- About & Links — discover real-world apps, useful links, and fun facts.
- Contributing — learn about contributing, reporting issues, sponsorship, and premium components.
- Official Documentation — explore the full documentation.
Duck is updated regularly — check the repo for improvements and bug fixes.
Metadata
Release files for duckframework 2.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| duckframework-2.4.0.tar.gz | 1.2 MB | With provenance | Details for duckframework-2.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| duckframework-2.4.0-py3-none-any.whl | Python 3 | none | any | Details for duckframework-2.4.0-py3-none-any.whl |
Total release size: 2.6 MB
Release files / duckframework-2.4.0.tar.gz
| Download URL | duckframework-2.4.0.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
837ccbf2bb78d12fa35116ee6018d90a90ee7fb087449a1ee58c150e32cf5fc9
|
|
BLAKE2b-256 checksum How to use checksums |
a3b890f4134af914c90df97e79a183c8ac83f59547657948df9c9f26415c7470
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logRelease files / duckframework-2.4.0-py3-none-any.whl
| Download URL | duckframework-2.4.0-py3-none-any.whl |
|---|---|
| Size | 1.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3795a6cae54e03b78672de21ed834ee0382516aeb3221625c2e647de5bbed1cf
|
|
BLAKE2b-256 checksum How to use checksums |
0fd153f0b5d0e4ff9908a1042a22e73474ce9b55695f2a043742116aa94f9d46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logSecurity for duckframework 2.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for duckframework-2.4.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.