Python script to generate ics calendar event from PKP Intercity pdf file.
To generate .ics file, simply use:
python3 main.py -i [pdf_filepath]
Or using --output argument, if you want to specifiy the path:
python3 main.py -i [pdf_filepath] -o [output_path]
Clone this repo or download zip:
git clone https://github.com/dch09/pkp-ics-generator.git
cd pkp-ics-generator
Create and activate virtual environment:
Using pyenv
pyenv virtualenv pkp-ics
pyenv activate pkp-ics
Using venv
python3 -m venv pkp-ics
source pkp-ics/bin/activate
Download required packages:
pip install -r requirements.txt