Metadata-Version: 2.4
Name: quranpro
Version: 0.1.0
Summary: Developer-friendly Python library for accessing the Holy Qur’an.
Keywords: quran,quranpro,quranapp,quran-audio,quran-translations
Author-email: Sarvarbek Juraev <saravarjuraev@gmail.com>
Maintainer-email: Sarvarbek Juraev <saravarjuraev@gmail.com>
Requires-Python: >= 3.8
Description-Content-Type: text/markdown
License-Expression: MIT
License-File: LICENSE

# QuranPro

Professional Quran API for Python

## Installation

```bash
pip install quranpro
```

## Usage

```
from quranpro import Quran
from quranpro.core import load_quran

Quran = Quran()
load_quran(Quran)

# Get any ayah from the Quran by surah and ayah number
ayah = Quran.get_ayah(1,1)

# Get translations in 9 languages. (Try Quran.get_metadata() for available recitations and translations )
ayah.get_translation(langugage='uz')

# Get recitation for the ayah 
ayah.get_recitation(reciter='alafasy') # Reciter is optional. By default it is Mishary Rashid Alafasy

# Get ayah metadata: The number of ayah, text length, number of words and weather it is sajda ayah or not.
ayah.get_metadata()

```

