Skip to main content

Developer-friendly Python library for accessing the Holy Qur’an.

Project description

QuranPro

Professional Quran API for Python

Installation

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()

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

quranpro-0.1.0.tar.gz (3.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quranpro-0.1.0-py3-none-any.whl (3.6 MB view details)

Uploaded Python 3

File details

Details for the file quranpro-0.1.0.tar.gz.

File metadata

  • Download URL: quranpro-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for quranpro-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d9771085128533bd19fb4af7c6dbb12f273dd524e2c744a0943883a538bed5b9
MD5 7647d811f817cfcbc63b273bc1b0720d
BLAKE2b-256 9556b2b9e55928eb4c8d4df54f919b1537922569f69ed1826e23f4fb00c93aff

See more details on using hashes here.

File details

Details for the file quranpro-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: quranpro-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for quranpro-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4c528b73e548d8995bcb780869cde890fcce84d3fd4d985dbe2b466982fcfc58
MD5 fd56e26ac734f45b35b717c3b81f79b8
BLAKE2b-256 94205bc634d036f961a0cde5d3df70e62abbf5c59ba2bc59d67bcf518bec70d7

See more details on using hashes here.

Supported by

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