← All resources

Prayer Times

Calculation libraries and APIs for salah times, qibla direction, and every major calculation method.

9 results
MIT

Kotlin Multiplatform prayer time calculation library available on Maven Central. Targets Android, JVM, iOS, and JavaScript from a single codebase. Published as com.batoulapps.adhan:adhan2.

maven
Free Maintained
Open ↗ Repo
Jun '26
Prayer Times

Adhan Swift

MIT

High-precision Islamic prayer time calculation library for iOS, macOS, and watchOS. Swift Package Manager and CocoaPods compatible. Supports all major calculation methods and Objective-C interop.

swift
Free Maintained
Open ↗ Repo
Jun '26
Prayer Times

Adhan.js

MIT

High-precision prayer time calculation library for JavaScript and TypeScript. Supports MWL, ISNA, Egypt, Makkah, Karachi, Tehran, and Jafari calculation methods.

npm
Free Maintained
Open ↗ Repo
Jun '26
Prayer Times

adhanpy (Python)

MIT

Python port of the Adhan prayer time library. Zero external dependencies, works offline. Install with pip. Supports all major calculation methods including MWL, ISNA, Egypt, Makkah, Karachi, Tehran, and Jafari.

pip
Free Maintained
Open ↗ Repo
Jun '26
MIT

REST API for Islamic prayer times, Hijri/Gregorian calendar conversion, and Qibla direction. No API key required.

rest-api
Free Maintained
Open ↗ Docs
Jun '26
LGPL-2.1

Foundational C/C++ library by the Arabeyes project for common Islamic calculations: prayer times, Hijri/Gregorian date conversion, and qibla direction. Long-standing upstream that many downstream prayer-time tools are derived from.

source
Free Maintained
Open ↗ Repo
Jun '26
Prayer Times

Pray-Times

LGPL-3.0

Prayer time calculation library ported to seven languages — C++, Java, JavaScript, Python, Objective-C, C#/.NET, and PHP — from a single algorithm base (PrayTimes.org). Supports all major calculation methods. Useful when you need native prayer-time math in a language not covered by the Adhan family.

source
Free Maintained
Open ↗ Repo
Jun '26
Prayer Times

pyIslam

GPL-3.0

Comprehensive Python library covering prayer times, Hijri date conversion, Qibla direction, zakat calculation, and inheritance (mirath) calculation — all in one offline package.

pip
Free Maintained
Open ↗ Repo
Jun '26
Prayer Times

Salah (Rust)

MIT

Rust crate for Islamic prayer time calculation using the Jean Meeus astronomical algorithms. Available on crates.io as 'salah'. Suitable for server-side, embedded, and WebAssembly targets.

cargo
Free Maintained
Open ↗ Repo
Jun '26