Quack Sleep Doc
Not an actual doctor or a serious sleep helper! If you need that consult a real doctor!
A tool that reminds you to go to bed at a time you configured.
Setup
Then, you create a config file in ~/.config/quack-sleep/config.json.
{
"language": "de",
"reminder_time": "22:10",
"countdown_initial": 20,
"countdown_reduction": 5,
"countdown_minimum": 1
}
Optionally, you can configure your own messages that remind you to go to sleep in ~/.config/quack-sleep/messages.txt. Where each line is a message. Here is an example file in german.
Morgen wirst du froh sein, dass du jetzt schlafen gehst.
Schlaf ist wie ein kostenloses Upgrade.
Dein Gehirn ruft an: Es möchte ins Bett.
Produktivität beginnt mit Erholung.
Selbst KI gönnt sich Ruhezyklen – du solltest das auch.
Finally, once you have everything configured, you should add the script to the autostart to make sure it always runs.
Linux: Assuming you have screen (apt install screen) you can add the following to the bottom of your ~/.profile file.
protected_screen() {
local name="$1"
shift
if [ -z "$name" ]; then
echo "Usage: protected_screen <session-name> <command> [args...]"
return 1
fi
# Check if the screen session already exists
if screen -ls | grep -q "[.]${name}[[:space:]]"; then
return 0
fi
if [ $# -eq 0 ]; then
echo "No command provided. You must provide a command."
return 1
else
screen -dmS "$name" "$@"
fi
}
protected_screen quack-sleep uvx quack-sleep-doctor
Windows: Here we will use the ps1 script provided in the repository to launch the app. First clone the repository, then run uv sync to install it. Lastly, add the start.ps1 to your autostart folder.
Metadata
Release files for quack-sleep-doctor 0.2.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 |
|---|---|---|---|---|
| quack_sleep_doctor-0.2.0.tar.gz | 16.0 kB | With provenance | Details for quack_sleep_doctor-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| quack_sleep_doctor-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for quack_sleep_doctor-0.2.0-py3-none-any.whl |
Total release size: 21.2 kB
Release files / quack_sleep_doctor-0.2.0.tar.gz
| Download URL | quack_sleep_doctor-0.2.0.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ad2e7e64f2f31999ad2016455f22d5e648c37aac07cb3f738787165f550b852e
|
|
BLAKE2b-256 checksum How to use checksums |
763af25e914107299e3c4af440058a59987ce7edf5bf0ccc795c11a336ff3076
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Dec 28, 2025.
Transparency logRelease files / quack_sleep_doctor-0.2.0-py3-none-any.whl
| Download URL | quack_sleep_doctor-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c19abbdba33a947bbc3dcf554a5d25278889a653946003d716a1585c4ed214c4
|
|
BLAKE2b-256 checksum How to use checksums |
67c3198bcdebf1587071856660a3793b65db954c6ab4372f46ce9ae46e373fa6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Dec 28, 2025.
Transparency logSecurity for quack-sleep-doctor 0.2.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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for quack_sleep_doctor-0.2.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 Dec 28, 2025.
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.