hijri-converter
[DEPRECATED] Use 'hijridate' package instead
What it is and what it does
hijri-converter performs bidirectional conversion between Hijri and Gregorian calendar dates. It depends on hijridate, which is its own actively maintained successor package. The library provides Hijri and Gregorian classes for date manipulation and comparison.
The package is explicitly deprecated and will receive no further updates. Its documentation directs all new users to install hijridate instead, which offers identical API and functionality. Existing code using hijri-converter can migrate by changing only the import statement—the classes and methods remain the same.
Use it for:
- Convert Gregorian dates to Hijri for Islamic calendar applications or localization.
- Build date pickers or scheduling systems that support both Gregorian and Hijri calendars.
- Parse or validate Hijri dates in data processing pipelines.
- Display Islamic calendar dates in web or desktop applications serving Muslim users.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Converts between Hijri (Islamic) and Gregorian calendar dates. This package is deprecated; the actively maintained successor is hijridate.
No. Do not install hijri-converter. The package is deprecated (Development Status :: 7 - Inactive) and explicitly directs users to hijridate instead. If you need Hijri-Gregorian conversion, install hijridate directly—it has identical API and active maintenance. If you maintain legacy code using hijri-converter, plan a migration.
Install
hijri-converter on PyPI
pip
pip install hijri-converteruv
uv add hijri-converterpoetry
poetry add hijri-converterInstalling hijri-converter
Before you install
Low install friction, but the package is marked inactive (Development Status :: 7 - Inactive) and explicitly deprecated. No updates are planned.
License in practice
MIT license permits commercial and private use with minimal restrictions, but this is moot given the package's deprecated status.
Quickstart
pip install hijri-converter==2.3.2.post1
from hijri_converter import Hijri, Gregorian
# Package is deprecated; migrate to hijridate instead
Package is deprecated and will not receive updates; hijridate is the recommended replacement with identical API.
Verify before relying
- Whether existing deployments will continue to work or if migration to hijridate is urgent for your use case.
- Security implications of using a package marked Development Status :: 7 - Inactive in production.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — hijridate |
| Maintenance | aging — 383 days since the last release |
| First released | |
| Downloads | 2,715,397/month — #2,924 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: hijri_converter-2.3.2.post1-py3-none-any.whl
Keywords: deprecated, hijri, gregorian, date, converter
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
hijridateConverts dates between the Hijri (Islamic) and…
permissive · top 5,000 on PyPI
ummalquraConverts between Gregorian and Hijri calendar…
unclear · top 15,000 on PyPI
pyCalverterConverts between different calendar systems,…
copyleft · top 15,000 on PyPI
convertdateConverts dates between the Gregorian calendar…
permissive · top 5,000 on PyPI
banglaConverts Gregorian dates to the Bengali…
permissive · top 15,000 on PyPI
jdcalConverts between Julian dates and Gregorian or…
permissive · top 5,000 on PyPI
hdateProvides Hebrew date information and Jewish…
copyleft · top 15,000 on PyPI
korean-lunar-calendarConverts dates between the Korean lunar…
permissive · top 5,000 on PyPI
pyluachConverts between Hebrew and Gregorian calendar…
permissive · top 5,000 on PyPI
jdatetimejdatetime provides a Jalali (Persian) calendar…
permissive · top 15,000 on PyPI