Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 962 Bytes

README.md

File metadata and controls

55 lines (40 loc) · 962 Bytes

PKP ICS Generator 🚅

Python script to generate ics calendar event from PKP Intercity pdf file.

Usage 🗓️

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]

Installation 🧑‍💻

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

Packages 📦