Metadata-Version: 2.4
Name: caldav-event-writer
Version: 0.1.0
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: caldav-cal-api==0.1.1

# CalDAV Event Writer 0.1.0

A separate Python CLI for creating individual events with `CalendarAPI.add_event`.
It does not modify the existing read connector. `check` only lists calendars internally.

Use Python 3.10 or later. The console script is `caldav-event-writer`. The package
pins `caldav-cal-api` to 0.1.1. Configure `CALDAV_CAL_API_URL` (HTTPS),
`CALDAV_CAL_API_USERNAME` and `CALDAV_CAL_API_PASSWORD` privately, never in CLI
arguments. Normal output is JSON; failures suppress library logs and tracebacks.

```sh
caldav-event-writer check
caldav-event-writer create-event --calendar-uid personal --title 'Check Hostinger VPS subscription' --all-day --start 2028-10-29
```

The second command **writes to the configured calendar**. Do not use it to test live
credentials. Before using it, use the existing read connector to check the target
calendar, date and title. Read back the event after the write, matching the UID,
calendar, title, and date. If the write is interrupted or unverified, read back before
retrying. The CLI does not independently prevent duplicate submissions.

All-day dates have no timezone and default to one day. `--end` is exclusive.
Timed input uses ISO 8601 (`YYYY-MM-DDTHH:MM`), defaults to Europe/Berlin and
one elapsed hour, and requires an explicit offset for ambiguous local times.

For Nod, publish this Python project as an authorized PyPI release, then configure a
new CLI path with the published package, command, and three environment names above.
Enter credentials in Nod's private setup, not in chat. The bundled wheel is for
local installation or release preparation; it is not a hosted Nod install source.

To run offline tests after installing the wheel in an isolated environment:
`python -m unittest discover -s tests -v`. They stub the CalDAV network boundary.
