Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

caldav

This project is a CalDAV (RFC4791) client library for Python.

Features:

  • create, modify calendar
  • create, update and delete event
  • search events by dates
  • async support via caldav.aio module
  • etc.

Quick Start

from caldav import get_davclient

with get_davclient() as client:
    principal = client.principal()
    calendars = principal.get_calendars()
    for cal in calendars:
        print(f"Calendar: {cal.name}")

Async API

For async/await support, use the caldav.aio module:

import asyncio
from caldav import aio

async def main():
    async with aio.get_async_davclient() as client:
        principal = await client.principal()
        calendars = await principal.get_calendars()
        for cal in calendars:
            print(f"Calendar: {cal.name}")

asyncio.run(main())

The user documentation (up-to-date with version 3.2) is embedded under docs/source - a rendered copy is available at https://caldav.readthedocs.io/

Other documentation:

There is also a directory docs/design containing lots of documents, mostly AI-generated, containing things like design decisions and other things that neither is deemed important enough to have a document on the root of the project nor deemed to be "user documentation".

The package is published at Pypi

HTTP Libraries

The sync client uses niquests by default (with fallback to requests). The async client prefers niquests as well, falling back to the httpx family (httpx2, httpxyz, httpx) - the first one installed wins. See HTTP Library Configuration for details.

Licences

The caldav library is dual-licensed under the GNU GENERAL PUBLIC LICENSE Version 3 or the Apache License 2.0.

Metadata

Release files for caldav 3.7.0a0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for caldav 3.7.0a0
File Size Uploaded Provenance Actions
caldav-3.7.0a0.tar.gz 804.1 kB Without provenance Details for caldav-3.7.0a0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for caldav 3.7.0a0
File Interpreter ABI Platform Actions
caldav-3.7.0a0-py3-none-any.whl Python 3 none any Details for caldav-3.7.0a0-py3-none-any.whl

Total release size: 1.1 MB

Release files / caldav-3.7.0a0.tar.gz

Download URL caldav-3.7.0a0.tar.gz
Size 804.1 kB
Tags Source
SHA-256 checksum
How to use checksums
970e8b35312b4926942d170a8cadbb3b79760db31560bc80914701a5c49704ff
BLAKE2b-256 checksum
How to use checksums
ac019a64b657ea4ca5f481cc093c23cd4daa38c5e02a5727e4ccc34574306fd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / caldav-3.7.0a0-py3-none-any.whl

Download URL caldav-3.7.0a0-py3-none-any.whl
Size 292.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ddea1224e4ac5136e20704c21a713f23e8ca160f4513c14ec045f3fe2b4022e3
BLAKE2b-256 checksum
How to use checksums
543b02430dda3dfba0cf40b5841f5c4be23049c618c379ade25c1acd66176fba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for caldav 3.7.0a0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page