Skip to content

v1.2.0

Latest

Choose a tag to compare

@Jukelyn Jukelyn released this 12 Sep 16:50
· 1 commit to main since this release

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

  1. ICS File Parsing
    • The program reads and parses .ics calendar files to extract event details.
    • Handles both single occurrence and recurring events using the icalendar and recurring_ical_events modules.
  2. Timezone Handling
    • Ensures all datetime objects are consistent and localized to the local timezone.
    • Converts datetime objects to the local timezone before performing operations.
  3. Sorting Events
    • Sorts events chronologically based on their start time (dtstart).
  4. Summing Event Durations
    • Sums the durations of events grouped by their summary.
    • Displays the total duration for each unique event summary.
  5. 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

Full Changelog: v1.1.0...v1.2.0