A Python-based virtual assistant using Gemini AI. Features include voice recognition, text-to-speech, weather updates, news retrieval, jokes, Wikipedia info, and music management. Comes with an interactive web interface. Easily extendable and customizable.
The Sleep Tracker is a simple Python application that allows users to log their daily sleep duration and assess sleep quality. Users can input hours slept, and the application classifies the sleep as "Good" or "Bad" based on predefined criteria. It saves the data in a text file, enabling users to review their sleep history and monitor patterns over time.
Features
Log Sleep Data: Input and save daily sleep duration in hours to a text file.
Classify Sleep Quality: Classifies sleep as "Good Sleep" (7-9 hours) or "Bad Sleep" (other durations).
Display Sleep Log: Shows all logged entries with durations and quality classifications, along with average sleep duration.
Clear Sleep Data: Option to delete all logged sleep data.
User-Friendly Interface: Command-line menu for easy navigation.
Error Handling: Validates inputs and checks for the existence of the data file.
Description
The Sleep Tracker is a simple Python application that allows users to log their daily sleep duration and assess sleep quality. Users can input hours slept, and the application classifies the sleep as "Good" or "Bad" based on predefined criteria. It saves the data in a text file, enabling users to review their sleep history and monitor patterns over time.
Features