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

Uploaded Source

Built Distribution

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

Uploaded Python 3

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