Skip to main content

download quran audio easily

Project description

QuranDownloader

Installation

Use the package manager pip to install QuranDownloader lib.

pip install QuranDownloader

usage

to import the library type:

import QuranDownloader

Get all reciters names

print(QuranDownloader.RECITERS)

download_word

(function) def download_word(
    verses_keys: list,
    export_dir: str = './export/words'
) -> None

Example 1: download all word in the 7th verse from surah al-fatiha

QuranDownloader.download_word(['1:7'])

download_verse

(function) def download_verse(
    reciter_name: str,
    verse_key: str,
    export_dir: str = './export',
    chapter_number: int,
    juz_number: int,
    page_number: int
) -> None

Example 2: download the 7th verse from surah al-fatiha with 'Alafasy' voice

QuranDownloader.download_verse('Alafasy', '1:7')

License

MIT

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

QuranDownloader-1.0.3.tar.gz (4.7 kB view hashes)

Uploaded Source

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