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.6.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.6.0a0
File Size Uploaded Provenance Actions
caldav-3.6.0a0.tar.gz 765.2 kB Without provenance Details for caldav-3.6.0a0.tar.gz

Built distribution (wheel)

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

Total release size: 1.0 MB

Release files / caldav-3.6.0a0.tar.gz

Download URL caldav-3.6.0a0.tar.gz
Size 765.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c24709f594207cb2716509e5cbf41eed516cf628f315ebf8e0c426a140930674
BLAKE2b-256 checksum
How to use checksums
4570db117fd31c1d6b1da98bd6c77c13912262eb6fa973e36d56bc0c6790c32d
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.6.0a0-py3-none-any.whl

Download URL caldav-3.6.0a0-py3-none-any.whl
Size 259.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1e4729a2114e028d9cccc5183e4b27a7ab337f6e70604a0eebdfd6a477fcbe76
BLAKE2b-256 checksum
How to use checksums
5b0a15135972dca5a14f78966aebaa88aa93b83e07e9638588a33c70106caff2
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.6.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