Skip to main content

Ducky 🐥

Your rubber duck debugger pet! Explain your code to Ducky while you work.

Ducky sits in a small floating window over your code. Feed him, let him sleep, give him a bath, or explain your bugs to him — he'll always have something to quack back!

Installation

pip install ducky_py

Note: Ducky requires Python 3.12 since it uses pygame. Run with py -3.12 yourfile.py

How to Use

Just add one line at the top of your Python file:

from ducky import show
import time

show()

while True:
    time.sleep(1)

#the while true loop keeps it on, just close the game with the X in the top right corner
# Now write your code as normal!
# Ducky will float over your screen while you work.

Buttons

Button What it does
🍞 Feed Feed Ducky so he's not hungry
💤 Sleep Let Ducky take a nap to restore energy
🛁 Bath Give Ducky a bath to cheer him up
🗣 Explain Type your code problem — Ducky will respond!

Stat Bars

Bar What it means
🍞 Hunger Keep this full by feeding Ducky
💛 Happiness Pet and interact with Ducky to keep him happy
💤 Energy Let Ducky sleep when this gets low
🛁 Cleanliness Give Ducky baths to keep this up

Control Ducky from your code

from ducky import show, feed, sleep, bath, explain

show()

feed()              # feed Ducky
sleep()             # put Ducky to sleep
bath()              # give Ducky a bath
explain("my loop is broken")  # Ducky will respond!

Why Ducky?

Rubber duck debugging is a real technique where you explain your code out loud to a rubber duck — the act of explaining it helps you find the bug yourself. Ducky makes it more fun! 🐥

Metadata

Release files for ducky_py 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ducky_py 0.1.2
File Size Uploaded Provenance Actions
ducky_py-0.1.2.tar.gz 6.4 kB Without provenance Details for ducky_py-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ducky_py 0.1.2
File Interpreter ABI Platform Actions
ducky_py-0.1.2-py3-none-any.whl Python 3 none any Details for ducky_py-0.1.2-py3-none-any.whl

Total release size: 13.5 kB

Release files / ducky_py-0.1.2.tar.gz

Download URL ducky_py-0.1.2.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f45ae363ac54a02a48b2b0c58d3c69670bc052a57565bdd353cb86e02c9dbf2c
BLAKE2b-256 checksum
How to use checksums
d1a7d2c56d895a9d989dd26e1cae5a3aba11dc849d96ff70a495197a044a8a85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.14.3 Windows/11

Release files / ducky_py-0.1.2-py3-none-any.whl

Download URL ducky_py-0.1.2-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8276ddf5842834d620e38acd425ee95c0ddce3e6fc833b9aa3f2ce6b46ade832
BLAKE2b-256 checksum
How to use checksums
4125b93c8ebb0f64a5b4224a5a482102c267a5039f03a9abaec3f23c3f3a8adf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.14.3 Windows/11

Security for ducky_py 0.1.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page