Skip to main content

salahlib (Python)

AlAdhan-compatible Islamic prayer times — the Python implementation of SalahLib.

from datetime import date
from salahlib import PrayerTimes

pt = PrayerTimes("ISNA")
times = pt.get_times(date(2024, 4, 24), 51.508515, -0.1254872, tz="Europe/London")
print(times["Fajr"])  # "03:57"

Full documentation: User Guide · calculation spec: SPEC.md.

Apache-2.0. This package is generated from the same pure kernel that is validated to float-parity (≤1e-9 h) with the Go, TypeScript and C implementations.

Release files for salahlib 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for salahlib 0.1.1
File Size Uploaded
salahlib-0.1.1.tar.gz 14.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for salahlib 0.1.1
File Interpreter ABI Platform
salahlib-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 29.9 kB

Release files / salahlib-0.1.1.tar.gz

Download URL salahlib-0.1.1.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4486708d80437218fbec4b1160f9b1e7368651596f4cc7fa9e345ae9ee5c6203
BLAKE2b-256 checksum
How to use checksums
dcf27dfe7a6694f8c6289fe4ccad684a82c7df1821c1dc9ac6d33925eadb45cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.

Transparency log

Release files / salahlib-0.1.1-py3-none-any.whl

Download URL salahlib-0.1.1-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
070570ea2aaa3fcb78a06c8e8c3c51d7e868b9174cc5a4f906b1d18b64b72541
BLAKE2b-256 checksum
How to use checksums
32fa221595691888d74bf7dc213013a82f938302782d2b6e9b33c077ab551c30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page