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

bible = Bible()
books = bible.getBooks()
print(f"There are {len(books)} books in the bible")

bookNumber = 1  # Genesis
book = books[bookNumber-1]
chapter = 1
verse = 1

verseText = bible.getVerse(bookNumber, chapter, verse)
print(f"{book} {chapter}:{verse}: {verseText}")

Example: Retrieving a Bible Chapter

bible = Bible()
books = bible.getBooks()
bookNumber = 1  # Genesis
book = books[bookNumber-1]

chapter = 1 

chapterVerses = bible.getChapter(bookNumber, 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

bible = Bible()

books = bible.getBooks()
bookNumber = 2 ## Exodus
book = books[bookNumber-1]

chapter = 20
verseStart = 1
verseEnd = 5

verses = bible.getVerses(bookNumber, chapter, verseStart, verseEnd)

print(f"{book} {chapter}:{verseStart}-{verseEnd}:")
for index in range(0, len(verses)):
    verse = verses[index]
    print(f"{verseStart + 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.3.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.3-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bible_chichewa-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 490cf370033da80a00eccaa28cdb4cb85a827f035cfab26545bf11c897f1a9af
MD5 f980ae28ba2ef8e91ea88a4e5929eaa7
BLAKE2b-256 71c71532b37705df13a18c64cf6085b6c505523ef8dc0f82a2e5e40e005b2c36

See more details on using hashes here.

Provenance

The following attestation bundles were made for bible_chichewa-1.0.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: bible_chichewa-1.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f74aea3468c57d5dcf24f6bc58fab47f636c44ea1fa5c498685af7e42090048a
MD5 cab5ae0ab3703a8b3f6302acc2e904ca
BLAKE2b-256 55b2edd4043cab9ed8925efc2bfe223e13a96337872029b943a0090061e4e85f

See more details on using hashes here.

Provenance

The following attestation bundles were made for bible_chichewa-1.0.3-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