Skip to main content

A Python package for searching multiple versions of the Bible.

Project description

bible_search

A Python package for searching multiple versions of the Bible.

Installation

pip install multi_bible_search

Usage

from multi_bible_search import BibleSearch


if __name__ == '__main__':
    searcher = BibleSearch()
    query_results = searcher.search("Jesus wept")
    print(query_results[0:10])

The search method returns a list of references. For example, the above code prints the following:

['Luke 8:52', 'Matthew 1:16', 'Luke 5:31', '1 Corinthians 2:2', 'Colossians 1:1', 'Matthew 22:41', 'Genesis 37:35', 'Luke 2:21', 'John 8:59', 'Matthew 3:16']

The results of each query are ranked by the number of keyword occurrences.

If a query is made with no matches, say "notawordinthebible," the result of the query will be a list of length 0.

The maximum number of results may be specified with the optional max_results parameter.

Preloading an Index

Versions are automatically loaded as needed, but you may wish to preload a version for the sake of speed.

An index of a particular version can be preloaded with the load() method. Simply pass the version identifier as a string to load it.

Remember that capitalization is important when using this method.

You may also preload all versions by simply calling the load_all() method.

Finally, you can unload a version with the unload_version() method for a particular version.

Supported Versions

Supported versions can be listed with

BibleSearch().versions

Currently, these versions are supported:

  • A Conservative Version (ACV)

  • American King James Version (AKJV)

  • Amplified Bible (AMP)

  • American Standard Version (ASV)

  • Bible in Basic English (BBE)

  • Berean Standard Bible (BSB)

  • Christian Standard Bible (CSB)

  • Darby Bible (Darby)

  • Douay-Rheims 1899 American Edition (DRA)

  • Rotherham's Emphasized Bible (EBR)

  • English Standard Version (ESV)

  • Geneva Bible (GNV)

  • King James Version 1769 (KJV)

  • King James Version 1611 (KJV 1611)

  • Literal Standard Version (LSV)

  • The Message (MSG)

  • New American Standard Bible (NASB 1995)

  • New English Translation (NET)

  • New International Version (NIV 1984)

  • New International Version (NIV 2011)

  • New King James Version (NKJV)

  • New Living Translation (NLT)

  • Restored Name King James Version (RNKJV)

  • Revised Standard Version (RSV)

  • Revised Webster Version 1833 (RWV)

  • Updated King James Version (UKJV)

  • World English Bible (WEB)

  • Young’s Literal Translation (YLT)

Versions can be specified with the version parameter in search(). The string passed should be the short form of the version name.

For example, you could use:

BibleSearch().search("Jesus wept", version="ESV")

to search the ESV.

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

multi_bible_search-2.0.1.tar.gz (26.3 MB view details)

Uploaded Source

Built Distributions

multi_bible_search-2.0.1-pp310-pypy310_pp73-win_amd64.whl (26.3 MB view details)

Uploaded PyPy Windows x86-64

multi_bible_search-2.0.1-pp39-pypy39_pp73-win_amd64.whl (26.3 MB view details)

Uploaded PyPy Windows x86-64

multi_bible_search-2.0.1-pp38-pypy38_pp73-win_amd64.whl (26.3 MB view details)

Uploaded PyPy Windows x86-64

multi_bible_search-2.0.1-pp37-pypy37_pp73-win_amd64.whl (26.3 MB view details)

Uploaded PyPy Windows x86-64

multi_bible_search-2.0.1-cp312-cp312-win_amd64.whl (26.3 MB view details)

Uploaded CPython 3.12 Windows x86-64

multi_bible_search-2.0.1-cp312-cp312-win32.whl (26.3 MB view details)

Uploaded CPython 3.12 Windows x86

multi_bible_search-2.0.1-cp311-cp311-win_amd64.whl (26.3 MB view details)

Uploaded CPython 3.11 Windows x86-64

multi_bible_search-2.0.1-cp311-cp311-win32.whl (26.3 MB view details)

Uploaded CPython 3.11 Windows x86

multi_bible_search-2.0.1-cp310-cp310-win_amd64.whl (26.3 MB view details)

Uploaded CPython 3.10 Windows x86-64

multi_bible_search-2.0.1-cp310-cp310-win32.whl (26.3 MB view details)

Uploaded CPython 3.10 Windows x86

multi_bible_search-2.0.1-cp39-cp39-win_amd64.whl (26.3 MB view details)

Uploaded CPython 3.9 Windows x86-64

multi_bible_search-2.0.1-cp39-cp39-win32.whl (26.3 MB view details)

Uploaded CPython 3.9 Windows x86

multi_bible_search-2.0.1-cp38-cp38-win_amd64.whl (26.3 MB view details)

Uploaded CPython 3.8 Windows x86-64

multi_bible_search-2.0.1-cp38-cp38-win32.whl (26.3 MB view details)

Uploaded CPython 3.8 Windows x86

multi_bible_search-2.0.1-cp37-cp37m-win_amd64.whl (26.3 MB view details)

Uploaded CPython 3.7m Windows x86-64

multi_bible_search-2.0.1-cp37-cp37m-win32.whl (26.3 MB view details)

Uploaded CPython 3.7m Windows x86

File details

Details for the file multi_bible_search-2.0.1.tar.gz.

File metadata

  • Download URL: multi_bible_search-2.0.1.tar.gz
  • Upload date:
  • Size: 26.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.9

File hashes

Hashes for multi_bible_search-2.0.1.tar.gz
Algorithm Hash digest
SHA256 40bc5b74b0feeb39ca48429722f9c13a256d412ac5927e7e9b167df472f6afd8
MD5 c1fbda424282494c748972be25243ac5
BLAKE2b-256 c4ae41550081876a17785c278e04784b6caec54f1a02f6def9da92c69c05c932

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.0.1-pp310-pypy310_pp73-win_amd64.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.0.1-pp310-pypy310_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 42c421b7aa6615278e9beb6f7239f70fb378b0217e1cd52f5787ada30936d8f5
MD5 152fd89194083e682428e848f1191d3e
BLAKE2b-256 93d55851a4472b46d0cc024a1f31e441bab26f65f6a8ff1007d12f253b03e6c8

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.0.1-pp39-pypy39_pp73-win_amd64.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.0.1-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 e22f9b590a3d6bbc05d8236dec43edb68f6f2e4cae8bb73d499e5601ca7c7122
MD5 a8883348adfa855395cb30f251d0a120
BLAKE2b-256 e7b896d7f21de5adea2e5cca5666d29a17db9efeb8178578e65aa3c800ad2e07

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.0.1-pp38-pypy38_pp73-win_amd64.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.0.1-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 d572fced64b95444ec6dc8de34ba7a15c2f9c75e35f987d64edcebcb926c3091
MD5 c78306bcd35b5775d466903233f20455
BLAKE2b-256 be92d8a7992416f39023797762f5ee5685623b9a35bf0957d16b57b80db77609

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.0.1-pp37-pypy37_pp73-win_amd64.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.0.1-pp37-pypy37_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 935b88747dc67bc788ba90e41e6315bfc663ffd8c2607ac981936b862fabd08b
MD5 9f63a88863607dc3a93badbd02e1cb47
BLAKE2b-256 0c6cbe55d183fd1dc976c1e6176cde342fe6102a837a243feab88501b47f04ad

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.0.1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.0.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e1641eb6a5bcb46593643429193d4aed7b2915a26c172e58e50f829dea7fa4a5
MD5 ef0caee711c9c7c7feac08586e846689
BLAKE2b-256 c40bc9ead289afae57aa28572976577eca906cc9468550ff526bef39b3b98183

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.0.1-cp312-cp312-win32.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.0.1-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 5d15452f4db28530183eac2a23916ce2a8acc907ad196445ef4ab64a2443c48b
MD5 ddfdc04cc21a63adf55c05e6573bec3b
BLAKE2b-256 e4f8c31d1370566521c4df56d5f383b96dc7f05e4818e7444ae2837c36c03326

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.0.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.0.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f86f0cbcb9a837dd30b11679f81376c82743eb22433993e990e734b2096664e8
MD5 a7401079b8e8875830f2ec0614073bbe
BLAKE2b-256 eca0ab90618f5bfca45aefd4685b62a83f5d36396b9c04a1826e216355363045

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.0.1-cp311-cp311-win32.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.0.1-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 10d0f8667006d7ce527da057f7688b44d32834f444d0ab89125e473971fe7b17
MD5 5c6d25bdc31ca75cd5ee749a031becf6
BLAKE2b-256 2754dd722aca32d299ac19ac62490718f67afe499401719c6a07a794fcb5e789

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.0.1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.0.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 3267e01b9952b0e9589871b947a9082ba8ac0adefd6a133ce6a2b180ec6416aa
MD5 6f9ad7e4a2de943b3d444da89317bbb0
BLAKE2b-256 30b2b46320a611ff4205c284b2b25cf7703f2cad747021e3837c2be5b70fb669

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.0.1-cp310-cp310-win32.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.0.1-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 e966359c8cc035aec196713572e2d75e29505967274aec953ab94ff031927d89
MD5 2d75b199abcf9daa5d0e11fa114fa053
BLAKE2b-256 45a1d0f61ba88e4db8651b6af48bb88b063b941e9ae9e59852f35a06a5e64c48

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.0.1-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.0.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 c7ced1038be619ab2425d3f58b48cd80702dd6bd14dbb355cf8adab95be91efb
MD5 a6900eb4855f9ae5b54fc83663b4e740
BLAKE2b-256 61b36ca899179357d6af4dafcdde98c67fd8f44435e2ec16010c18dd3e55309f

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.0.1-cp39-cp39-win32.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.0.1-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 96d0936faba9925cd6c3602dc5990b646507e0d3930ed03c977ca0a0f96a3938
MD5 6c2fd3bca99546f791e80e25f95057bc
BLAKE2b-256 66cb6c13f9fcc8c529ba2b4d6163570eacebabd321e000d1cb414aa3ea550b80

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.0.1-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.0.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 669d9e81e0a53da08fbfdbeb92c0f695c7222d32a323ddb433ad9ed133b76e6a
MD5 4a468051f9dd9d6d9bb503307add8ccc
BLAKE2b-256 f94c41c807c2d846d6091a8bc632deeaeae2c4417a8e5553e69cc22d6343ff3d

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.0.1-cp38-cp38-win32.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.0.1-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 fc0a6dab946feb34a55f42081879ee40e1bfbebed47ac46f8b7a61e82978e441
MD5 250b6c19f41a64e1eaf995d40cd9660e
BLAKE2b-256 ef9c0a636841be9e14d71ca2cebc79543d6e422fec5b666d51e99a7cbd813ad2

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.0.1-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.0.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 fa226ae1c443f52ad6ebe5a01a79310382629e7578ac7aa629a04574f6a8da8e
MD5 b695ad3da8e8a4f170e6619c99edd998
BLAKE2b-256 ef7d3416a6d8474a3a63dabdecfcddc330959014bf527f5d21231d9c150ace52

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.0.1-cp37-cp37m-win32.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.0.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 08eaf0707e7afd9178094faf2ef2d7ed711b751a454434103065ffb9e2976f6c
MD5 2dfaa08d7c0ab13d496bce61d810561b
BLAKE2b-256 21a12dd1bc83422a2960f3cf556c1ace312b43a93ea534fb8dde5f3da1ff902d

See more details on using hashes here.

Supported by

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