Install the necessary libraries
pip install -r requirements.txtPut the events in a .json file called events.json in the same directory as main.py.
[
{
"title": "MyEvent",
"start": "2030-01-01 00:00",
"end": "2030-12-31 23:59",
"location": "Lausanne, suisse"
}
]Simply run the script. it will create a file events.ics in the directory