semvec/pypi-packages huggingface dataset:
hollybooks 0.1.0
An Api wrapper for extract info from 3 diffreant hollybooks. I didn't made the document for this so for now read the file to find all functions etc. I will add more hollybooks in the future!
License: MIT
Keywords: hollybooks,hollybook,scripture,kitab,quran,bible,torah

# hollybooks

An Api wrapper for extract info from 3 diffreant hollybooks. I didn't made the document for this so for now read the file to find all functions etc. I will add more hollybooks in the future!

# Installation

```bash
pip install -U hollybooks
```

# Usage

```python
# To return a verse(s) info inside the surah(Chapter)
from hollybooks import quran

surah=quran.Surah.request(112) #'112' is the chapter and request is for sync function to make it async replace request to async_request()
print(surah.request_ayahs())
#return the verses in a list 

#===============================================================================================================================

# To return a bible verse's info
from hollybooks import bible

bible_verses=bible.Chapter.request( #request is for sync function to make it async replace request to async_request()
    "2 Corinthians", chapter=4,
    starting_verse=16, ending_verse=18
)  # this gets the info of 2 Corinthians 4:16-18

for verse in bible_verses.verses:
    print(
        verse.citation,  # The citation of the current verse
        verse  # executes the __str__ method of the ChapterVerse class (it returns the verse itself)
    ) 
	
#===============================================================================================================================

from hollybooks import torah

torah_verses=torah.Chapter.request( #request is for sync function to make it async replace request to async_request()
    "Genesis", chapter=1,
    starting_verse=1, ending_verse=10
)  # this gets the info of Genesis 1:1-10

for verse in torah_verses.verses:
    print(
        verse.citation,  # The citation of the current verse
        verse  # executes the __str__ method of the ChapterVerse class (it returns the verse itself)
    ) 
```

# API That I Used

[Qur'an](https://alquran.cloud/api)

[Bible](https://bible-api.com/)

[Torah](https://bible-api.com/)

# Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

# License

[MIT](https://choosealicense.com/licenses/mit/)