Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rastaldev/prayer_times

Display daily Islamic prayer times in a terminal
https://github.com/rastaldev/prayer_times

cli commandline islam islamic-apps islamic-prayer-times muslim muslim-app muslim-prayer-times pandas pandas-dataframe pandas-python prayer-muslim python python3 salah salat script terminal terminal-based tui

Last synced: 4 days ago
JSON representation

Display daily Islamic prayer times in a terminal

Awesome Lists containing this project

README

        

# Islamic Prayer Times

![python](https://img.shields.io/badge/Python-FFD43B?style=for-the-badge&logo=python&logoColor=blue) ![pandas](https://img.shields.io/badge/Pandas-2C2D72?style=for-the-badge&logo=pandas&logoColor=white)

## Python script to display a daily Islamic prayer timetable

- Python script to scrape website content and parse the relevant content into a pandas dataframe to display to the user.
- This script, by default, uses the prayer timetable of timesprayer.com for Westminster, London.
- Script can be modified to display the prayer times from any location.
- Wherever you live, see [here](https://timesprayer.com/en/) for a list of different countries / cities with their respective prayer times. Select the nearest city to your location and then modify the script accordingly by inserting the appropriate URL.

## Necessary Python libraries which must be installed to run the script

- `urllib.request` is a standard library for Python3.
- [html-table-parser](https://pypi.org/project/html-table-parser-python3/): Install with pip using `pip install html-table-parser-python3`
- [pandas](https://pypi.org/project/pandas/): Install with pip using `pip install pandas`

## Example of output when script is run in a terminal emulator

![screenshot](./example.png)

## Developer(s)

This repository is maintained by:

| [![RastalDev](https://github.com/rastaldev.png?size=100)](https://github.com/rastaldev) |
| --------------------------------------------------------------------------------------- |
| [RastalDev](https://github.com/rastaldev) |

## License

This script is licensed under [GPLv3.](https://github.com/RastalDev/prayer_times/blob/master/LICENSE)

![gplv3.png](./gplv3.png)