Skip to main content

bible-translations

CI Lint GitHub Release PyPI - Version PyPI - Python Version PyPI - Downloads

A Python package (PyPI) and CLI for fetching Bible translations on demand. Fetches publicly available translations from BibleGateway at request time, either as Python objects (via the API) or as exported JSON files (via the CLI).

Documentation

Full API and CLI reference: https://jadenzaleski.github.io/bible-translations/

Supported translations

Translation Abbreviation
King James Version KJV
American Standard Version ASV
World English Bible WEB
Young's Literal Translation YLT
Darby Translation DARBY
Douay-Rheims 1899 American Edition DRA

Install

Install the CLI with uv:

uv tool install bible-translations

Install with pip:

pip install bible-translations

Run:

bt
# or
bible-translations

If bt isn't found afterward, run uv tool update-shell and open a new terminal.

To use bible-translations as a library, add it to your own project instead:

uv add bible-translations

Install from local source

Clone the repo and install in editable mode:

git clone https://github.com/jadenzaleski/bible-translations.git
cd bible-translations
python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip setuptools wheel
pip install -e ".[dev]"

The last command (pip install -e ".[dev]") automatically installs the package and any tools listed under [project.optional-dependencies].dev (e.g. pytest, ruff). The -e flag creates a "symlink" so changes you make to src/bible_translations/ are immediately available when importing the package.

Build from a local source

Generate a wheel and source distribution:

python -m build

This creates a dist/ folder with:

  • .whl → wheel (binary distribution)
  • .tar.gz → source distribution

You can install the wheel to test locally:

pip install dist/bible_translations*.whl

Run Tests

pip install pytest
pytest

Usage

The package provides a CLI for fetching and exporting Bible translations.

Examples

  • Fetch a verse:
    bt verse "John 3:16"
    
  • Fetch a chapter:
    bt chapter "John 3"
    
  • Fetch a book:
    bt book John
    
  • Fetch all books:
    bt books
    
  • Fetch a selection:
    bt selection "John 3:16" "John 3:18"
    

Options

In any command, you can specify the translation, output filename, and format:

  • Specify translation (default: KJV):
    bt verse "John 3:16" --translation KJV
    # or
    bt verse "John 3:16" -t KJV
    
  • Specify output file and format (default: export, json):
    bt verse "John 3:16" my_export json
    

Changelog

You can find all the change information here.

Contributing

Be sure to check out the bible-translations project to see where you can help!

Guidelines for contributing can be found here.

Disclaimer

Please read our disclaimer here.

Release files for bible-translations 1.0.0

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

Source distribution (sdist)

Source distribution for bible-translations 1.0.0
File Size Uploaded
bible_translations-1.0.0.tar.gz 26.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bible-translations 1.0.0
File Interpreter ABI Platform
bible_translations-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 51.9 kB

Release files / bible_translations-1.0.0.tar.gz

Download URL bible_translations-1.0.0.tar.gz
Size 26.4 kB
Tags Source
SHA-256 checksum
How to use checksums
655c2ef947809b02f9e10144b26e389dcbaab774ef3b59ebd7828aa0300dc6f4
BLAKE2b-256 checksum
How to use checksums
4b14bd76a2bd81316e857cb740768a368f541f972638f8e116297c21cbc3161e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release files / bible_translations-1.0.0-py3-none-any.whl

Download URL bible_translations-1.0.0-py3-none-any.whl
Size 25.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
137cb45e831d437a4ba2fd34d0d2136c58880175dbe605e1f1b4a2e30305de05
BLAKE2b-256 checksum
How to use checksums
cec103a6afc15cba0c057c5b883f1d525c544bfda65b1ab3fec3f46ccd420be5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

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