1
0

Нет описания

Fabian Peter Hammerle 4ede518438 ci: lint tests 4 лет назад
.github 4ede518438 ci: lint tests 4 лет назад
ical2vdir e4e068d6bb rename package ics2vdir -> ical2vdir 4 лет назад
tests e4e068d6bb rename package ics2vdir -> ical2vdir 4 лет назад
.gitignore 436f8d96df gitignore 4 лет назад
.pylintrc 35fdc2772b added pylint-import-requirements checker 4 лет назад
COPYING f719ede95e added full license 4 лет назад
Pipfile 35fdc2772b added pylint-import-requirements checker 4 лет назад
Pipfile.lock 35fdc2772b added pylint-import-requirements checker 4 лет назад
README.md 460a0de9be readme: added pipeline badge 4 лет назад
setup.py 116a5414b7 setup.py/classifiers: specify minor python versions (tested in CI pipeline) 4 лет назад

README.md

ical2vdir 📅

CI Pipeline Status Last Release

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