Skip to content

HackerSpace-PESU/pesu-ics-calendar-export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pesu-ics-calendar-export

Export the PESU Calendar of Events from a PDF to a .ics file

Allows you to import the PESU Calendar to your favourite calendar application - Google Calendar, Apple Calendar, Outlook, etc.

Usage

  1. Download the PDF from the PESU website/email
  2. Clone this repository
  3. Create a virtual environment using any method listed and install the requirements
    • conda
      conda create -n pesu-ics-calendar-export python=3.9
      conda activate pesu-ics-calendar-export
      pip install -r requirements.txt
    • virtualenv
      virtualenv venv
      source venv/bin/activate
      pip install -r requirements.txt
  4. Run the script to export the calendar
    PESU ICS Calendar Export [-h] -i INPUT [-o OUTPUT]
    
    optional arguments:
    -h, --help            show this help message and exit
    -i INPUT, --input INPUT
                            Input calendar PDF file
    -o OUTPUT, --output OUTPUT
                            Output calendar ics file
    Example:
    python calendar2ics.py -i data/calendar.pdf -o data/calendar.ics
  5. Import the .ics file into your calendar application

About

Export the PESU Calendar of Events from a PDF to a .ics file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages