Skip to main content

Time to Pray Time to Pray Icon

Time to Pray is a desktop utility designed to keep you informed about Islamic prayer times. Directly from your system tray, view a real-time countdown to the next prayer. The application proactively retrieves the monthly prayer schedule for your chosen location and caches the data for instantaneous reference. Stay on track with your prayer commitments, knowing the exact time remaining until the next call.

Features

  • Real-time countdown to the next prayer, accessible from the system tray.
  • Proactively fetches the monthly prayer schedule based on your configured location.
  • Easy-to-access "Settings" dialog for configuring your preferred city and selecting your desired prayer times calculation method.
  • Utilizes PyQt6 for a seamless user interface experience.

Setup & Installation

Using pip (Recommended)

pip install time-to-pray

After installation, you can run the application with:

time-to-pray

Manual Installation

1. Clone the Repository

git clone https://github.com/omerbustun/time-to-pray.git
cd time-to-pray

2. Install Dependencies

Make sure you have Python installed. Then, install the required packages:

pip install -r requirements.txt

3. Run

To run the application:

python src/main.py

Usage

Once launched, an icon will appear in your system tray. Right-click the icon to access the settings or hover to view the detailed countdown.

Configuration

The application uses the settings.json file for configuration. You can use the "Settings" dialog in the application or manually edit this file (not recommended). The configuration parameters are:

  • city: The city you are located in.
  • country: The country name or code (e.g., "tr" for Turkey).
  • latitude & longitude: The geographical coordinates of your location. The application automatically fetches these from the API based on the specified city and country.
  • method: The method used to calculate prayer times.

Acknowledgements

This project utilizes the Aladhan API to fetch prayer times. We are grateful to Aladhan.com for providing this valuable service to the community.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the GNU General Public License, version 3 (GPLv3). See the LICENSE file for the full license text.

Release files for time-to-pray 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for time-to-pray 0.1.1
File Size Uploaded
time-to-pray-0.1.1.tar.gz 20.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for time-to-pray 0.1.1
File Interpreter ABI Platform
time_to_pray-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 42.0 kB

Release files / time-to-pray-0.1.1.tar.gz

Download URL time-to-pray-0.1.1.tar.gz
Size 20.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9b36ce3619926bd472cf1bdf2e783e8cf2e8027882cd3716b8ebe49ef4dea411
BLAKE2b-256 checksum
How to use checksums
c1d8a0f55523b4ccface8e9c1eb4fb38836f4200ba5ff6d2d463920a2ef6a302
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / time_to_pray-0.1.1-py3-none-any.whl

Download URL time_to_pray-0.1.1-py3-none-any.whl
Size 21.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
73110c9fd6a57f800262decc1900cae52479594325305721de9b798f2b55572c
BLAKE2b-256 checksum
How to use checksums
2848237775d71f890a622816cc726db9d4e4cd9c89cfced9ebf79d36fc739418
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page