Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/rastaldev/prayer_times
- Owner: RastalDev
- License: gpl-3.0
- Created: 2022-05-08T10:14:09.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-28T14:26:48.000Z (12 months ago)
- Last Synced: 2024-12-16T16:05:36.854Z (6 days ago)
- Topics: 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
- Language: Python
- Homepage:
- Size: 44.9 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)