Skip to main content

A Python package for searching multiple versions of the Bible.

Project description

multi_bible_search

A Python package for searching multiple versions of the Bible.

Perform lightning-fast, full-text search across dozens of Bible translations in Python.
Results are ranked by keyword frequency and returned in tens of microseconds, thanks to efficient inverted indexes.

In effect, this functions as an exhaustive concordance, but with the speed and flexibility of code.

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 this:

from multi_bible_search import BibleSearch


searcher = BibleSearch()

# All versions
searcher.versions

# English versions
searcher.english_versions

# Spanish versions
searcher.spanish_versions

Currently, these versions are supported:

  • English

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

    • The Legacy Standard Bible (LSB)

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

  • Spanish

    • La Biblia Textual 3ra Edicion (BTX3)

    • Reina-Valera 1960 (RV1960)

    • Reina Valera Gómez 2004 (RV2004)

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:

from multi_bible_search import BibleSearch


searcher = BibleSearch()
searcher.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.2.0.tar.gz (62.0 kB view details)

Uploaded Source

Built Distributions

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

multi_bible_search-2.2.0-cp313-cp313-win_amd64.whl (62.6 kB view details)

Uploaded CPython 3.13Windows x86-64

multi_bible_search-2.2.0-cp313-cp313-musllinux_1_2_x86_64.whl (90.1 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

multi_bible_search-2.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (91.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

multi_bible_search-2.2.0-cp312-cp312-win_amd64.whl (62.6 kB view details)

Uploaded CPython 3.12Windows x86-64

multi_bible_search-2.2.0-cp312-cp312-musllinux_1_2_x86_64.whl (90.1 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

multi_bible_search-2.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (91.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

multi_bible_search-2.2.0-cp311-cp311-win_amd64.whl (62.6 kB view details)

Uploaded CPython 3.11Windows x86-64

multi_bible_search-2.2.0-cp311-cp311-musllinux_1_2_x86_64.whl (90.1 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

multi_bible_search-2.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (91.5 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

multi_bible_search-2.2.0-cp310-cp310-win_amd64.whl (62.6 kB view details)

Uploaded CPython 3.10Windows x86-64

multi_bible_search-2.2.0-cp310-cp310-musllinux_1_2_x86_64.whl (89.9 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

multi_bible_search-2.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (91.3 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

multi_bible_search-2.2.0-cp39-cp39-win_amd64.whl (62.6 kB view details)

Uploaded CPython 3.9Windows x86-64

multi_bible_search-2.2.0-cp39-cp39-musllinux_1_2_x86_64.whl (89.7 kB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ x86-64

multi_bible_search-2.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (91.1 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

multi_bible_search-2.2.0-cp38-cp38-win_amd64.whl (62.6 kB view details)

Uploaded CPython 3.8Windows x86-64

multi_bible_search-2.2.0-cp38-cp38-musllinux_1_2_x86_64.whl (89.5 kB view details)

Uploaded CPython 3.8musllinux: musl 1.2+ x86-64

multi_bible_search-2.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (91.5 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

multi_bible_search-2.2.0-cp37-cp37m-win_amd64.whl (61.7 kB view details)

Uploaded CPython 3.7mWindows x86-64

multi_bible_search-2.2.0-cp37-cp37m-musllinux_1_2_x86_64.whl (88.4 kB view details)

Uploaded CPython 3.7mmusllinux: musl 1.2+ x86-64

multi_bible_search-2.2.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (90.3 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

File details

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

File metadata

  • Download URL: multi_bible_search-2.2.0.tar.gz
  • Upload date:
  • Size: 62.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for multi_bible_search-2.2.0.tar.gz
Algorithm Hash digest
SHA256 94bdc2bdb9998019a9ef39ae898fca9240c02dd8f55818b41d58bcabe8515abc
MD5 5c466aaed5752bfb8de2b7cc538f4385
BLAKE2b-256 8128ffc05a1583bab013bf82a9a7339c50e2ebecd3f0560887415e8381e08fd8

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.2.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.2.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c3ba60aab85498e9b110af68377cb0c6fece90c856856236c1d09de5bb81dd51
MD5 9fe8fc47fee2cd3c276d8bac80f66a43
BLAKE2b-256 2d8d9ecead722964977e00ccced2b8fc9675c56cccf2f98c093ade39a3424bc9

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.2.0-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.2.0-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3b17a9dd50e19c620f34fc4e4fbcb355050214b679c4c4d6805b33403133f6d5
MD5 8aebe4af422af5a76c8cf9e4597c744d
BLAKE2b-256 e08b8805bf71688ad6975a8ad6f9740d808d033306a285651665138efc9abad6

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 30c912d051a001211d4c57eedf5788ce1418246848a902a7b0403ccfecc09829
MD5 b3e037259392d8bbb4f3dcd8b28eaa48
BLAKE2b-256 f41cd799896ce105a37f99beb2fca7d388f76243fc1194ece0f3acec1ca97041

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-2.2.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7ade93111490229ee0afa20f0169a38a77b312c0d840afc592073e0787e0c6b1
MD5 e90ab58cfd7dea599c0f5bb11a04896d
BLAKE2b-256 6eb1dee71c4978f8032cade1d3b5dc35cd94cab8141e44cbc936659b338ddbaa

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.2.0-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.2.0-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0ae92331bceee60b5d4f606f6ad9dd388f21253b01e2b0a1d95c2ae3662a1526
MD5 ca006fa2a04457dd00590ad6d5214db1
BLAKE2b-256 2257a9f238ec56b89b852412ba86dcebf32a5151f5b1dc30415cc6fbdc3d67d8

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 08118110dda42f8481f6a213975629a01a9556e49d77dd13cffc512f8d5290fa
MD5 431565a2cd929f8f62dbcc978786cb5d
BLAKE2b-256 29d4e916dbfaca5b931d5766340e2090d7f212b513f7d11b19344b9b76e16365

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-2.2.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c9bf6edf15821f88d8f60095f3ab58f573100c87c51596d03960a70f71934530
MD5 f4ad36d2155b815aa9e0aecaf2c75c00
BLAKE2b-256 069959beeca23d9863c92548357737d928c38623a9dccdafca5a41abe798122a

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.2.0-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.2.0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 69e2800cd913006c0dd600a078bb225de9083aa23d5bdf24719af40ae9ede97f
MD5 91162633c26fdb4244084250f5dd3d22
BLAKE2b-256 9a474957d00c0932dfcddce7167ad400e54a0be8d4cec5492efb2fe964c11ec7

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7c42bbc0911c13f3bd39055e34458108ef7a1bc9700da9fb7f196bef4bc9fac7
MD5 1f508c98f9ba07f9325dfe39a2bea162
BLAKE2b-256 32f1523c1d03183cfc0200c3354cbf1dfbeeb3f6591b30c6c9a80befb15ee615

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-2.2.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 686d245565898f515f8f3d6ad77553c4da45fc0adf9d3051ec96f6b2f150e237
MD5 b5a1d9c51844de8321461a29b08490a3
BLAKE2b-256 3a56893dbc45d51f69b75d076f62faa9d4e835e141ce45025b2c9082ad3cb39a

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.2.0-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.2.0-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0f40cbda3f51c6641a750e1fb8070435a2e6eb308ee720b848032ee8364662c5
MD5 dfe00006c9aad5bd6c6170a828ba3b0d
BLAKE2b-256 6e112fd07fea1c66c539346b9103c27a543fe4fa1ac71e6cdd7fe54eb834cbc0

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 418ff68a136dfbfac57c281f6292b6baae9903351c31fcd528c6b289e546c5dd
MD5 e9486b3513fb9b90598bff5de17b0420
BLAKE2b-256 0fa4018b20502aa1060597f8022e43b7186384b626150c8d6fc4415d65b6482c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-2.2.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 20106da6416ab2ce4d5284646aadf8943f82cfb8ce9e87d1af396d3e3ce56b28
MD5 b363a9130fa036c21546c10411554394
BLAKE2b-256 e653ed6670f8904d048be9893edad3691af2d6338911aaac14908fb972766417

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.2.0-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.2.0-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d521a7ca748ca4d74b3c1acb65fe58cb126169e89a1c910d039bef39f968a01a
MD5 1d66e3094abd5d8f31972ea08af936be
BLAKE2b-256 fdc8bf0ea3e38a3bc9e8d1623643f7d642aa31258ea29860c6cdee1cf15d5c7e

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 74a5cd1f63bd994e2ee301dce7283fcf504be72ad7b421e3137a8566b02b0df1
MD5 3b8583b9ea1cf46fd09954a757ea0907
BLAKE2b-256 e3d7dac4b3940474412bb7f27931302f38bcbd338fb1c37c243034f462ae2f01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-2.2.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 840e08a80f4e1a154ae9730c3af0c5c2b1dd63f1818cb6ac40f2c0d8e5ddb160
MD5 57971ab87aac2332773ef441e360e121
BLAKE2b-256 372d6066c9ce4eb089da09168cacbcac1db437246168d32562aa6fbffd9f13c5

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.2.0-cp38-cp38-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.2.0-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 229463058480327216ce5f40097c6d55b0cfa7d956d706f6f55e2e471744331f
MD5 ff041c706be97d0d3cca97cfdad1e418
BLAKE2b-256 537851fd2571c5b5a47c8203213730e047e0a2d58d8e2216902ad8f87f311e66

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 164a8a9c0e8e87be7564c1742934e4c7f59f637fa4cab2a23bdc4fb605113a7c
MD5 d8ea855b56adce6d72127e72e3837b42
BLAKE2b-256 dc7d3bc3ab65a54c7e5607bcdd75c3566c710170bf77c45efdc8295380f065a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-2.2.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 9d92ca9ee37c726f327dddc848fcd7fe4fa9b4d2a716b3ae381ce242146701d0
MD5 573e46d7c2a3f0de521ac48b3da1f1a7
BLAKE2b-256 9043f538066040a0c7123a9275ddd8321052fd08e6a907e5f1c5995e77573f72

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.2.0-cp37-cp37m-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.2.0-cp37-cp37m-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f5021c0c1e150e3ea5e7a2c3252609bd842fde5c2749c74764a7aa5935433c91
MD5 71a7099f7eb744a2b8da6094a712804a
BLAKE2b-256 0deef6c0b0df34c612bedacb49d152b8c26d6a958db1181261b297cf8b40a452

See more details on using hashes here.

File details

Details for the file multi_bible_search-2.2.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for multi_bible_search-2.2.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 be5f98a32d154924524e7497fee4ec598b90a1e8d1c0c25da0160db59dd996a1
MD5 01f80dc7d39290877beca3d4fe605c98
BLAKE2b-256 a65e81153778e79ef035d79846b369d97fbd5eb3c4307ed971932f43e27cc944

See more details on using hashes here.

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