Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

import external CalDAV and CardDAV entries

Project description

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


  • 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


Install from source

# create a virualenv
pip install
ln -s $VIRTUAL_ENV/bin/calflate ~/bin/calflate


Create a configuration file at ~/.config/calflate.cfg. Insert the following section for each collection that should be imported.

# 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 = (.+?)
# uid_to = \1

# source calendar / addressbook
src =
# src_user = username
# src_pass = password

# destination calendar / addressbook
dst =
dst_user = username
dst_pass = password


  • calflate --help to show usage.
  • calflate COLLECTION-NAME to import a specific collection or
  • calflate '*' to conflate all sets.


Are welcome! Resepect PEP-8.

Project details

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
calflate-0.4.1.tar.gz (6.1 kB) Copy SHA256 hash SHA256 Source None Jan 26, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page