A CLI tool to create .ics calendar files and Google Calendar links
Project description
icalcreate
A CLI tool to create .ics calendar files and Google Calendar links.
Installation
pip install icalcreate
Or install dependencies directly:
pip install icalendar pytz
Usage
ical -t "Event Title" --time "2024-12-25 14:00" -d 1h [options]
Required Arguments
| Argument | Description |
|---|---|
-t, --title |
Event title |
--time |
Start time (e.g., "2024-12-25 14:00") |
-d, --duration |
Duration (e.g., "1h", "30m", "1h30m") |
Optional Arguments
| Argument | Description |
|---|---|
-l, --location |
Event location |
-n, --notes |
Event notes/description |
-u, --url |
Event URL |
-z, --timezone |
Time zone (default: UTC) |
-a, --alert |
Alert before event (can be used multiple times) |
-o, --output |
Output file name (default: <title>.ics) |
--google |
Generate and print Google Calendar URL |
Examples
Basic event
icalcreate -t "Team Meeting" --time "2024-12-25 14:00" -d 1h
Event with location and notes
icalcreate -t "Conference" --time "2024-12-25 09:00" -d 2h30m \
-l "Room 101" -n "Quarterly review meeting" -o conference.ics
Event with multiple alerts
icalcreate -t "Important Call" --time "2024-12-25 10:00" -d 30m \
--alert 15m --alert 5m --alert 1h
Event with timezone
icalcreate -t "Webinar" --time "2024-12-25 15:00" -d 1h \
-z "America/New_York"
Generate Google Calendar link
icalcreate -t "Quick Sync" --time "2024-12-25 11:00" -d 15m --google
Duration Format
30m- 30 minutes1h- 1 hour1h30m- 1 hour 30 minutes2d- 2 days90- 90 minutes (plain number)
Time Zones
Use standard IANA time zone names:
UTCAmerica/New_YorkAmerica/Los_AngelesEurope/LondonEurope/ParisAsia/Tokyo
Running as a Module
python -m icalcreate -t "Event" --time "2024-12-25 14:00" -d 1h
License
AGPL3
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
icalcreate-1.0.1.tar.gz
(21.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file icalcreate-1.0.1.tar.gz.
File metadata
- Download URL: icalcreate-1.0.1.tar.gz
- Upload date:
- Size: 21.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
251d6311b98b6a99219ce49d09bafa4d065df664515a66fa9800aae03254a208
|
|
| MD5 |
9bd7b75c0c653a3781425e2f1ed09334
|
|
| BLAKE2b-256 |
220055f0dc2419d9dbef33950f3aa613561207cd43e2c30906cebdef8a736ef8
|
File details
Details for the file icalcreate-1.0.1-py3-none-any.whl.
File metadata
- Download URL: icalcreate-1.0.1-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d23b7788f5b19657de2286d320057c8d6976cee64042fb3b77bc1eed3453730d
|
|
| MD5 |
2f6757d1754cd502b5ed095f5eb1b126
|
|
| BLAKE2b-256 |
5b84fe2c95cd9a306e1c667170236b0986f4ea60b8bde36d2fa4c58abf866642
|