No project description provided
Project description
simple-adhan
Simple script for getting adhan using the AlAdhan api. can be used with waybar.
Dependencies
you need the following installed: python3
Installation
pip install simple-adhan
Usage
--json,-j: output json--country COUNTRY,-C COUNTRY: choose a country (default: SA)--city CITY,-c CITY: choose a city (default: Mecca)--date,-d: get the hijri date
Run it
Example:
simple-adhan --country "UK" --city "London"
or if you want to get the hijri date:
simple-adhan --country "UK" --city "London" --date
Use it with waybar:
Make sure that simple-adhan is in your global PATH so waybar can access it.
"custom/simple_adhan": {
"exec": "simple-adhan --json --country COUNTRY --city CITY",
"format": "{}",
"format-alt": "{alt}",
"interval": 60,
"return-type": "json"
}
Customize it in the style.css file in waybar config:
#custom-simple_adhan {
/* add your styles here */
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
simple_adhan-0.4.tar.gz
(4.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simple_adhan-0.4.tar.gz.
File metadata
- Download URL: simple_adhan-0.4.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
285d02f85f8d9da48a8d9e7d64ef46c6d84287ed01a2011f01084cd8be57a726
|
|
| MD5 |
f6c97163cf0c5af5b685afbf070972e6
|
|
| BLAKE2b-256 |
d2cd1bee7474581fcde7391509e384c62f0a967d5171a032d3a70fac953be404
|
File details
Details for the file simple_adhan-0.4-py3-none-any.whl.
File metadata
- Download URL: simple_adhan-0.4-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff3128b4c74a2fa33380212217190eb65cf389af2491096d97ff8969717e390d
|
|
| MD5 |
ffd00d267415252e9a2331455f1915b8
|
|
| BLAKE2b-256 |
66178b89292ad937d3cd19c3a1a6f3440610fa909c148fc3b049e3d335086469
|