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.6 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.0.0.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

aladhan.py-1.0.0-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file aladhan.py-1.0.0.tar.gz.

File metadata

  • Download URL: aladhan.py-1.0.0.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for aladhan.py-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1eae6c4caff84972be59b361bea439cd8600629fd528734d7b2da15022708d9f
MD5 4f51a92136b70769e1bd1794fb1fbf3c
BLAKE2b-256 1fd4a06224632252cbd1eb5f6e6e72b73010166f7f8fd48130ae85f7f9d75e00

See more details on using hashes here.

File details

Details for the file aladhan.py-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: aladhan.py-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 18.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for aladhan.py-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f084ff61f17e206ae9172e38acd6ee16fb6f0a1f9404897eccef4054ab6b9037
MD5 47efe7e9f02fb3c19f2b0b4aa557c388
BLAKE2b-256 4e2b69baecc33e99acb4280b2e806515c3368c095add28e0bb54e93a9a9f417f

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