types-icalendar
Typing stubs for icalendar
What it is and what it does
types-icalendar is a type stub package that bridges the gap between the icalendar library and Python's static type checkers. It provides type annotations for icalendar 6.3.2, allowing mypy, pyright, and other type checkers to understand and validate code that uses icalendar's API for parsing and generating iCalendar format data. The package is maintained as part of the typeshed project, the canonical repository for type stubs in the Python ecosystem.
This package is most useful when working with icalendar 6.3.2 or earlier versions that lack built-in type annotations. It depends on two other type stub packages (types-python-dateutil and types-pytz) to provide complete type information for icalendar's date and timezone handling. The package is actively maintained and carries no known security vulnerabilities.
Use it for:
- Enable mypy or pyright type checking in projects using icalendar 6.3.2 for calendar event parsing and generation.
- Validate iCalendar data processing pipelines with static type analysis before runtime.
- Integrate icalendar into a strictly typed codebase where type safety is enforced across all dependencies.
- Catch type-related bugs in calendar integration code during development rather than at runtime.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type stubs for the icalendar package, enabling static type checkers like mypy and pyright to validate code that uses icalendar for iCalendar format handling.
Yes, if you use icalendar 6.3.2 and rely on static type checking. Install friction is minimal and the package is actively maintained with no vulnerabilities. However, if you are already using icalendar 7.0.0 or later, uninstall this package—the library now includes its own type annotations, making this stub package redundant.
Install
types-icalendar on PyPI
pip
pip install types-icalendaruv
uv add types-icalendarpoetry
poetry add types-icalendarInstalling types-icalendar
Before you install
Low install friction with only two type-stub runtime dependencies (types-python-dateutil and types-pytz). Actively maintained as of 2026-08-14 with no known vulnerabilities.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in most projects without significant legal constraints.
Quickstart
pip install types-icalendar
# In your code with mypy or pyright enabled:
import icalendar
cal = icalendar.Calendar()
# Type checker now understands icalendar's API
Requires Python 3.10 or later. Note: icalendar 7.0.0+ includes its own type annotations, so this package is redundant for those versions.
Verify before relying
- Whether mypy 2.2.0 and pyright 1.1.411 remain the latest tested versions or if newer type checker versions have been validated since the package's last release.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — types-python-dateutil, types-pytz |
| Maintenance | actively maintained — 33 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 124,337/month — #11,873 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: types_icalendar-6.3.2.20260712-py3-none-any.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
types-MarkdownProvides type stubs for the Markdown package,…
permissive · top 5,000 on PyPI
types-pyRFC3339Provides type hints for pyRFC3339, enabling…
permissive · top 15,000 on PyPI
types-croniterProvides type stubs for the croniter package,…
permissive · top 5,000 on PyPI
types-vobjectProvides type stubs for the vobject package,…
permissive · top 15,000 on PyPI
types-decoratorProvides type stubs for the `decorator`…
permissive · top 5,000 on PyPI
types-pyflakesProvides type stubs for the pyflakes static…
permissive · top 15,000 on PyPI
types-netaddrProvides type stubs for the netaddr package,…
permissive · top 15,000 on PyPI
types-Flask-CorsProvides type stubs for Flask-Cors to enable…
permissive · top 5,000 on PyPI
types-mypy-extensionsProvides type stubs for mypy-extensions,…
permissive · top 15,000 on PyPI
types-cachetoolsProvides type stubs for cachetools, enabling…
permissive · top 1,000 on PyPI