Sen descrición

Fabian Peter Hammerle b630dacf78 readme: added line regarding pre-existing files %!s(int64=4) %!d(string=hai) anos
.github d33bf43f83 ci/coveralls: add lower version constraint %!s(int64=4) %!d(string=hai) anos
ical2vdir 6a24a4759c only write to disk when creating or updating item %!s(int64=4) %!d(string=hai) anos
tests 818dcf2d0a _write_event: added missing unit test for temp file cleanup %!s(int64=4) %!d(string=hai) anos
.gitignore 436f8d96df gitignore %!s(int64=4) %!d(string=hai) anos
.pylintrc 35fdc2772b added pylint-import-requirements checker %!s(int64=4) %!d(string=hai) anos
CHANGELOG.md 6a24a4759c only write to disk when creating or updating item %!s(int64=4) %!d(string=hai) anos
COPYING f719ede95e added full license %!s(int64=4) %!d(string=hai) anos
Pipfile 35fdc2772b added pylint-import-requirements checker %!s(int64=4) %!d(string=hai) anos
Pipfile.lock 35fdc2772b added pylint-import-requirements checker %!s(int64=4) %!d(string=hai) anos
README.md b630dacf78 readme: added line regarding pre-existing files %!s(int64=4) %!d(string=hai) anos
setup.py 116a5414b7 setup.py/classifiers: specify minor python versions (tested in CI pipeline) %!s(int64=4) %!d(string=hai) anos

README.md

ical2vdir 📅

CI Pipeline Status Coverage Status Last Release Compatible Python Versions

Convert / split single iCalendar .ics file into a vdir directory.

Pre-existing files will be updated or left unchanged.

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