A Python wrapper for the Aladhan prayer times API
Project description
aladhan.py is a pythonic wrapper for the Aladhan prayer times API.
Installation
Python 3.7 or higher is required.
To Install aladhan.py with pip:
pip install aladhan.py
To install only with synchronous requirements
pip install aladhan.py[sync]
To install only with asynchronous requirements
pip install aladhan.py[async]
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.
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aladhan.py-1.2.0.tar.gz
(23.2 kB
view details)
Built Distribution
File details
Details for the file aladhan.py-1.2.0.tar.gz
.
File metadata
- Download URL: aladhan.py-1.2.0.tar.gz
- Upload date:
- Size: 23.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00001b51dc442ffbe8e15cde08fae15aeafd58beeb46804740b610443189209d |
|
MD5 | 69244aad834c42770d7418c949634917 |
|
BLAKE2b-256 | 7c90a5f8f86255d597cec67df944043fbaccf01547521e8985dd7073f93d7c9d |
File details
Details for the file aladhan.py-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: aladhan.py-1.2.0-py3-none-any.whl
- Upload date:
- Size: 24.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a302d29ba7075529a5ff8943aae1a4cce6af031c1cfbcd3a3f0cb31c3f34930a |
|
MD5 | e8cb4fa42c15beac636d8554a643b6e5 |
|
BLAKE2b-256 | e8200c6f8f9b78a344eaec575271aa8c811db7a1296f512c6d461a37ad85902a |