Skip to main content

A Python wrapper for the Aladhan prayer times API

Project description

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

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.

Project details


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)

Uploaded Source

Built Distribution

aladhan.py-1.2.0-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

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

Hashes for aladhan.py-1.2.0.tar.gz
Algorithm Hash digest
SHA256 00001b51dc442ffbe8e15cde08fae15aeafd58beeb46804740b610443189209d
MD5 69244aad834c42770d7418c949634917
BLAKE2b-256 7c90a5f8f86255d597cec67df944043fbaccf01547521e8985dd7073f93d7c9d

See more details on using hashes here.

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

Hashes for aladhan.py-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a302d29ba7075529a5ff8943aae1a4cce6af031c1cfbcd3a3f0cb31c3f34930a
MD5 e8cb4fa42c15beac636d8554a643b6e5
BLAKE2b-256 e8200c6f8f9b78a344eaec575271aa8c811db7a1296f512c6d461a37ad85902a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page