SZ_BabySWTime_console v1.01
SZ_BabySWTime_console is a console-based Python application for tracking a baby's sleep and awake times. It stores entries in a database and calculates how long the baby has been asleep or awake.
Youtube video
📖 Usage
Commands
- help - Displays a list of all available commands
- adds - Add a sleep time record (type back to exit the input menu)
- addw - Add an awake time record (type back to exit the input menu)
- shows Displays a table with calculated sleep durations
- showa - Displays a table with calculated awake durations
- delall - Deletes all records from the database
- dels -| Deletes the last sleep time record
- dela - Deletes the last wake time record
- exit - Exits the application
🕒 Note: Time format should be YYYY-MM-DD HH:MM, e.g., 2025-05-13 14:30
🧰 Requirements
- Python 3.x
- PrettyTable
Install with:
pip install prettytable
🆕 Change Log
- Time format example added to the
help,adds, andaddwmenus
📸 Screenshots & 🎥 Video Manual
Screenshots and a video tutorial are included to demonstrate usage:

📦 Source Code
- SZ_BabySWTime_console.zip – Source code (Python)
- SZ_BabySWTime_console – Windows build version