Prayer Times (Global)
Get instant, accurate Islamic prayer times for any location worldwide. Auto-detects your city or accepts any city/country name. Handles typos with smart fuzzy search. Perfect for Muslims anywhere in the world.
Usage
Auto-detect your location:
prayer times
prayer times today
what time is prayer?
Any city worldwide:
prayer times Makkah
prayer times Madinah
prayer times Dubai
prayer times London
prayer times New York
prayer times Karachi
prayer times Jakarta
prayer times Istanbul
prayer times Sydney
Specific prayers:
Asr in Dubai
Maghrib in Makkah
Fajr in Cairo
Dhuhr in New York
Isha in Kuala Lumpur
Works with typos: "Meca", "Dubay", "Istanbol" - fuzzy search finds it!
Features
✅ Auto-detects your location (via IP)
✅ Works for ANY city worldwide
✅ Handles typos and misspellings
✅ Shows location clearly at top of results
✅ 12-hour format (AM/PM)
✅ Uses ISNA calculation method
Examples
python prayer_times.py
# Auto-detects and shows times
python prayer_times.py Makkah
# Shows times for Makkah, Saudi Arabia
python prayer_times.py "New York"
# Shows times for New York, USA
python prayer_times.py Dubai
# Shows times for Dubai, UAE
python prayer_times.py Istanbul
# Shows times for Istanbul, Turkey
Supported Locations
Anywhere in the world! Examples:
- Middle East: Makkah, Madinah, Dubai, Riyadh, Jeddah, Cairo, Jerusalem, Amman, Doha, Kuwait City
- Asia: Karachi, Lahore, Dhaka, Jakarta, Kuala Lumpur, Singapore, Mumbai, Delhi, Islamabad
- Europe: London, Paris, Berlin, Amsterdam, Brussels, Rome, Madrid, Istanbul
- UK: Birmingham, Manchester, Leicester, Glasgow, Bradford, Leeds
- Americas: New York, Toronto, Chicago, Los Angeles, Houston, Montreal
- Africa: Cairo, Casablanca, Tunis, Nairobi, Johannesburg
- Australia: Sydney, Melbourne, Perth, Brisbane
Data Sources
- Location Detection: ipapi.co (auto-detect from IP)
- Geocoding: OpenStreetMap Nominatim (global coverage)
- Prayer Times: Aladhan API (ISNA method)
Permissions
- Internet access (to fetch location and prayer times)
- No file system access
- No personal data stored
Output Format
============================================================
🕌 PRAYER TIMES - MAKKAH, SAUDI ARABIA
📅 08 Feb 2026
============================================================
Fajr: 05:12 AM
Sunrise: 06:34 AM
Dhuhr: 12:28 PM
Asr: 03:42 PM
Maghrib: 06:21 PM
Isha: 07:51 PM
============================================================
Location is displayed clearly at top with country name.
Perfect For
- Muslims worldwide checking daily prayer times
- Travelers needing local times anywhere
- Expats checking times for home country
- Hajj/Umrah travelers (Makkah/Madinah times)
- Anyone planning travel to Muslim countries
- Students studying abroad
- Business travelers
Version
1.0.0 - Initial release (Global coverage)
1---2name: prayer-times3description: Get instant, accurate Islamic prayer times for any location worldwide. Auto-detects your city or accepts any city/country name globally. Handles typos with smart fuzzy search. Shows Fajr, Sunrise, Dhuhr, Asr, Maghrib, and Isha times in 12-hour format. Works anywhere - UK, USA, Middle East, Asia, Europe, Australia, Africa. Uses ISNA calculation method via Aladhan API. Perfect for Muslims worldwide checking daily salah times.4---56# Prayer Times (Global)78Get instant, accurate Islamic prayer times for any location worldwide. Auto-detects your city or accepts any city/country name. Handles typos with smart fuzzy search. Perfect for Muslims anywhere in the world.910## Usage1112**Auto-detect your location:**13```14prayer times15prayer times today16what time is prayer?17```1819**Any city worldwide:**20```21prayer times Makkah22prayer times Madinah23prayer times Dubai24prayer times London25prayer times New York26prayer times Karachi27prayer times Jakarta28prayer times Istanbul29prayer times Sydney30```3132**Specific prayers:**33```34Asr in Dubai35Maghrib in Makkah36Fajr in Cairo37Dhuhr in New York38Isha in Kuala Lumpur39```4041Works with typos: "Meca", "Dubay", "Istanbol" - fuzzy search finds it!4243## Features4445✅ Auto-detects your location (via IP)46✅ Works for ANY city worldwide47✅ Handles typos and misspellings48✅ Shows location clearly at top of results49✅ 12-hour format (AM/PM)50✅ Uses ISNA calculation method5152## Examples53```bash54python prayer_times.py55# Auto-detects and shows times5657python prayer_times.py Makkah58# Shows times for Makkah, Saudi Arabia5960python prayer_times.py "New York"61# Shows times for New York, USA6263python prayer_times.py Dubai64# Shows times for Dubai, UAE6566python prayer_times.py Istanbul67# Shows times for Istanbul, Turkey68```6970## Supported Locations7172**Anywhere in the world!** Examples:7374- **Middle East:** Makkah, Madinah, Dubai, Riyadh, Jeddah, Cairo, Jerusalem, Amman, Doha, Kuwait City75- **Asia:** Karachi, Lahore, Dhaka, Jakarta, Kuala Lumpur, Singapore, Mumbai, Delhi, Islamabad76- **Europe:** London, Paris, Berlin, Amsterdam, Brussels, Rome, Madrid, Istanbul77- **UK:** Birmingham, Manchester, Leicester, Glasgow, Bradford, Leeds78- **Americas:** New York, Toronto, Chicago, Los Angeles, Houston, Montreal79- **Africa:** Cairo, Casablanca, Tunis, Nairobi, Johannesburg80- **Australia:** Sydney, Melbourne, Perth, Brisbane8182## Data Sources8384- **Location Detection:** ipapi.co (auto-detect from IP)85- **Geocoding:** OpenStreetMap Nominatim (global coverage)86- **Prayer Times:** Aladhan API (ISNA method)8788## Permissions8990- Internet access (to fetch location and prayer times)91- No file system access92- No personal data stored9394## Output Format95```96============================================================97🕌 PRAYER TIMES - MAKKAH, SAUDI ARABIA98📅 08 Feb 202699============================================================100101Fajr: 05:12 AM102Sunrise: 06:34 AM103Dhuhr: 12:28 PM104Asr: 03:42 PM105Maghrib: 06:21 PM106Isha: 07:51 PM107108============================================================109```110111Location is displayed clearly at top with country name.112113## Perfect For114115- Muslims worldwide checking daily prayer times116- Travelers needing local times anywhere117- Expats checking times for home country118- Hajj/Umrah travelers (Makkah/Madinah times)119- Anyone planning travel to Muslim countries120- Students studying abroad121- Business travelers122123## Version1241251.0.0 - Initial release (Global coverage)