Skip to main content

Random aya generator

Project description

randomaya
--------

Developed in Python 2.7.11

To use, simply do::

>>> import randomaya
>>> print randomaya.getRandomAya()
>>> print randomaya.getMultiRandomAya(['en.sahih', 'am.sadiq'])

For translations in other languages, do the following:
1. Go to http://tanzil.net/trans/
2. Select XML as file format from combo box above the available translation list
3. Download it and save it in the data folder within the installation folder of this package

Should you find any errors please report it to 1ns1rb@gmail.com. All quran text and translations are obtained from Tanzil.net


Upcoming Updates:
1. Translation installation function
2. Command line utilities

Project details


Download files

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

Source Distribution

randomaya-0.1.1.zip (654.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page