Skip to main content

CalDAV Server Checker - checking a CalDAV server for compatibility issues

Project description

caldav-server-tester

A command-line tool that probes a CalDAV server and reports which features and RFC requirements it supports, which ones it handles quirky, and which ones it gets wrong.

It is a companion to the caldav Python client library and produces output that is compatible with that library's compatibility_hints.py feature-flag system.

Status: alpha / pre-1.0. The checks are useful today, but the interface may change before the 1.0 release.

What it checks

  • Calendar creation and deletion (MKCALENDAR)
  • Saving and loading events, tasks, and journals
  • Time-range, text, alarm, and recurrence searches (RFC 4791)
  • Case sensitivity and substring matching in text searches
  • Sync-collection reports (RFC 6578)
  • Free-busy queries
  • Principal discovery (RFC 5397)
  • Duplicate UID handling across calendars
  • Timezone support in events

For full usage information, including all CLI options and output formats, see USAGE.md.

Installation

pip install caldav-server-tester

Quick example

caldav-server-tester --caldav-url https://example.com/dav \
                     --caldav-username alice \
                     --caldav-password secret

See USAGE.md for details on output formats (--format json/yaml/hints), the --diff flag, running individual checks, and safety considerations.

Background

The caldav client library accumulated a large set of compatibility flags to work around differences between CalDAV server implementations. Every server deviates from the RFC in at least some way — some silently ignore unsupported features, some return errors, some return wrong data.

This tool was created to make it easy to discover and document those deviations without having to run the full caldav test suite and interpret failures manually. It can also alert you when a previously flagged problem has been fixed in a newer server version.

Vocabulary

The project is called caldav-server-tester, but internally the word test is reserved for code under the tests/ directory. Code that probes server capability is called a check.

License

AGPL-3.0-or-later

Project details


Download files

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

Source Distribution

caldav_server_tester-0.2.2.tar.gz (61.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

caldav_server_tester-0.2.2-py3-none-any.whl (38.5 kB view details)

Uploaded Python 3

File details

Details for the file caldav_server_tester-0.2.2.tar.gz.

File metadata

  • Download URL: caldav_server_tester-0.2.2.tar.gz
  • Upload date:
  • Size: 61.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for caldav_server_tester-0.2.2.tar.gz
Algorithm Hash digest
SHA256 35ed3bb2cc7cf33215be22337ec6d02be3aadec67088c0791f05523ef7b91449
MD5 261a541e08448efa094ed645b6e77bdd
BLAKE2b-256 733a82024888c46691babe68b9092305c30d148913ab4ea45470c4a6302bf7c7

See more details on using hashes here.

Provenance

The following attestation bundles were made for caldav_server_tester-0.2.2.tar.gz:

Publisher: publish.yaml on python-caldav/caldav-server-tester

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file caldav_server_tester-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for caldav_server_tester-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8134098d15ebeddad08a08e815b49ab1b1ac5d134d9fc0680004c8a22b8e17b8
MD5 5d72c65dbbc4e7b3983ac9ccca539fbf
BLAKE2b-256 a3ce974a60873fe7838e646f22b0ea369be69a96f6d7331bf162cf8110683987

See more details on using hashes here.

Provenance

The following attestation bundles were made for caldav_server_tester-0.2.2-py3-none-any.whl:

Publisher: publish.yaml on python-caldav/caldav-server-tester

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page