AlAdhan
A Python package to calculate Islamic prayer times for any location in the world.
Install / Use
/learn @Kh4lidMD/AlAdhanREADME
Sorry for the long time not working on this project since I was very busy in the past months, I will archive this project for now and remake another better one so make sure to follow me for the latest updates.
Al Adhan - Islamic prayer times API in Python!
Without any API keys, authentication, or registration, you can use this API to get the Islamic Adhan (a call to 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.
<img src="./thumbnail.jpg">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.
<br>Learn more about Adhan in Wikipedia
<br>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 and OOP based.
- More adhan metadata made by the module, such as the number of rakat in salah, sunnan al rawatib rakat number, is hijri or secret salah, etc.
Installation
The project is available on PyPI, so you can install it using pip:
pip install aladhan-api
If you have an older version of the API, you can update it to the latest version using:
pip install aladhan-api --upgrade
<br>
Documentation
Detailed documentation for the API can be found at Read the Docs.
<br>Versioning
v1.0.0 (Alpha) - initial release
<br>See all the releases here.
<br><br>
<h3 align="center"> وَأَقِيمُوا الصَّلَاةَ وَآتُوا الزَّكَاةَ ۚ وَمَا تُقَدِّمُوا لِأَنفُسِكُم مِّنْ خَيْرٍ تَجِدُوهُ عِندَ اللَّهِ ۗ إِنَّ اللَّهَ بِمَا تَعْمَلُونَ بَصِيرٌ <br><br> سورة البقرة، آية : 110 </h3> <hr>Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
