events2ics is a Python project that converts event details from a text file into an ICS calendar file. It uses Regular Expression to extract event data from the text file and generate a structured calendar file that can be easily imported into calendar applications.
- Extract event names, dates, times, and locations from a text file
- Generate ICS files for calendar import
- Support for time zones
-
Clone the repository:
git clone https://github.com/tgpetrica/events2ics.git cd events2ics -
Create a virtual environment (optional but recommended):
python -m venv env source env/bin/activate # On Windows use `env\Scripts\activate`
-
Install the required Python libraries:
pip install -r requirements.txt
-
Prepare: Make sure the input file contains the event details in the specified format.
-
Run the script:
python create_calendar.py
-
Done!: The generated
Calendar.icsfile will be saved in the same directory
Event Name (day, date, time, location)