This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Library to get random ayah within quran including the translation.

Project Description
Python Quran ODOA
=================
|pypy| |travis| |Codecov|

.. |pypy| image:: https://badge.fury.io/py/python-quran-odoa.svg
:target: https://badge.fury.io/py/python-quran-odoa

.. |travis| image:: https://travis-ci.org/Keda87/python-quran-odoa.svg?branch=master
:target: https://travis-ci.org/Keda87/python-quran-odoa

.. |codecov| image:: https://codecov.io/gh/Keda87/python-quran-odoa/branch/master/graph/badge.svg?branch=master
:target: https://codecov.io/gh/Keda87/python-quran-odoa


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 `https://github.com/semarketir/quranjson <https://github.com/semarketir/quranjson>`_


Suitable for your bot or web apps.

Prerequisite:
-------------
- Python v2.* or Python v3.*

Installation:
-------------

**Manual**

- Clone repo : https://github.com/Keda87/python-quran-odoa.git
- Run : ``python setup.py install``

**PIP**

- ``pip install python-quran-odoa``

**easy_install**

- ``easy_install python-quran-odoa``

**Usage:**
::
from odoa import ODOA

odoa = ODOA()

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

surah.ayah
surah.desc
surah.translate
surah.sound
Release History

Release History

This version
History Node

1.6

History Node

1.5

History Node

1.4

History Node

1.3

History Node

1.2

History Node

1.1

History Node

1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
python-quran-odoa-1.6.tar.gz (4.3 kB) Copy SHA256 Checksum SHA256 Source Jul 29, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting