Skip to main content

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 minutes
  • 1h - 1 hour
  • 1h30m - 1 hour 30 minutes
  • 2d - 2 days
  • 90 - 90 minutes (plain number)

Time Zones

Use standard IANA time zone names:

  • UTC
  • America/New_York
  • America/Los_Angeles
  • Europe/London
  • Europe/Paris
  • Asia/Tokyo

Running as a Module

python -m icalcreate -t "Event" --time "2024-12-25 14:00" -d 1h

License

AGPL3

Metadata

Release files for icalcreate 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for icalcreate 1.0.1
File Size Uploaded Provenance Actions
icalcreate-1.0.1.tar.gz 21.8 kB Without provenance Details for icalcreate-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for icalcreate 1.0.1
File Interpreter ABI Platform Actions
icalcreate-1.0.1-py3-none-any.whl Python 3 none any Details for icalcreate-1.0.1-py3-none-any.whl

Total release size: 40.1 kB

Release files / icalcreate-1.0.1.tar.gz

Download URL icalcreate-1.0.1.tar.gz
Size 21.8 kB
Tags Source
SHA-256 checksum
How to use checksums
251d6311b98b6a99219ce49d09bafa4d065df664515a66fa9800aae03254a208
BLAKE2b-256 checksum
How to use checksums
220055f0dc2419d9dbef33950f3aa613561207cd43e2c30906cebdef8a736ef8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / icalcreate-1.0.1-py3-none-any.whl

Download URL icalcreate-1.0.1-py3-none-any.whl
Size 18.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d23b7788f5b19657de2286d320057c8d6976cee64042fb3b77bc1eed3453730d
BLAKE2b-256 checksum
How to use checksums
5b84fe2c95cd9a306e1c667170236b0986f4ea60b8bde36d2fa4c58abf866642
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for icalcreate 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

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