convert .ics file to vdir directory
Project description
ical2vdir
Convert / split single iCalendar
.ics
file into a
vdir directory.
Compatible with khal.
Setup
$ sudo apt-get install python3-icalendar # optional
$ pip3 install --user --upgrade ical2vdir
Usage
$ ical2vdir < input.ics --output-dir /some/path
Or download .ics
from Google Calendar:
$ curl https://calendar.google.com/calendar/ical/someone%40gmail.com/private-1234/basic.ics \
| pipenv run ical2vdir --output-dir output/
Remove files from output directory that are not available in input:
$ ical2vdir < input.ics --output-dir /some/path --delete
Run Tests
$ git clone https://github.com/fphammerle/ical2vdir.git
$ cd ical2vdir
$ pipenv sync --dev
$ pipenv run pylint ical2vdir
$ pipenv run mypy ical2vdir
$ pipenv run pytest --cov=ical2vdir --cov-report=term-missing --cov-fail-under=100
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ical2vdir-0.1.0.tar.gz
(29.1 kB
view hashes)
Built Distribution
ical2vdir-0.1.0-py3-none-any.whl
(16.8 kB
view hashes)
Close
Hashes for ical2vdir-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7cbf185eb623a35dde8f0d1e1d43f69e3a3f245e671a9ed7040773d5ef8d58a |
|
MD5 | 2176c0487e6660e2adb9c79b732fe952 |
|
BLAKE2b-256 | 562c5e51cbf5f1c438eb1f37f6debfc566452b9687c8c5cce3202916cf77909d |