Skip to content

A simple Python project that displays a colorful monthly calendar in the terminal using the calendar and rich libraries.

License

Notifications You must be signed in to change notification settings

chiragdhawan07/colorful-calendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📅 Colorful Calendar Viewer (Terminal-Based)

A fun and beginner-friendly Python project that displays a colorful calendar in the terminal using the calendar and rich libraries.


✨ Features

✅ View any month of any year
✅ Highlights weekends (Sat & Sun) in red and weekdays in green
✅ Uses rich to display a beautiful table-style calendar in the terminal
✅ Automatically detects current month & year if no input is given


🛠️ Technologies Used

  • 🐍 Python 3
  • 🎨 Rich - For colorful console output
  • 📆 Built-in calendar module

▶️ How to Run the Code

🧾 Step-by-Step Instructions

🔧 1. Clone the repository (or download ZIP)

git clone https://github.com/chiragdhawan07/colorful-calendar.git
cd colorful-calendar

📦 2. Install the required library

Make sure rich is installed. Run:

pip install rich

🚀 3. Run the program

python colorful_calendar.py

📝 4. Provide input when prompted

You can either press Enter to use current month and year, or input your own:

Enter year [2025]: 
Enter month (1-12):

Made with ❤️ by Chirag Dhawan

About

A simple Python project that displays a colorful monthly calendar in the terminal using the calendar and rich libraries.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages