Skip to content

📘 Python library to get random ayah within quran surah for supporting "ODOA" (One Day One Ayah) campaign.

License

Notifications You must be signed in to change notification settings

Keda87/python-quran-odoa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Quran ODOA

Build Status pypi codecov

Python library to display random ayah within quran surah including the translation. Currently supports only Bahasa Indonesia and English.

This library is part of supporting ODOA (One Day One Ayat) campaign and using datasource from quranjson.

Prerequisite:

  • Python v3.6.+

Installation:

Pip:

$ pip install python-quran-odoa

Usage:

from odoa import ODOA

o = ODOA()

# by default the translation using bahasa indonesia,
# pass `lang='en'` if you want english translation.
surah = await o.get_random_surah()  # odoa.get_random_surah(lang='en')

surah.ayah
surah.desc
surah.translate
surah.sound

About

📘 Python library to get random ayah within quran surah for supporting "ODOA" (One Day One Ayah) campaign.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages