Python package to get Islamic prayer times for any city using Aladhan API, for Muslims and Islam
Project description
🕌 NamazTime
NamazTime is a Python package that retrieves Islamic prayer times for a given city using the Aladhan API. It provides daily and weekly prayer schedules based on different calculation methods.
🌟 Features
- Retrieve today's prayer times for any city.
- Get prayer times for the next 7 days.
- Supports multiple calculation methods and fiqh schools.
- Timezone detection for accuracy.
📦 Installation
Install NamazTime using pip:
pip install namaztime
from namaztime import NamazTime as namaztime
praytimes = namaztime("Tashkent")
print(praytimes.today()) # Get today's prayer times
print(praytimes.weekly()) # Get weekly prayer times
print(praytimes.get_special_date("21-03-2025" <- example)) # Get prayer times for a specific date
📄 README.md (O‘zbek tilida)
🕌 NamazTime
NamazTime — bu Islomiy namoz vaqtlari haqida ma'lumot beruvchi Python paketi. U Aladhan API orqali namoz vaqtlarini olib keladi va kunlik yoki haftalik namoz jadvalini taqdim etadi.
🌟 Xususiyatlari
- Istalgan shahar uchun bugungi namoz vaqtlarini olish.
- Kelgusi 7 kunlik namoz vaqtlarini chiqarish.
- Turli hisoblash usullari va fiqh maktablarini qo‘llab-quvvatlash.
- To‘g‘ri vaqtni aniqlash uchun vaqt zonalarini aniqlash.
📦 O‘rnatish
NamazTime'ni pip orqali o‘rnating:
pip install namaztime
from namaztime import NamazTime
praytimes = NamazTime("Toshkent")
print(praytimes.today()) # Bugungi namoz vaqtlarini olish
print(praytimes.weekly()) # Haftalik namoz vaqtlarini olish
print(praytimes.get_special_date("25-03-2025" <- misol)) # Belgilangan sana uchun namoz vaqtlarini olish
🕌 NamazTime
NamazTime — это Python-библиотека, которая предоставляет расписание исламских молитв для указанного города, используя Aladhan API. Позволяет получать данные как на один день, так и на неделю.
🌟 Возможности
- Получение времени намаза на сегодня для любого города.
- Получение расписания намазов на 7 дней.
- Поддержка различных методов расчёта и мазхабов.
- Определение часового пояса для точности времени.
📦 Установка
Установите NamazTime с помощью pip:
pip install namaztime
praytimes = NamazTime("Ташкент")
print(praytimes.today()) # Получить время намаза на сегодня
print(praytimes.weekly()) # Получить расписание намазов на неделю
print(praytimes.get_special_date("25-03-2025" <- пример)) # Получить время намаза на определенную дату
📚 Supported API
NamazTime uses the Aladhan API to fetch prayer times.
API Documentation: aladhan.com
🙏 Acknowledgment
This project uses the Aladhan API to provide accurate prayer times.
A huge thank you to the Aladhan team for their incredible service!
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file namaztime-1.1.0.tar.gz.
File metadata
- Download URL: namaztime-1.1.0.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75d052a9b1acd4ba0c9d9b9025147a89ea927180a19d230d1aa8f6c4290280f8
|
|
| MD5 |
811c85215a3597690a2051e7d027ba3d
|
|
| BLAKE2b-256 |
4991b5a2f3029263c843daa9fe7525e7e462d0fa95d3e172ee2c0e85a658b2fd
|
File details
Details for the file namaztime-1.1.0-py3-none-any.whl.
File metadata
- Download URL: namaztime-1.1.0-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
241d57266ad730b9d3bda91bb226b88a1d0ed7813b9a43935e85ea5c94d4feea
|
|
| MD5 |
8dae9f38d9968a5a3363eaa13113b44a
|
|
| BLAKE2b-256 |
e46c9df3a92864c94dc14739de96804fa17c6b6ead6b1718a1f00b79cf160280
|