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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for hodgeys_kjv_db-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1d18b7bf2f7f1ecf88d2000055930af0b73c8901d82452f3977174f3d44f22d |
|
MD5 | 5c2c5fa3734a0a3beef99fa580caf129 |
|
BLAKE2b-256 | 641598801041b9829005b2db7d20cd6fbdf54d404e1e009af6b1a855237c5c6c |