Skip to main content

bible_translation_finder

A Python package to download Bible translations as OpenSong XML files that you can drop into FreeShow, OpenSong, and other lyrics-display software.

pip install bible_translation_finder
import btf  # or: import btm

# --- Verse Lookup & Scripture Search ---
print(btf.get_verse("John 3:16").text)
print(btf.get_passage("Ps 23:1-3", translation="WEB").text)

for hit in btf.find("everlasting", translation="KJV", limit=5):
    print(hit.reference, "-", hit.text)

# Hold a Bible open in memory & export to OpenSong XML
bible = btf.load("KOUGO")                      # Japanese Colloquial Version
print(bible.get_verse("John", 3, 16).text)
xml_content = bible.to_opensong_xml()          # get XML string directly
bible.save("./bibles/kougo.xml")               # or save to file

# --- Download OpenSong XML Files ---
# List the 98 translations in the curated catalog
btf.list_translations()                         # freely available
btf.list_translations(include_copyrighted=True) # all 98

# Browse offline (no network)
btf.find_translations("japanese")                # KOUGO, SHINKAI, JFB
btf.find_translations(language="Korean")

# Download one translation into a directory
btf.download("KJV", output_dir="./bibles")       # /bibles/kjv_eng_kjv.xml
btf.download("KOUGO", output_dir="./bibles")     # Japanese Colloquial
btf.download("LSG", output_dir="./bibles")       # Louis Segond 1910

# Download many at once
btf.batch(["KJV", "WEB", "LSG", "KOUGO"], output_dir="./bibles")

# Or fetch XML in memory without writing to disk
xml = btf.fetch_xml("KJV")

# Or use a managed data directory
lib = btf.Library()                             # ~/.local/share/bible-translation-finder
lib.download("KJV")
print(lib.file_for("KJV"))                      # cached OpenSong XML path
print([t["abbreviation"] for t in lib.downloaded()])

The resulting XML is OpenSong <bible><b><c><v> format — load it into FreeShow, OpenSong, or any other Bible-aware lyrics app.

Installation

pip install bible_translation_finder

From source:

git clone https://github.com/Jemo69/bible_translation_finder.git
cd bible_translation_finder
pip install -e ".[dev]"      # or: uv sync

Requires Python 3.10+.

CLI

btm get "John 3:16"               # lookup verse (default: KJV)
btm get "Ps 23:1-3" -t WEB        # lookup passage with specific translation
btm find "love" -t KJV --limit 10 # search verse text
btm list                          # freely available translations
btm list --all                    # include copyrighted stubs
btm search japanese               # local catalog + eBible.org
btm download KJV -o ./bibles      # fetch + convert one translation
btm batch --ids KJV,WEB,LSG -o ./bibles
btm batch -o ./bibles             # every freely available translation
btm downloaded                    # what's already in the data dir
btm --data-dir /path/to/dir ...   # override the cache directory

Translations

98 curated entries across 39 languages, including:

Language Translations
English KJV, WEB, ASV, BBE, DARBY, DRA, YLT, OEB-US/CW, WEBBE, BSB, FBV, LSV, GNV, NET, RV, WMB, ULB, T4T, Webster, JPS, Brenton, NIV*, TPT*, + stubs (ESV, NLT, NKJV, CSB, NASB, NRSV)
Spanish Reina Valera 1909/1602/Gómez, BES, PDDPT, VBL, BLL
German Luther 1912, Elberfelder
French Ostervald, Louis Segond 1910, FOB, Darby
Portuguese Almeida, Bíblia Livre, BPM
Russian Synodal
Chinese CUV Traditional/Simplified, CUV-89 Simplified/Traditional
Japanese Colloquial (口語訳), Shinkaiyaku 1965 NT, Freedom Bible
Korean Korean Revised Version
Italian Riveduta 1927, Diodati 1885
Dutch Statenvertaling, 1917
Arabic Van Dyke
Hindi IRV Hindi
Greek Byzantine Majority NT, SBLGNT, Septuagint
Hebrew Westminster Leningrad Codex, Modern Hebrew
Latin Clementine Vulgate
Others Finnish, Swedish, Norwegian, Danish, Polish (Gdańska, UBG), Czech (Kralická), Hungarian (Károli), Croatian, Latvian, Albanian, Romanian, Ukrainian (Kulish), Bulgarian, Swahili, Tagalog, Vietnamese, Thai (×2), Turkish (×2), Indonesian, Māori, Cherokee, Patep

Sources: open-bibles (OSIS/Zefania/USFX), eBible.org (USFX; all entries marked redistributable there), bible.com (* personal-use scraping).

Need one of the 1,500+ eBible.org translations not listed here? Every catalog entry follows the same https://eBible.org/Scriptures/{id}_usfx.zip pattern — the Library is just a thin wrapper around _scraper.download_ebible_usfx and convert_to_opensong, so any translation can be fetched the same way.

License

Code is MIT (see LICENSE). Bible texts belong to their respective copyright holders — see each translation's copyright field and respect its terms. NIV and TPT downloads via bible.com are for personal use only; ESV, NLT, NKJV, CSB, NASB, NRSV ship as stub files only.

Metadata

Release files for bible-translation-finder 0.3.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-translation-finder 0.3.0
File Size Uploaded Provenance Actions
bible_translation_finder-0.3.0.tar.gz 36.3 kB Without provenance Details for bible_translation_finder-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bible-translation-finder 0.3.0
File Interpreter ABI Platform Actions
bible_translation_finder-0.3.0-py3-none-any.whl Python 3 none any Details for bible_translation_finder-0.3.0-py3-none-any.whl

Total release size: 72.0 kB

Release files / bible_translation_finder-0.3.0.tar.gz

Download URL bible_translation_finder-0.3.0.tar.gz
Size 36.3 kB
Tags Source
SHA-256 checksum
How to use checksums
97d55296dd52b7437b86994d7eae0f4f93d3fda134a90e96de646251e8619e87
BLAKE2b-256 checksum
How to use checksums
2c715cbf7c278c88dac8977e89ccaa863f54906d16a73880a787ef8a1df8cfdf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / bible_translation_finder-0.3.0-py3-none-any.whl

Download URL bible_translation_finder-0.3.0-py3-none-any.whl
Size 35.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
70873c1ae3fb1d7d478e340d99ec19f64b2a25e2f7fe958aa4580d57e05fd375
BLAKE2b-256 checksum
How to use checksums
12dd34f328af54a1b003282aabbe269b6b93dba7627836b9db6b6d76f36060ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for bible-translation-finder 0.3.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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