Skip to main content

CLI utility to unclutter old calendar entries from WebDAV calendars.

Project description

Calendar Cleanup

CLI utility to unclutter WebDAV calendars by deleting old entries.

Installation

pip install calendar-cleanup

Usage example

$ calendar-cleanup

Please enter the credentials for your WebDAV calendar.

username: john.doe
password:
Calendar URL:

Verifying authentication...
Authentication successful.

Reading WebDAV files content...
Loaded content from 25 WebDAV files.

Parsing ICS content...
Successfully parsed 22 of 25 ICS files.

Found 2 events for deletion.

Events that can be deleted:
- 2023-11-14: Lorem ipsum
- 2023-11-16: Lorem ipsum follow-up

Delete listed events? [y/N]
Deletion not confirmed. Exiting.

CLI documentation

Usage: calendar-cleanup [OPTIONS]

CLI utility to unclutter WebDAV calendars by deleting old entries.

The CLI tools proposes which old entries to remove. If the user approves,
the events get deleted.

Options:
-d, --days INTEGER  Number of days into past from which on to delete events.
                    [default: 30]
-v, --verbose       Enable detailed output.
--help              Show this message and exit.

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

calendar_cleanup-0.3.1.tar.gz (5.7 kB view hashes)

Uploaded Source

Built Distribution

calendar_cleanup-0.3.1-py3-none-any.whl (8.0 kB view hashes)

Uploaded Python 3

Supported by

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