Al-Quran, Terjemahan Indonesia dan Tafsir Jalalayn
Project description
Al-Quran ID
Al Quran, Terjemahan indonesia, dan Tafsir Jalalayn
Installasi
$ pip install alquran-id
Menggunakan Al-Quran ID
from alquran_id import AlQuran as Quran
def alquran(id_surat, id_ayat):
quran = Quran()
nama_surat = quran.Surat(id_surat)
ar_ayt = quran.ArNumber(id_ayat)
ayat = quran.Ayat(id_surat, id_ayat)
jml_ayat = quran.JumlahAyat(id_surat)
terjemahan = quran.Terjemahan(id_surat, id_ayat)
tafsir = quran.Tafsir(id_surat, id_ayat)
return nama_surat[0], nama_surat[1], ayat, jml_ayat, terjemahan, tafsir, ar_ayt
quran = alquran(1, 1)
print(f"""
Nama Surat = {quran[0]} / {quran[1]}
Jumlah Ayat = {quran[3]}
Ayat [{quran[6]}]
{quran[2]}
Terjemahan
{quran[4]}
Tafsir
{quran[5]}
""")
Output
Nama Surat = الفاتحة / Al-Fatihah (Pembukaan)
Jumlah Ayat = 7
Ayat [۱]
بسم ٱلله ٱلرحمـن ٱلرحيم
Terjemahan
Dengan menyebut nama Allah Yang Maha Pemurah lagi Maha Penyayang.
Tafsir
(Dengan nama Allah Yang Maha Pemurah lagi Maha Penyayang)
Source
Source file xml diambil dari Tanzil
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file alquran_id-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: alquran_id-0.0.3-py3-none-any.whl
- Upload date:
- Size: 1.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e16f9add280c44f20013697cdef1347865e0d7bc2e865b51b05cdf31a4e89c10 |
|
MD5 | e2d4ef4aa56118102530f032a9786a92 |
|
BLAKE2b-256 | 9521ed2f51fa1f115b318ea8b002a6bd0f01be8b253b8cebbd378b6eb72d8ba8 |