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.

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.0.tar.gz (26.3 MB view details)

Uploaded Source

Built Distributions

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

Uploaded PyPy Windows x86-64

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

Uploaded PyPy Windows x86-64

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

Uploaded PyPy Windows x86-64

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

Uploaded PyPy Windows x86-64

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

Uploaded CPython 3.12 Windows x86-64

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

Uploaded CPython 3.12 Windows x86

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

Uploaded CPython 3.11 Windows x86-64

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

Uploaded CPython 3.11 Windows x86

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

Uploaded CPython 3.10 Windows x86-64

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

Uploaded CPython 3.10 Windows x86

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

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.9 Windows x86

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

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.8 Windows x86

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

Uploaded CPython 3.7m Windows x86-64

multi_bible_search-2.0.0-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.0.tar.gz.

File metadata

  • Download URL: multi_bible_search-2.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 21d9e9d5ec10939fff10ecbd9c17dc4d134ee62c2de0eecb7e7917c25447181f
MD5 dcfcfcb9fef720fc3f1a6e5856b3bab7
BLAKE2b-256 3666a11e347c432a5d3984dfdd30d543343f71485fdde8afec4703bf8dc95aa6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-2.0.0-pp310-pypy310_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 4aa067b6c741665e2d57830fc59bca06689fece02e392b62a74eae7a86d5d483
MD5 f14a186927b98bba7ed0725feb9f50c1
BLAKE2b-256 710a75d5623abd1f73c2ad8cbf2520c8e2e20f3d192209bdacd46efad769388a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-2.0.0-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 dc92fbab70ac9bfdc015464b1b61686310040f3cdc37bb812304501a58f23805
MD5 5f566320340849304475053112828f3b
BLAKE2b-256 fab621b8857ca89ab1c689cf83525bb8c28004f304b32cde2f184fe2790242dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-2.0.0-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 73ee316c1cc53d6c3ddf7c5d56958e92a63628a94f00b0f143fe82a7463b618b
MD5 81712be51d301250905532c34d89feb1
BLAKE2b-256 967f21fbd960cc5c6ea9ce7cc439c20736c450013fa27c6f2b9a5cfa01ba7577

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-2.0.0-pp37-pypy37_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 2b897e85b9c118088cf68b68f1d85752de2b923e70fcabf05fd0bd7cfcae6672
MD5 390565308583b09e1e70258faa05393e
BLAKE2b-256 753e73f74ee2ccbdfe12954f84d9e0bba903b4da93f12ff2b2e2af91a2941d5e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-2.0.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 08123b4af63116c64143141eb1fdbb851e02cd26405046a9b43b0750267e629f
MD5 05d344156bfc6ac3c8102fa50a035232
BLAKE2b-256 bd910ccd3f488880a0e7ed58ef00bd71a342b9001b3e39f0094535dc70601daf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-2.0.0-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 998a5b0b356b1f63a99672fd64f2a3117df128f25db5169a608604e197fbea57
MD5 191be7d1fce2ecbfa3fa0169c474ff96
BLAKE2b-256 3db15f4f9c1cccbf46353c0a955c6ae9f76eae947d847076013046771d1886b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-2.0.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7139fa225251e0b8372c926ed042ab9f50a9d1cffbf2cee27ff4b78149239c21
MD5 29696369797af3f55b01d10e23df6052
BLAKE2b-256 af0320b82f28677959e15c321d1a69563f8edd45d5b641679ce68e89236da3d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-2.0.0-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 2363748c0bf496e58003cc4b65b40defe9d9ca450468bc944b02d6a89294ef92
MD5 c8b545cdba4734f833b3db95628f1fb3
BLAKE2b-256 007836ef8b61322443e0d36ce51c53fc7f0b6ba2f75c46cab84d06e47c934368

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-2.0.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6065bbf60cce7730c54ad190c900faa9170938c7fa31e643a4004c3ffc136ec8
MD5 d58d0adbe18202716049a28615fead83
BLAKE2b-256 8083d249d80eaac11e7deb24b196fc7146d50a6794b865c773e16db964591289

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-2.0.0-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 049d95f62d8429770fd624eb5611fb1da5416a77a4bcc867480c2b80ebfc273c
MD5 73300a3707a62d2bea9030b3c54bd723
BLAKE2b-256 f7634bbecbb9e5321bd89627c7d309caf60dd3a4a95b7890e5ed9f2da89f9991

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-2.0.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 f3ece3e3eff60898bd91b24d64c936ad3b2369a54514535a9ab5831e23b978d3
MD5 34ce6cd163058ce62056b93e05442432
BLAKE2b-256 fa123dbcbe1e3c62a9d8a6bc7819c64dc52f2744770a0abc4e41ad76147dafbb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-2.0.0-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 4890b85d4acb5340b39e34785d5285ff2d7134e1a6ae409c464f4e823e6d1fb2
MD5 a2e0477d9ebce893770140266b83e702
BLAKE2b-256 bc0258250a16a7ef921c8ae69bf642f9cb07c7c3662c54041e4ef870957c72b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-2.0.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 46599bc38549fcefe0b37720dd2da0d5b2efc2a59a240930d67ca56ad958e7da
MD5 6ac6027335c0092ef90b49ad410f6d42
BLAKE2b-256 efcd52b520ccad7b59570c9ca4659bff2bd83f806d05c7754ace49ed2a38aefd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-2.0.0-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 e731217ce1ece163681cd93c3c1641975cdd2f33381a1c4de2097da9dab56d4b
MD5 268273676a58cff07546cfb9685163a7
BLAKE2b-256 7df98b295e32377c2a1a028c6caa93cc332804404f5e88efce0f9ff752500fe2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-2.0.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 3d736db3116bd23f71c4232716e3c16c805afd7f763542ad0dc60055e9741a32
MD5 992cc1da47b0b15aed2c1d3cf9755b6e
BLAKE2b-256 118c00ffb15493491c8e2eb90d13d7e7a8b1a3957b46663bfe15165cf6f930b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-2.0.0-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 5943208483f8344c12268103a8888c6211a13715c3e3045f20f3132727372d5c
MD5 8e8bcf28890860a60f09e86ff122fd8c
BLAKE2b-256 0046ef490c0571a8b11f03cd7abc2eb82495ee71dbc38ad380f1868276e2f9c9

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