Skip to main content

Access and integrate the Chichewa translation of the Bible into your python applications with ease

Project description

Chichewa Bible for Python

Static Badge Static Badge Static Badge Static Badge

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")

Buy Me A Coffee

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

bible_chichewa-1.0.6.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bible_chichewa-1.0.6-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file bible_chichewa-1.0.6.tar.gz.

File metadata

  • Download URL: bible_chichewa-1.0.6.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

Hashes for bible_chichewa-1.0.6.tar.gz
Algorithm Hash digest
SHA256 ea0c3a3d79c1506fb7753b56e596b79776fa932385b6bf8903a9c5224de163fb
MD5 d375ad3cc65563574382ef6c1745f0d6
BLAKE2b-256 7e1929981a62d6a69b86eb53c81c3eedb35878b6179bcd4c4b84923e88ffd187

See more details on using hashes here.

Provenance

The following attestation bundles were made for bible_chichewa-1.0.6.tar.gz:

Publisher: workflow.yml on AllBible/bible-chichewa-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bible_chichewa-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: bible_chichewa-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bible_chichewa-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 1739cf2c138e6073f532b19df967a96ba4e1583bc4da6b4b114011a3af7702e6
MD5 7742521b85436b1c25423b5abf1887e1
BLAKE2b-256 01380f7f19f7ca538d4ea6ed247580526023366c853dafe75e9904032adbd713

See more details on using hashes here.

Provenance

The following attestation bundles were made for bible_chichewa-1.0.6-py3-none-any.whl:

Publisher: workflow.yml on AllBible/bible-chichewa-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page