A Python package to calculate Islamic prayer times for any location in the world.
Project description
Al Adhan - Islamic prayer times API in Python!
Without any API keys, authentication, or registration, you can use this API to get the Islamic prayer times for any location in the world for free using Python, this project uses the aladhan.com official prayer times API (thanks to them for the great work and free API).
I have made this API to convert the JSON responses from the aladhan.com API and simplify them to a Python objects and classes, so you can use them in your Python projects and they are easy to use.
This is still the alpha version, there is a lot of coming features, also note that any big changes in the API will happen at any time!
If you find any bugs or problems, please report them in the issues page.
Features
- Get the prayer times for any location in the world.
- Get the prayer times for any date.
- No API keys, authentication, or registration required.
- Converting the JSON responses to Python objects.
- 3 Location methods: Coordinates, City, and Address.
Installation
The project is available on PyPI, so you can install it using pip:
pip install aladhan
If you have an older version of the API, you can update it to the latest version using:
pip install aladhan --upgrade
Documentation
Not available yet, but coming soon.
Versioning
v1.0.0 (Alpha)
- Initial release.
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
File details
Details for the file aladhan-api-1.0.0.tar.gz
.
File metadata
- Download URL: aladhan-api-1.0.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5947e4740a304dd9d191ffae88f0b2328d234d5b80c159639b364a470872ebe2 |
|
MD5 | 8458a7bd03c78616e2acb361f97cff00 |
|
BLAKE2b-256 | c40fe7bd636f34315e11a028027e6e257ef67df437c86de5afdab38056febd6f |