Quran.com API 
This is a python wraper for quran.com v3 api
API will respond with English content by default, but you can get content in other language for most api calls using language query parameters. You can pass language id or language iso code as query string value. For list of available language see languages endpoint.
Using quran.com
Installing
python3 -m pip install git+https://github.com/dreygur/Quran.com.git
or
pip install git+https://github.com/dreygur/Quran.com.git
Importing Quran:
from quran import Quran
qur = Quran()
Methods
from quran import Quran
qur = Quran()
# All the methods returns a dictionary object
# Getting all Recitations
qur.get_recitations
# Getting all available Translations
qur.get_translations()
# Getting all avalailable Languages
qur.get_languages()
# Getting all Tafsirs available in this api
qur.get_tafsirs()
# Getting all Chapters names
qur.get_chapter(6, info=True, language='bn') # Keyworded arguments are optional
# Getting all the Verses from a chapter
qur.get_verses(6)
Metadata
Release files for quran 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| quran-1.0.0.tar.gz | 5.3 kB | Without provenance | Details for quran-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| quran-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for quran-1.0.0-py3-none-any.whl |
Total release size: 11.8 kB
Release files / quran-1.0.0.tar.gz
| Download URL | quran-1.0.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d706dae770902a0a882696b0bffdda07cbfc36a798c56ba5b83214db1b88d79
|
|
BLAKE2b-256 checksum How to use checksums |
fad7bd6461ddc67ac083afc0381af6bb786d15f000e37ac22c22b0fe1a18f5a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.5
|
Release files / quran-1.0.0-py3-none-any.whl
| Download URL | quran-1.0.0-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7abe0db87ce435b52d99d21611cdd646ffa12f0fcae386951847271082c553d8
|
|
BLAKE2b-256 checksum How to use checksums |
e2282f49b29fa0174661918f8daa2f86e939ae1712c62180cb7c69ddbc375265
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.5
|
Security for quran 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.