Fabian Peter Hammerle b64dab7cb3 tests: added license headers | 4 yıl önce | |
---|---|---|
ics2vdir | 4 yıl önce | |
tests | 4 yıl önce | |
.gitignore | 4 yıl önce | |
.pylintrc | 4 yıl önce | |
Pipfile | 4 yıl önce | |
Pipfile.lock | 4 yıl önce | |
README.md | 4 yıl önce | |
setup.py | 4 yıl önce |
Convert / split single iCalendar
.ics
file into a
vdir directory.
Compatible with khal.
$ sudo apt-get install python3-icalendar # optional
$ pip3 install --user --upgrade ics2vdir
$ ics2vdir < 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 ics2vdir --output-dir output/
Remove files from output directory that are not available in input:
$ ics2vdir < input.ics --output-dir /some/path --delete
$ git clone https://github.com/fphammerle/ics2vdir.git
$ cd ics2vdir
$ pipenv sync --dev
$ pipenv run pylint ics2vdir
$ pipenv run mypy ics2vdir
$ pipenv run pytest --cov=ics2vdir --cov-report=term-missing --cov-fail-under=100