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.0

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.0
File Size Uploaded
salahlib-0.1.0.tar.gz 14.8 kB Details

Built distribution (wheel)

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

Total release size: 29.9 kB

Release files / salahlib-0.1.0.tar.gz

Download URL salahlib-0.1.0.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b5247936b3ef5db97c27042559ec98ff04269f88f937ae328a6c137028f6e46a
BLAKE2b-256 checksum
How to use checksums
879a424ce28574fe4a9f988be82f421866f3da94154c1632c294f1b840547c8a
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.0-py3-none-any.whl

Download URL salahlib-0.1.0-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9051fc7c3f04a7dfa0970d374c430a5e3dbb950fdc34e06982b4b40adbfad398
BLAKE2b-256 checksum
How to use checksums
cdd16587f5292e5e8d17d5d273c7c6d6ef840dd388ff91db8dc15cf33fe8b994
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

0.1.1

2 release files

This release

0.1.0 This release

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