Skip to main content

aladhan.py is a pythonic wrapper for the Aladhan prayer times API.

PyPI version info Supported Python versions Discord support server Code coverage

Installation

Python 3.7 or higher is required.

To Install aladhan.py with pip:

pip install aladhan.py

Quick Example

import aladhan

client = aladhan.Client()
prayer_times = client.get_timings_by_address("London")
for prayer_time in prayer_times:
    print(prayer_time)

You can look into more examples here

Contribute

Support

If you are having issues, please let me know by joining the discord support server

License

The project is licensed under the MIT license.

Metadata

Release files for aladhan.py 1.2.2

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

Source distribution (sdist)

Source distribution for aladhan.py 1.2.2
File Size Uploaded Provenance Actions
aladhan_py-1.2.2.tar.gz 24.2 kB Without provenance Details for aladhan_py-1.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aladhan.py 1.2.2
File Interpreter ABI Platform Actions
aladhan_py-1.2.2-py3-none-any.whl Python 3 none any Details for aladhan_py-1.2.2-py3-none-any.whl

Total release size: 48.7 kB

Release files / aladhan_py-1.2.2.tar.gz

Download URL aladhan_py-1.2.2.tar.gz
Size 24.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2c0d03013fb1713addcbf91899d5f4f0c84e1c68a681dba0c6a930f2d84055bf
BLAKE2b-256 checksum
How to use checksums
e38127450094a2184a539453335efc4fbba25928a73b022789556dc064b9f5b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / aladhan_py-1.2.2-py3-none-any.whl

Download URL aladhan_py-1.2.2-py3-none-any.whl
Size 24.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
09d5efa03c2114e3d90e5e18d0e66dc7fba226370e3b434f59e0c25435b12b32
BLAKE2b-256 checksum
How to use checksums
fbc6a97171805d2664c80906dc61ca7f6ee899595e5d98fced39143e2759d128
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Security for aladhan.py 1.2.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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