Skip to main content

Hijri date conversion via free web API.

Project description

hejri_date

Simple Hijri date conversion using Aladhan API.

Install

pip install hejri_date

Usage

from datetime import date
from hejri_date import get_hijri_date

h = get_hijri_date(date(2025, 1, 15))
print(h.formatted())

Notes

  • Uses Aladhan gToH endpoint.
  • adjustment can be used to shift by days (e.g., local moon sighting).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hejri_date-0.1.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hejri_date-0.1.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file hejri_date-0.1.1.tar.gz.

File metadata

  • Download URL: hejri_date-0.1.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for hejri_date-0.1.1.tar.gz
Algorithm Hash digest
SHA256 81f005fdce6b449902eac75ab19d260cfcade8cb8f6ca1e0d18a959d1005d728
MD5 19c9f943f13599a42dc14334d190100d
BLAKE2b-256 97d523c278ea1910bb95c051413ee9bd6094c3fb394b069c9a9d3bad24c4724b

See more details on using hashes here.

File details

Details for the file hejri_date-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: hejri_date-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for hejri_date-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1d7cfe4df12cf42a2e235526497a8d1f9ce29cb904e0d3bfee77042be6eac2fd
MD5 85de3924011ecfe066b3d466cdfea868
BLAKE2b-256 4d4611c7b32b40a1fb6d77d2e5f4416d143a6883bc619abb54a5caf1922eba5c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page