Skip to main content

Moroccan Prayer Times CLI

Project description

Moroccan Prayer Times CLI

A command-line interface (CLI) application to fetch and display Moroccan prayer times for the current day or the next prayer time remaining, using data provided by the official Moroccan Ministry of Habous and Islamic Affairs website (https://habous.gov.ma/).

Features

  • Display today's prayer times for a selected Moroccan city
  • Show the time remaining until the next prayer
  • Configure the preferred city and language
  • Caching of fetched prayer times for better performance
  • Localization support for Arabic, English, and French languages

Installation

You can install the package from PyPI using pip:

pip install moroccan-prayer-times

Usage

After installation, you can run the CLI application with the following commands:

prayer-times help

This will display the list of available commands and their descriptions.

Commands

  • prayer-times today: Display today's prayer times for the configured city.
  • prayer-times next: Show the time remaining until the next prayer.
  • prayer-times config: Display the current configuration (city and language).
  • prayer-times setup: Configure the preferred city and language.
  • prayer-times help: Show the help message.

Configuration

The first time you run the application, it will prompt you to select a city (english is the default language). These settings will be saved for future use.

You can change the city or the language anytime using the setup command.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on the GitHub repository.

License

This project is licensed under the MIT License.

Acknowledgments

This application utilizes the following third-party libraries:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

moroccan_prayer_times-0.0.13.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

moroccan_prayer_times-0.0.13-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file moroccan_prayer_times-0.0.13.tar.gz.

File metadata

File hashes

Hashes for moroccan_prayer_times-0.0.13.tar.gz
Algorithm Hash digest
SHA256 20a87677dcd3591c1a9058d0e39e41df253e8e78b30f033ebdf51366d012a0a7
MD5 2cad744b6928e7309cc87a4f584971f5
BLAKE2b-256 defb2433715afa341f443ea4af55becb630fe065df4e8e79d9cb70f5131df348

See more details on using hashes here.

File details

Details for the file moroccan_prayer_times-0.0.13-py3-none-any.whl.

File metadata

File hashes

Hashes for moroccan_prayer_times-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 a0737a792f077fb9245b18170274e1bb88b85e7d69091e2d9475363972d807ad
MD5 7fa12bfc9c7ff4b3d1ba92dd43881036
BLAKE2b-256 5747a52e4252c452a23e326168d2f1f073ca7c1ba5b4aaf01c1caea7b0970b40

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page