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
Built Distribution
File details
Details for the file calendar_cleanup-0.3.1.tar.gz
.
File metadata
- Download URL: calendar_cleanup-0.3.1.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.6 Linux/6.5.6-76060506-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 580445e2ce9d17f41caebae2b9ac0b2a2c2f9f062f9eae4e89e829c7d7b889c0 |
|
MD5 | 81d69e01f36db4fe9221ca8e9539266e |
|
BLAKE2b-256 | f66e3be9a87c9ebcf25a2ebff9043d43472f9ad8fd5905f61817859bc9816c41 |
File details
Details for the file calendar_cleanup-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: calendar_cleanup-0.3.1-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.6 Linux/6.5.6-76060506-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f468f3a8176c59805d79f93100c1979851996d34e59882b9d097029a6d8c52d |
|
MD5 | c66c77f339072d9a79cf2ea4a1be75b4 |
|
BLAKE2b-256 | c9885beae894222a346ca3b06715703dcfed94806ce150a80eea0b49614870b1 |