Library to get random ayah within quran including the translation.
Project description
Python library to support ODOA (One Day One Ayat) campaign that will displaying random ayat within quran surah including the translation, currently supports only Bahasa Indonesia.
This library using datasource from https://github.com/semarketir/quranjson
Suitable for your bot or web apps.
Prerequisite:
Python v2.* & v3.*
Installation:
Manual:
Clone repo : https://github.com/Keda87/python-quran-odoa.git
Run : python setup.py install
Usage:
from odoa import ODOA
odoa = ODOA()
surah = odoa.get_random_surah()
surah.get(‘ayat’)
surah.get(‘translate’)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
python-quran-odoa-1.2.tar.gz
(2.9 kB
view hashes)
python-quran-odoa-1.1.zip
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for python_quran_odoa-1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d2738ec021bfa260389c23ceb41eca5fa531370b434438faf2795b0b909e01f |
|
MD5 | 7d6ec92bbf5f139afd5388c7132f2161 |
|
BLAKE2b-256 | c7be6fc3f7ce7d7818bfa75c02ae99b2324bda331c970042d9e9970ed292b8c2 |