convertdate
Converts between Gregorian dates and other calendar systems
What it is and what it does
Convertdate is a calendar-conversion library that translates dates between the Gregorian calendar and 15+ alternative systems: Armenian, Bahai, Coptic, French Republican, Hebrew, Indian Civil, Islamic, Julian, Mayan, Persian, Positivist, ISO, Ordinal, Dublin day count, and Julian day count. It also includes a holidays module for calculating dates of North American, Mexican, and Jewish holidays, plus Easter across Western, Orthodox, and Eastern Christian traditions.
The package handles edge cases like dates before the Common Era (using astronomical year notation where 1 BC = year 0), proleptic calendars for dates before their historical adoption, and calendar-specific leap-year rules. Each calendar module provides conversion functions and a monthcalendar() method to generate calendar grids. It is a pure-Python library with low install friction and no system dependencies.
Use it for:
- Convert user-submitted dates in Hebrew or Islamic calendars to Gregorian for storage or display in international applications.
- Calculate the date of Easter or other moveable holidays for scheduling or liturgical purposes across different Christian traditions.
- Generate calendar grids for historical or religious date pickers that need to display multiple calendar systems side-by-side.
- Compute Julian day numbers for astronomical calculations or long-term date arithmetic across calendar boundaries.
- Determine the nth occurrence of a weekday in a month (e.g., third Thursday) for scheduling recurring events.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Converts dates between the Gregorian calendar and 15+ alternative calendar systems including Hebrew, Islamic, Julian, French Republican, Mayan, and others, plus calculates holidays across North American, Jewish, and other traditions.
Yes, if you need reliable calendar conversion or holiday calculation. The library is mature, permissively licensed, has no security vulnerabilities, and supports modern Python versions. The 'aging' maintenance status and 187 days since last release indicate stability rather than abandonment—suitable for stable calendar logic. Install only if you actually need multi-calendar support; the single pymeeus dependency is manageable.
Install
convertdate on PyPI
pip
pip install convertdateuv
uv add convertdatepoetry
poetry add convertdateInstalling convertdate
Before you install
Low install friction; pure Python wheel with a single runtime dependency (pymeeus). Last commit 2026-02-08 and maintenance status 'aging' suggest the package is stable but not actively developed—suitable for stable calendar logic but not for rapid feature additions.
License in practice
MIT License (permissive) permits commercial and private use, modification, and redistribution with minimal restrictions—standard terms for a utility library.
Quickstart
pip install convertdate
from convertdate import hebrew, french_republican
print(hebrew.from_gregorian(2014, 10, 31)) # (5775, 8, 7)
print(french_republican.from_gregorian(2014, 10, 31)) # (223, 2, 9)
Verify before relying
- Accuracy and completeness of astronomical calculations for historical dates before the Common Era.
- Whether the single runtime dependency (pymeeus) is actively maintained and whether its updates could affect convertdate behavior.
Package facts
| License | The MIT License (MIT) Copyright (c) 2014-2022 Neil Freeman Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (<4,>=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — pymeeus |
| Maintenance | aging — 187 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 4,360,640/month — #2,322 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: convertdate-2.4.1-py3-none-any.whl
Keywords: calendar, date, time
Tags
More Astronomy packages
Albumentations applies image transformations to…
permissive · top 5,000 on PyPI
jdcalConverts between Julian dates and Gregorian or…
permissive · top 5,000 on PyPI
pyerfaPyERFA wraps the ERFA C library (Essential…
permissive · top 5,000 on PyPI
PyMeeusPyMeeus implements astronomical algorithms from…
copyleft · top 5,000 on PyPI
ephemPyEphem computes high-precision positions of…
permissive · top 5,000 on PyPI
numpy-quaternionAdds a quaternion dtype to NumPy, enabling…
permissive · top 5,000 on PyPI
pyCalverterConverts between different calendar systems,…
copyleft · top 15,000 on PyPI
pyluachConverts between Hebrew and Gregorian calendar…
permissive · top 5,000 on PyPI
yearfracComputes fractional year differences between…
permissive · top 15,000 on PyPI
banglaConverts Gregorian dates to the Bengali…
permissive · top 15,000 on PyPI
ummalquraConverts between Gregorian and Hijri calendar…
unclear · top 15,000 on PyPI
hdateProvides Hebrew date information and Jewish…
copyleft · top 15,000 on PyPI
hijridateConverts dates between the Hijri (Islamic) and…
permissive · top 5,000 on PyPI
epiweeksCalculates epidemiological weeks using US CDC…
permissive · top 15,000 on PyPI
lunardateConverts between Gregorian (solar) and Chinese…
copyleft · top 5,000 on PyPI