Repository navigation
CalPal
CalPal a program that is designed to parse .ics calendar files, extract event details, handle recurring events, and perform various operations on the extracted data, such as sorting events by start time and summing event durations. The program is intended for users who need to manage and analyze calendar events within a specified date range.
Features
- ICS File Parsing
- The program reads and parses
.icscalendar files to extract event details. - Handles both single occurrence and recurring events using the
icalendarandrecurring_ical_eventsmodules.
- The program reads and parses
- Timezone Handling
- Ensures all datetime objects are consistent and localized to the local timezone.
- Converts datetime objects to the local timezone before performing operations.
- Sorting Events
- Sorts events chronologically based on their start time (
dtstart).
- Sorts events chronologically based on their start time (
- Summing Event Durations
- Sums the durations of events grouped by their summary.
- Displays the total duration for each unique event summary.
- User Interaction via CLI:
- Prompts the user to input the desired calendar file, start date, and end date.
- Offers options to display a specified number of events, sum event durations, or exit the program.
Upcoming Features
- More options for what to do with the events
- Maybe a GUI...
Changes
- Changed program to use local timezone instead of EST
- Added functionality to show all files in the calendars directory
Full Changelog: v1.1.0...v1.2.0