Skip to main content

BibleHubScrapper

A python module that retrieve a single verse and the information on it from biblehub.com. Also a simple commandline application

Installation

pip3 install BibleHubScrapper

Commandline

To retrieve all the currently available information on a reference, use the '-a' tag:

biblehub -a [Reference]

To only retrieve specific information, pass in the corresponding tag:

biblehub -c [Reference] # Also retrieves the cross-references
biblehub -t [Reference] # Also retrieves the lexicon

As with most cli tools, arguments can be stacked with one hyphen, such as:

biblehub -cl [Reference] # Retrieves the cross-references and lexicon in addition to the passage

Script Usage

You can import the query method to use in scripts.

from BibleHubScrapper import query

biblehub_query = query('Genesis 1:1')
print(biblehub_query.text) # In the beginning...

By default, it will query all possible fields. You can choose not to query certain fields by indicating in the parameters for example: query('Genesis 1:1', get_lexicons=False)

Useful fields

print(biblehub_query.passage) # Genesis 1:1
print(biblehub_query.version) # NIV (default)
print(biblehub_query.lexicons) # Text, Hebrew words, translit, strong, and English defintions
print(biblehub_query.crfs) # Cross References
print(biblehub_query.tos) # Treasury of Scripture
print(biblehub_query.info) # Prints all the info queried on the verse. Also the same as the __str__

there are also biblehub_query.format_[field] method that returns the specified field in an easy to read way.

Todo

  • Possibly support multiple verses
  • Possibly make vim plugin
  • Consider fetching commentaries, or a specific one
  • Implement search function
  • Reformat module structure
  • Create etc config file for formatting (colors, verbosity, etc.)

Contributing

If you feel like improving the codebase, adding a feature, or checking my grammar, feel free! Just make sure to send a pull request against the development branch.

Metadata

Release files for BibleHubScrapper 1.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for BibleHubScrapper 1.3.4
File Size Uploaded
BibleHubScrapper-1.3.4.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for BibleHubScrapper 1.3.4
File Interpreter ABI Platform
BibleHubScrapper-1.3.4-py3-none-any.whl Python 3 none any Details

Total release size: 12.0 kB

Release files / BibleHubScrapper-1.3.4.tar.gz

Download URL BibleHubScrapper-1.3.4.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c23e11f323e392a35b348692f8765c103e2dd6f26f7dafb5945013b5b39b3a62
BLAKE2b-256 checksum
How to use checksums
9d7c28b638b41f5d7187ebef22ad091da42c1dc806f5302425b37d6c9488e45f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.4.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2

Release files / BibleHubScrapper-1.3.4-py3-none-any.whl

Download URL BibleHubScrapper-1.3.4-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f7cc32a01151454add346fac348e1c793408eb109dadcfd56031c446b912acac
BLAKE2b-256 checksum
How to use checksums
231b67594ad3c56823168345b6d8d525e7c3d1d64e206e73abc53dce8c3c6b4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.4.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2

Release history Release notifications | RSS feed

This release

1.3.4 This release

2 release files

1.3.3

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.0.5

2 release files

1.0.1

2 release files

1.0.0

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page