Skip to main content

📅 CalDAV Event Pusher

This is a tool to automate bulk creation and updates of events on a CalDAV calendar server such as Radicale. You give it some JSON mapping an arbitrary unique ID to VEVENT keys and it'll update existing events on the server or create new events:

myevents.json:

{
  "myevent-1234": {
    "SUMMARY": "My Event 1234",
    "DTSTART": "20260216T104500Z",
    "DTEND": "20260216T121500Z"
  },
  "myevent-2345": {
    "SUMMARY": "My Event 2345",
    "LOCATION": "here and there",
    "DTSTART": "20260217T163000Z",
    "DTEND": "20260217T183000Z"
  }
}

credentials.sh:

export CALDAV_USER=myuser
export CALDAV_PASSWORD=mypassword
export CALDAV_SERVER=https://caldav.myserver.de
> source credentials.sh # source credentials environment variables (to not have password in shell history)
> caldav-event-pusher --calendar uas --eventsfile myevents.json --dry-run # first check changes, then remove the --dry-run
...
╭───────────────────────  New event 'myevent-1234' ───────────────────────╮
│                         UID      b19c122d-eead-4de7-8f69-a3ac34450e14  │
│                     SUMMARY      My Event 1234                         │
│                     DTSTART      2026-02-16T10:45:00+00:00             │
│                       DTEND      2026-02-16T12:15:00+00:00             │
│    X-CALDAV-EVENT-PUSHER-ID      myevent-1234                          │
│               LAST-MODIFIED      2026-02-16T14:50:35.214112+00:00      │
│                     DTSTAMP      2026-02-16T14:50:35.214112+00:00      │
╰───────────────────────────────────────────────────────────────────────────╯
╭───────────────────────  New event 'myevent-2345' ───────────────────────╮
│                         UID      9f29985c-7db1-47b2-bd21-0664349eba4b  │
│                     SUMMARY      My Event 2345                         │
│                    LOCATION      here and there                        │
│                     DTSTART      2026-02-17T16:30:00+00:00             │
│                       DTEND      2026-02-17T18:30:00+00:00             │
│    X-CALDAV-EVENT-PUSHER-ID      myevent-2345                          │
│               LAST-MODIFIED      2026-02-16T14:50:35.224139+00:00      │
│                     DTSTAMP      2026-02-16T14:50:35.224139+00:00      │
╰───────────────────────────────────────────────────────────────────────────╯
...

# If you uploaded, then change myevents.json, and rerun:
> caldav-event-pusher --calendar uas --eventsfile myevents.json --dry-run # first check changes, then remove the --dry-run
╭────────────── 📝 Changes to 'myevent-2345' ───────────────╮
│  📝  LOCATION  here and there    that location           │
│  📝   SUMMARY  My Event 2345     My specific Event 2345  │
╰───────────────────────────────────────────────────────────╯

# If you made a mess and want to delete all of those events, just append the --delete option (maybe try first with --dry-run 😉)
> caldav-event-pusher --calendar uas --eventsfile myevents.json --delete --dry-run # first check what it would delete, then remove the --dry-run
# INFO     🗑️  Would delete event ad627b29-25a9-4764-ade0-23fe38fbf86b 'My Event 1234' (skip due to --dry-run)
# INFO     🗑️  Would delete event 4b5a7af3-abcc-44ab-85e5-c44f4a239d67 'My Event 2345' (skip due to --dry-run)

⚠️ Caveats

Make sure your CalDAV server supports arbitrary X-... fields. Radicale does, but Horde doesn't for example. When yours doesn't you can use --id-key DESCRIPTION for example to use the standard DESCRIPTION field for the ID. Not that you won't be able to push the event description then. Blame your server.

Download files

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

Source Distribution

caldav_event_pusher-1.0.0.tar.gz (61.8 kB view details)

Uploaded Source

Built Distribution

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

caldav_event_pusher-1.0.0-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

Details for the file caldav_event_pusher-1.0.0.tar.gz.

File metadata

  • Download URL: caldav_event_pusher-1.0.0.tar.gz
  • Upload date:
  • Size: 61.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"NixOS","version":"25.11","id":"xantusia","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for caldav_event_pusher-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e77385ce828d1df2d4a17f65d4d93303f77d83d9706959560bd8773805de5711
MD5 d81a728f6bc09cdff4686153950012c4
BLAKE2b-256 2ea084c7fcbbe39d102e7d875a95f7d20bf0a9f5c3725f895c4bf1c06c759d03

See more details on using hashes here.

File details

Details for the file caldav_event_pusher-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: caldav_event_pusher-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 22.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"NixOS","version":"25.11","id":"xantusia","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for caldav_event_pusher-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 47575d4a878cfdc80c66ddd877e0306bce4fc88ff44b2f33d7211b4a09f2f83f
MD5 957dcad39393f2836a31464c9535b6e8
BLAKE2b-256 4d58bb7ec2a77d4419b6d3df2edeb6b3712a3f001210d217940c498ff7e00eb4

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

0.3.0

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

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