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.

Source Distribution

adhan_pi-1.1.0.tar.gz (2.8 MB view hashes)

Uploaded Source

Built Distribution

adhan_pi-1.1.0-py3-none-any.whl (11.2 kB view hashes)

Uploaded Python 3

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