duck¶
Quick Start Example¶
To start using Duck, initialize an App instance with your desired port and address,
then run the application:
from duck.app import App
app = App(port=5000, addr='127.0.0.1', domain='localhost')
if __name__ == '__main__':
app.run()
Duck is a powerful, open-source, full-fledged Python-based web server, framework, and reverse proxy designed for building modern, customizable web applications — from small sites to large-scale platforms.
With Duck, developers can quickly deploy secure, high-performance applications with minimal configuration. Ideal for creating scalable, secure, and customizable web solutions, Duck streamlines the development process while ensuring top-notch security and performance.
Duck is not a small or mini web framework, it is a full-fledged framework which makes you do almost everything!
Subpackages¶
duck.appduck.automationduck.backendduck.cliduck.cli.commandsduck.cli.commands.integrationduck.cli.commands.collectstaticduck.cli.commands.djangoduck.cli.commands.logsduck.cli.commands.makeblueprintduck.cli.commands.makeprojectduck.cli.commands.monitorduck.cli.commands.runserverduck.cli.commands.runtestsduck.cli.commands.serviceduck.cli.commands.ssl_gen
duck.contribduck.etcduck.exceptionsduck.htmlduck.html.componentsduck.html.components.coreduck.html.components.extensionsduck.html.components.templatetagsduck.html.components.utilsduck.html.components.buttonduck.html.components.cardduck.html.components.checkboxduck.html.components.codeduck.html.components.containerduck.html.components.duckduck.html.components.fileinputduck.html.components.footerduck.html.components.formduck.html.components.headingduck.html.components.heroduck.html.components.iconduck.html.components.imageduck.html.components.inputduck.html.components.labelduck.html.components.linkduck.html.components.livelyduck.html.components.modalduck.html.components.navbarduck.html.components.page- Page Component Module
duck.html.components.paragraphduck.html.components.progressbarduck.html.components.scriptduck.html.components.sectionduck.html.components.selectduck.html.components.snackbarduck.html.components.styleduck.html.components.table_of_contentsduck.html.components.textareaduck.html.components.video
duck.httpduck.loggingduck.metaduck.routesduck.settingsduck.setupduck.shortcutsduck.templateduck.testsduck.utilsduck.utils.asyncioduck.utils.cachingduck.utils.emailduck.utils.multiprocessingduck.utils.threadingduck.utils.xsocketduck.utils.callabletoolsduck.utils.codesandboxduck.utils.cookie_consentduck.utils.dateutilsduck.utils.encryptduck.utils.eventlistduck.utils.extractionduck.utils.fileduck.utils.fileioduck.utils.filelockduck.utils.headersduck.utils.importerduck.utils.ipcduck.utils.lazyduck.utils.netduck.utils.object_from_idduck.utils.object_mappingduck.utils.pathduck.utils.performanceduck.utils.platformduck.utils.port_recorderduck.utils.rand_domainduck.utils.safe_compareduck.utils.safemarkupduck.utils.slugduck.utils.sslduck.utils.stringduck.utils.tempduck.utils.timerduck.utils.urlcrackduck.utils.urldecodeduck.utils.validationduck.utils.wildcard
Submodules¶
Package Contents¶
Data¶
API¶
- duck.__author__¶
‘Brian Musakwa’
- duck.__email__¶
‘digreatbrian@gmail.com’
- duck.__version__¶
None
- duck.curdir_endswith_web¶
False
- duck.original_curdir¶
‘str(…)’