Chichewa Bible pip package: Access and integrate the Chichewa translation of the Bible into your python applications with ease. Simplify verse retrieval, text search, and more using this lightweight and versatile pip package.
# Chichewa Bible for Python
Chichewa Bible pip package: Access and integrate the Chichewa translation of the Bible into your python applications with ease. Simplify verse retrieval, text search, and more using this lightweight and versatile pip package.
## Features
- Access verses, chapters, and books of the Chichewa Bible programmatically.
- Retrieve text content in Chichewa for quoting, referencing, and display.
- Flexible search functionality for finding specific passages or keywords.
- Lightweight and easy-to-use API for seamless integration into Node.js applications.
- Continuously updated to reflect the latest versions of the Chichewa Bible text.
## Installation
You can install the Chichewa Bible python package using pip:
```
pip install bible-chichewa
```
## Examples
To use the bible-chichewa library to retrieve a verse from the Chichewa Bible, follow these steps:
### Example: Retrieving a Bible Verse
```
from biblechichewa import Bible
bible = Bible()
books = bible.get_books()
print(f"There are {len(books)} books in the bible")
book_number = 1 # Genesis
book = books[book_number-1]
chapter = 1
verse = 1
verse_text = bible.get_verse(book_number, chapter, verse)
print(f"{book} {chapter}:{verse}: {verse_text}")
```
### Example: Retrieving a Bible Chapter
```
from biblechichewa import Bible
bible = Bible()
books = bible.get_books()
book_number = 1 # Genesis
book = books[book_number-1]
chapter = 1
chapterVerses = bible.get_chapter(book_number, chapter)
print(f"Chapter {book} {chapter}:")
for i in range(0, len(chapterVerses)):
verse = i+1
print(f"{verse}. {chapterVerses[i]}\n")
```
### Example: Retrieving a Bible Verses within Range
```
from biblechichewa import Bible
bible = Bible()
books = bible.get_books()
book_number = 2 ## Exodus
book = books[book_number-1]
chapter = 20
verse_start = 1
verse_end = 5
verses = bible.get_verses(book_number, chapter, verse_start, verse_end)
print(f"{book} {chapter}:{verse_start}-{verse_end}:")
for i …