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 pPass 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.

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

Uploaded Source

Built Distributions

multi_bible_search-1.0.1-pp310-pypy310_pp73-win_amd64.whl (27.2 MB view details)

Uploaded PyPy Windows x86-64

multi_bible_search-1.0.1-pp39-pypy39_pp73-win_amd64.whl (27.2 MB view details)

Uploaded PyPy Windows x86-64

multi_bible_search-1.0.1-pp38-pypy38_pp73-win_amd64.whl (27.2 MB view details)

Uploaded PyPy Windows x86-64

multi_bible_search-1.0.1-pp37-pypy37_pp73-win_amd64.whl (27.2 MB view details)

Uploaded PyPy Windows x86-64

multi_bible_search-1.0.1-cp312-cp312-win_amd64.whl (27.2 MB view details)

Uploaded CPython 3.12 Windows x86-64

multi_bible_search-1.0.1-cp312-cp312-win32.whl (27.2 MB view details)

Uploaded CPython 3.12 Windows x86

multi_bible_search-1.0.1-cp311-cp311-win_amd64.whl (27.2 MB view details)

Uploaded CPython 3.11 Windows x86-64

multi_bible_search-1.0.1-cp311-cp311-win32.whl (27.2 MB view details)

Uploaded CPython 3.11 Windows x86

multi_bible_search-1.0.1-cp310-cp310-win_amd64.whl (27.2 MB view details)

Uploaded CPython 3.10 Windows x86-64

multi_bible_search-1.0.1-cp310-cp310-win32.whl (27.2 MB view details)

Uploaded CPython 3.10 Windows x86

multi_bible_search-1.0.1-cp39-cp39-win_amd64.whl (27.2 MB view details)

Uploaded CPython 3.9 Windows x86-64

multi_bible_search-1.0.1-cp39-cp39-win32.whl (27.2 MB view details)

Uploaded CPython 3.9 Windows x86

multi_bible_search-1.0.1-cp38-cp38-win_amd64.whl (27.2 MB view details)

Uploaded CPython 3.8 Windows x86-64

multi_bible_search-1.0.1-cp38-cp38-win32.whl (27.2 MB view details)

Uploaded CPython 3.8 Windows x86

multi_bible_search-1.0.1-cp37-cp37m-win_amd64.whl (27.2 MB view details)

Uploaded CPython 3.7m Windows x86-64

multi_bible_search-1.0.1-cp37-cp37m-win32.whl (27.2 MB view details)

Uploaded CPython 3.7m Windows x86

File details

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

File metadata

  • Download URL: multi_bible_search-1.0.1.tar.gz
  • Upload date:
  • Size: 27.2 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-1.0.1.tar.gz
Algorithm Hash digest
SHA256 bba2ec1a6bbe062f5732ec1cc46ae8ae491f0247ff1ef291c7593460decdeec5
MD5 b700d892d26fc6ecdce1f2ef171b4d2a
BLAKE2b-256 a54d926f6be7b5db40baa6f3b3f5819491ecb369ef5c66ec897df27c93ccee23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-1.0.1-pp310-pypy310_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 2ba685bbd9aababc143cb910a80ded6011f4b5ad9baf1f6ba224f090e97e56be
MD5 a699823df532d6fa2438f48b3025f6f5
BLAKE2b-256 c853d91dd55c9b27b7ac5b02faf582353e7e307836239c4b5600333abf396ee0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-1.0.1-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 8189735a41c9b4974384dfaf71700a0ef740efa7cb8f62f186d185c7842fb040
MD5 73c695eda7cb3bf702670fa0974d86b6
BLAKE2b-256 20cf6f11da71c9aaf5a359941dede8d5e6cbcd88b14600c313a6c4ae32fc56c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-1.0.1-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 fb7a6612441d9860e5e768e9f5a1d8ef2131072383d2b0b65f44ac7a33991c2f
MD5 c4258bc362848fa9eeba5b3ed3ef14bc
BLAKE2b-256 8b3d4beec70cf9293799c64569c48f39f24fc40fb51040574d6c490b0c19025a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-1.0.1-pp37-pypy37_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 9bcb23eae921e4b8389275a719927e6f429d5f28089cbccfe0d08b7dc4367138
MD5 f45e3df62bfb9cc8bd1b67157515cea8
BLAKE2b-256 48c30a490ee3634adf7ef9809cb683c0c7df4fb54b283cf976977a80c78b4089

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-1.0.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 20b669a542ef8966d9e0eb37cf6f2000ed38c732ec2cb3899e19acd39f0b061d
MD5 72e09061bee834840cdc10fa424fc173
BLAKE2b-256 74f3e152d957ef38428d513fc1facf390f0b20ffaab26dd9f45406d8ed9670bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-1.0.1-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 ae97444fb80a050232f19868814d627c9272638846b3dfe4ef3fe7f623b92044
MD5 32d8c8aaf7a61c205776760a560f0254
BLAKE2b-256 b150591f7a143dcecb43fd23db7c3898bcb8fc0096290b72d39b5f590308ba14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-1.0.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 da7bda2f8708894167a9927f3b680a859c2bcbcc7489330cea27788dbc4933ef
MD5 f40ab44bbabd47805ce91249a148c2c7
BLAKE2b-256 d65c4a733e33518024c8aca17bd2998b382e7cef0f91f1d3292893da8ffc3a8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-1.0.1-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 5e5d33ae1c3a678bc984532cc2f2ce9fef8d3b14a881f2665c8f232f658260b1
MD5 32a224fe6b03d03055dee040b0cfb354
BLAKE2b-256 8b7e2703186274ba2fcda14a8fb3d2f749ec0fd47ee746ec3a3afafa3f065465

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-1.0.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6047a2f418614b6695ad96351992080dba2fe3dd4b256440680beccef334f80e
MD5 9d6b7b499119f557117fb58126a63067
BLAKE2b-256 b762b4e541397c514c9e61e15ee513dd850e26a879dc9a13d313f3e9f6341466

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-1.0.1-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 a9aadcb0d80945a470351819d2ccb4da5ed3544f8c234eca938e996da52a664d
MD5 41737461cba7aa1b514561f251696afb
BLAKE2b-256 7f3e512ddb161c89fe81a0cb3792ba1b702a5c6e113b498c1d5396fb6bd59127

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-1.0.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 08349aff862aef3e461451733775a2c9a6d3c41508213d1ad9ba1133ab3b94b4
MD5 fd7c30406ba8ebd8b4a996eefc3c7be1
BLAKE2b-256 5874343e42e390ecf2637ab0c496159c41dfbd7dc4d2425ac2b2f1c38ddae306

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-1.0.1-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 154ae93266060296a1157739330ec8d33d2ae1c27605c55b9bc835158b47629f
MD5 eeca70ca06ae424fdec00b8ad5477bea
BLAKE2b-256 de684a8360761ee4e77c9e28bbd78ba8aa0b96bdf464e22a7882545270c42249

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-1.0.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 38a9e9beaa49403ef0ee5304e4f81635a28679260f42208bdad9403ba9250dc3
MD5 89c21ead05bfc089008eb777d6623a9d
BLAKE2b-256 5c6f3b3aca4457ba7f5699d17b6bf8fb9749130aa697bfe298903d2b5c1f639e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-1.0.1-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 7b0ccec2f871cdfe5ccde6fd765aacaea952400318c8da605a77380ed47baa13
MD5 6239b02940d2e81ecbc5048379f4e5f5
BLAKE2b-256 04a92a503aa9f43f06588ff51d3883745dcf025447358decc3760230c324d2aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-1.0.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 3e2c0a6f1850dca04e5a502eae9235b4c97f2175b31d106438ba8655d7391d2a
MD5 5d97183c5d1a2e452f5d8fd8842e9670
BLAKE2b-256 42da4df8d9e89b9a67e1aaa888df6a5c59fb21a3c79ce3844f90801a4639c6ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multi_bible_search-1.0.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 27a46cdb8ca0b6d56cdf9b8ccd0ad53b9db75acf08a0b0ccd25d7dfa81f32e27
MD5 17051d354de3c579b1ad4828d6a82d58
BLAKE2b-256 f8eab10acfb53189f5b8a0bf2f7053e72063edc7844ec115c98b89dd98f49602

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