Calflate is a command line application that conflates external CalDAV and CardDAV entries into an other online collection. It does an one-way sync of calendar EVENTs, TODOs, JOURNALs and addressbook entries (VCARD) based on UIDs and SEQUENCE or REV numbers.
Calflate is written in Python, it has no dependencies and licenced under the FreeBSD License. The source code and issue tracker is available at https://github.com/chripo/calflate.
Featues
one-way sync of VEVENT, VTODO, VJOURNAL and VCARD
rewrite / cleanup UIDs based on regular expressions
import entries from local files and online collections
is able to purge destination items
supports multiple collection sets
configurable per collection
Quickstart
Install from source
# create a virualenv pip install https://github.com/chripo/calflate/zipball/master ln -s $VIRTUAL_ENV/bin/calflate ~/bin/calflate
Configure
Create a configuration file at ~/.config/calflate.cfg. Insert the following section for each collection that should be imported.
[COLLECTION-NAME] # ignore input argument from command line # input = None # never purge destination items # purge = False # verbose output # verbose = True # don't make changes # dryrun = True # replace UID pattern # uid_from = (.+?)@foobar.com # uid_to = \1 # source calendar / addressbook src = https://source-host.net/test/events.ics/ # src_user = username # src_pass = password # destination calendar / addressbook dst = https://my-server.net/user/calendar.ics/ dst_user = username dst_pass = password
Execute
calflate --help to show usage.
calflate COLLECTION-NAME to import a specific collection or
calflate '*' to conflate all sets.
Contributions
Are welcome! Resepect PEP-8.
Release files for calflate 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| calflate-0.4.1.tar.gz | 6.1 kB | Details |
Release files / calflate-0.4.1.tar.gz
| Download URL | calflate-0.4.1.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b76bb39a772db9e4ba4b913a69ca6faad896922a791996c2278abefed36d8f2d
|
|
BLAKE2b-256 checksum How to use checksums |
80d84aaae3718ab0a713333354b1b01c794dd02b916267d06d5fce00b3c90c6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |