Skip to main content

holybooks

An API Wrapper for extracting info from the Al-Quran API and the Bible api. I will add more functions for certain api in the future! Documentation for this project is not avalaible at the moment. Full function can be seen in client.py

Installation

Find the module here.

pip install holybooks

Usage

# First make the client instance
from holybooks import Client

client = Client(
    quran_translation="en.asad",
    bible_translation="kjv"
)

client.fetch_ayah("2:255", "en.pickthall") #Retrives a verse from the Quran api. This will get chapter 2, verse 255. The second argument is the translation, if None specified the default translation is your quran_translation in your client instance.

client.fetch_verse("Genesis", "1:10", "kjv") #Retrives verses from the Bible API. This will get Genesis chapter 1, verse 1-10. The second argument is the translation, if None specified the default translation is your bible_translation in your client instance. 

API's That I Used

Qur'an

Bible

Contributing

Pull requests are welcome! Particularly for supporting other api(s). Please make sure to update tests as appropriate.

License

MIT

Metadata

Release files for holybooks 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for holybooks 1.0.0
File Size Uploaded Provenance
holybooks-1.0.0.tar.gz 9.7 kB Without provenance Details

Release files / holybooks-1.0.0.tar.gz

Download URL holybooks-1.0.0.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
00e7c66b70f476a853efbd379ce3140cdc637099f712fab4978ab4cf619b0d64
BLAKE2b-256 checksum
How to use checksums
2efd78d0c346c781ad97975bbff37c4aa0596115d2c4224784c35af957403e8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Security for holybooks 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page