Skip to main content

No project description provided

Project description


>>> sudo dnf install ffmpeg # install ffmpeg on your system (if not installed)
>>> sudo ln -s ~/adhan-pi /opt/adhan-pi
>>> python3 -m venv /opt/adhan-pi/env
>>> source /opt/adhan-pi/env/bin/activate
>>> cd /opt/adhan-pi
>>> pip install -e '.[dev]'
>>> tox -e lint && tox

Setting up Cron env

>>> source /opt/adhan-pi/env/bin/activate
>>> pip install -e '.[cron]'

Setting up Cron

Add this to your cronjob (with your user) (crontab -e)

@daily /opt/adhan-pi/env/bin/schedule_prayer_cron –query “New York, NY” –user salah

set up crons manually

>>> source /opt/adhan-pi/env/bin/activate
>>> /opt/adhan-pi/env/bin/schedule_prayer_cron --query "New York, NY" --user salah

Project details

Download files

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

Files for adhan-pi, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size adhan_pi-1.1.0.tar.gz (2.8 MB) File type Source Python version None Upload date Hashes View
Filename, size adhan_pi-1.1.0-py3-none-any.whl (11.2 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page