Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
A Python package to convert accurately between Hijri and Gregorian dates using the Umm al-Qura calendar.
⚠️ Deprecation Notice
This package has been deprecated and will not receive future updates. Please use the hijridate package instead.
For migration to
hijridate
, install the package:pip install hijridate~=2.3.0
Then change the import statement as:
from hijridate import Hijri, Gregorian
To install using pip
, run:
pip install hijri-converter
To install using conda
, run:
conda install -c conda-forge hijri-converter
from hijri_converter import Hijri, Gregorian
# Convert a Hijri date to Gregorian
g = Hijri(1403, 2, 17).to_gregorian()
# Convert a Gregorian date to Hijri
h = Gregorian(1982, 12, 2).to_hijri()
Please see https://hijri-converter.readthedocs.io for full documentation of this package, including background, benchmarking, usage examples and API reference.
This project is licensed under the terms of the MIT license.
FAQs
Accurate Hijri-Gregorian dates converter based on the Umm al-Qura calendar
We found that hijri-converter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.