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.0.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.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hejri_date-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 f0744b5771c6d05dd10c4b9f06c6ecea350cbc32412c507d1d18e0004ac57cb7
MD5 3eaef71eef06eaa6eed5d3155bc748ff
BLAKE2b-256 446c50a8dda84b300b7f1653cebd2d186856ede54e52e2f91abe4e2a1b54ef4d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hejri_date-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 55a86050efc8f133d9948a2e662b6f24235914c9879e6e2ad2cd6a965012b921
MD5 a6c6a1a5fd99efb4a3b2df7dd59e1b7d
BLAKE2b-256 5666fd5d2a27fde1f80d28bb1168217703226bd4f738a6e17e41b83a4c4fde8c

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