Skip to main content

The King James Bible as a Python module

Project description

Hodgeys KJV DB

A SQLite database of the King James Bible, as compiled by me from Project Gutenberg; and an accompanying wrapper module.

Installation


pip install hodgeys-kjv-db

Usage

# Import...

from hodgeys_kjv_db import KJV



# ...instantiate...

kjv = KJV()



# ...and drill down.

books = kjv.fetch_books()

for book in books:

    print(book)



chapters = kjv.fetch_chapters(1, 1)

for k, v in chapters.items():

    print(k, v)



verse = kjv.fetch_passage(1, 1, 1, 1)

print(verse)

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

hodgeys_kjv_db-1.0.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

hodgeys_kjv_db-1.0.0-py3-none-any.whl (1.8 MB view details)

Uploaded Python 3

File details

Details for the file hodgeys_kjv_db-1.0.0.tar.gz.

File metadata

  • Download URL: hodgeys_kjv_db-1.0.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.7

File hashes

Hashes for hodgeys_kjv_db-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0f0d01ab9d06c49be2c4232831d2fce219e4c40fcb7ec0f2ba93b3f634c2c2b7
MD5 e67f02f3b1e700f659687480d9316f51
BLAKE2b-256 2aa06e7bcedce1eb83eb529ce8550d5bdc87f6854ff1565b0319d8f6c200655b

See more details on using hashes here.

File details

Details for the file hodgeys_kjv_db-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: hodgeys_kjv_db-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.7

File hashes

Hashes for hodgeys_kjv_db-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c1d18b7bf2f7f1ecf88d2000055930af0b73c8901d82452f3977174f3d44f22d
MD5 5c2c5fa3734a0a3beef99fa580caf129
BLAKE2b-256 641598801041b9829005b2db7d20cd6fbdf54d404e1e009af6b1a855237c5c6c

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