# QuranDownloader
## Installation
Use the package manager [pip](https://pip.pypa.io/en/stable/) to install QuranDownloader lib.
```bash
pip install QuranDownloader
```
## usage
to import the library type:
```python
import QuranDownloader
```
Get all reciters names
```python
print(QuranDownloader.RECITERS)
```
### download_word
```python
(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
```python
QuranDownloader.download_word(['1:7'])
```
### download_verse
```python
(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
```python
QuranDownloader.download_verse('Alafasy', '1:7')
```
## License
[MIT](https://choosealicense.com/licenses/mit/)
Raw data
{
"_id": null,
"home_page": "",
"name": "QuranDownloader",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python,quran,audio,reciter,verses,concurrent",
"author": "Malik",
"author_email": "myemail46926213@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/92/3c/7c1c5394d72cfc0ba8537dc9ff59495f66abc54eb82e2c66ec3d9b3a5c2c/QuranDownloader-1.0.3.tar.gz",
"platform": null,
"description": "# QuranDownloader\n## Installation\nUse the package manager [pip](https://pip.pypa.io/en/stable/) to install QuranDownloader lib.\n\n```bash\npip install QuranDownloader\n```\n\n## usage\n\nto import the library type:\n```python\nimport QuranDownloader\n```\n\nGet all reciters names\n```python\nprint(QuranDownloader.RECITERS)\n```\n\n### download_word\n\n```python\n(function) def download_word(\n verses_keys: list,\n export_dir: str = './export/words'\n) -> None\n```\n#### Example 1: download all word in the 7th verse from surah al-fatiha\n\n```python\nQuranDownloader.download_word(['1:7'])\n```\n\n### download_verse\n\n```python\n(function) def download_verse(\n reciter_name: str,\n verse_key: str,\n export_dir: str = './export',\n chapter_number: int,\n juz_number: int,\n page_number: int\n) -> None\n```\n\n#### Example 2: download the 7th verse from surah al-fatiha with 'Alafasy' voice\n\n```python\nQuranDownloader.download_verse('Alafasy', '1:7')\n```\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)",
"bugtrack_url": null,
"license": "",
"summary": "download quran audio easily",
"version": "1.0.3",
"project_urls": null,
"split_keywords": [
"python",
"quran",
"audio",
"reciter",
"verses",
"concurrent"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "923c7c1c5394d72cfc0ba8537dc9ff59495f66abc54eb82e2c66ec3d9b3a5c2c",
"md5": "0b1556e5d54f6635fa87e6a17df5af23",
"sha256": "12a1d300610e6862cda0d80dafe913682ea66cbe347c04df0c1e60b59dcb1f5e"
},
"downloads": -1,
"filename": "QuranDownloader-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "0b1556e5d54f6635fa87e6a17df5af23",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4668,
"upload_time": "2023-06-15T14:31:26",
"upload_time_iso_8601": "2023-06-15T14:31:26.094456Z",
"url": "https://files.pythonhosted.org/packages/92/3c/7c1c5394d72cfc0ba8537dc9ff59495f66abc54eb82e2c66ec3d9b3a5c2c/QuranDownloader-1.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-15 14:31:26",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "qurandownloader"
}