Access and integrate the Chichewa translation of the Bible into your python applications with ease
Project description
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 index in range(0, len(verses)):
verse = verses[index]
print(f"{verse_start + index}: {verse}\n")
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bible_chichewa-1.0.7.tar.gz.
File metadata
- Download URL: bible_chichewa-1.0.7.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60321854d1ac3101933de5429833d2c699cd3224f97b9b1e25012fcc6b0c8dd2
|
|
| MD5 |
212d65fdfc799f61c3c846ff6840943c
|
|
| BLAKE2b-256 |
40e2e98f8ca3e089daa113ee3055262f65772cdc9cb4a4e4e91d38907be13bed
|
Provenance
The following attestation bundles were made for bible_chichewa-1.0.7.tar.gz:
Publisher:
workflow.yml on AllBible/bible-chichewa-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bible_chichewa-1.0.7.tar.gz -
Subject digest:
60321854d1ac3101933de5429833d2c699cd3224f97b9b1e25012fcc6b0c8dd2 - Sigstore transparency entry: 216523935
- Sigstore integration time:
-
Permalink:
AllBible/bible-chichewa-py@40098a7f94c03b4078984f771c61a445c4f45cfd -
Branch / Tag:
refs/tags/1.0,7 - Owner: https://github.com/AllBible
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@40098a7f94c03b4078984f771c61a445c4f45cfd -
Trigger Event:
release
-
Statement type:
File details
Details for the file bible_chichewa-1.0.7-py3-none-any.whl.
File metadata
- Download URL: bible_chichewa-1.0.7-py3-none-any.whl
- Upload date:
- Size: 1.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56e0cb43116055842aa749d166d54e88042329298d35ad9ad5e319ef6079029f
|
|
| MD5 |
4bf051aa66f5746126c0913c0b6d54eb
|
|
| BLAKE2b-256 |
8741e01e37705f3c36f2ea3d8a1f268dfb87da49230b57b38321700f22fce25b
|
Provenance
The following attestation bundles were made for bible_chichewa-1.0.7-py3-none-any.whl:
Publisher:
workflow.yml on AllBible/bible-chichewa-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bible_chichewa-1.0.7-py3-none-any.whl -
Subject digest:
56e0cb43116055842aa749d166d54e88042329298d35ad9ad5e319ef6079029f - Sigstore transparency entry: 216523937
- Sigstore integration time:
-
Permalink:
AllBible/bible-chichewa-py@40098a7f94c03b4078984f771c61a445c4f45cfd -
Branch / Tag:
refs/tags/1.0,7 - Owner: https://github.com/AllBible
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@40098a7f94c03b4078984f771c61a445c4f45cfd -
Trigger Event:
release
-
Statement type: