icalendar
RFC 5545 compatible parser and generator of iCalendar files
Decision gist · record as of 2026-08-14
Yes. icalendar is a mature, actively maintained library with no security issues, low install friction, and permissive licensing. It's the standard choice for RFC 5545 calendar work in Python. Install it if you need to parse, create, or manipulate .ics files or calendar scheduling data.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low friction: pure Python wheel, three lightweight runtime dependencies (python-dateutil, typing-extensions, tzdata).
- Actively maintained with recent commits and stable production status.
License · maintenance · safety
BSD-2-Clause (permissive) — BSD-2-Clause (permissive): you can use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.
last release 2026-07-20 (25 days) · last repo commit 2026-08-13 · 1,168 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 11,774,939 downloads/mo, #1,363 on PyPI
Alternatives
Verify before relying
from icalendar import Calendar
cal = Calendar()
cal.add('prodid', '-//My calendar//EN')
cal.add('version', '2.0')
print(cal.to_ical())- Whether timezone handling with zoneinfo, dateutil.tz, or pytz requires additional setup or configuration beyond installation.
- Performance characteristics when parsing or generating large calendar files.
What it is and what it does
icalendar is an RFC 5545 compatible library for working with iCalendar format calendar files in Python. It lets you read existing .ics files, programmatically create new calendar objects with events, journals, and todos, and modify calendar data before writing it back. The package handles the structured text format that calendar applications (Outlook, Google Calendar, Apple Calendar) use to exchange scheduling information.
It depends on python-dateutil for date/time handling, tzdata for timezone data, and typing-extensions for type hints. The library supports multiple timezone implementations including the standard library's zoneinfo, dateutil.tz, and pytz, so you can work with calendar data in different timezone contexts. It's actively maintained, has no known vulnerabilities, and runs on modern Python versions (3.10 through 3.14) on both CPython and PyPy.
Use it for
- Parse calendar files exported from Google Calendar or Outlook to extract event details and metadata.
- Generate .ics files programmatically to create calendar invitations or event feeds for distribution.
- Build calendar synchronization tools that read and transform iCalendar data between systems.
- Create recurring event schedules by constructing calendar objects with recurrence rules.
- Validate and normalize calendar data to ensure RFC 5545 compliance before storage or transmission.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
icalendar is a mature, actively maintained library with no security issues, low install friction, and permissive licensing. It's the standard choice for RFC 5545 calendar work in Python. Install it if you need to parse, create, or manipulate .ics files or calendar scheduling data.
Install
icalendar on PyPI
Before you install
Low friction: pure Python wheel, three lightweight runtime dependencies (python-dateutil, typing-extensions, tzdata). Actively maintained with recent commits and stable production status.
Requires Python 3.10 or later.
License in practice
BSD-2-Clause (permissive): you can use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.
Quickstart
from icalendar import Calendar
cal = Calendar()
cal.add('prodid', '-//My calendar//EN')
cal.add('version', '2.0')
print(cal.to_ical())
Verify before relying
- Whether timezone handling with zoneinfo, dateutil.tz, or pytz requires additional setup or configuration beyond installation.
- Performance characteristics when parsing or generating large calendar files.
Package facts
| License | BSD-2-Clause permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagespython-dateutiltyping-extensionstzdata |
| Maintenance | Actively maintained 25 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 11,774,939 / month, #1,363 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy |
Evidence: icalendar-7.2.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “icalendar parser python”
- icalendarParses, creates, and modifies iCalendar files (RFC 5545 format) for…
- icsReads and writes iCalendar (RFC 5545) files in a pythonic,…
- vobjectParses and serializes iCalendar and vCard files, converting them to…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also ical · icalendar-searcher · vobject · x-wr-timezone · caldav · ics · recurring-ical-events · django-ical · icalevents · vdirsyncer