pythonbible icon indicating copy to clipboard operation
pythonbible copied to clipboard

Add Berean Standard Bible (BSB) and World English Bible (WEB)

Open smarkoco opened this issue 5 months ago • 1 comments

Description

Primarily, I added 2 new public domain versions to the pythonbible:

  1. World English Bible - this version has some extra verses occasionally, like Romans 14:24-26, due to reliance on different manuscripts, but is regarded as a modern reputable translation
  2. Berean Standard Bible - this version was published in 2022, and is highly esteemed, using the best manuscripts with and emphasis on matching the Hebrew and Greek words carefully. Honestly, considering this and the modern language, I think this BSB could be set as the DEFAULT_VERSION for pythonbible, but that's just my opinion

Secondarily, I included a simple example for new developers and users to be able to quickly understand how this package can be used.

  • examples/print_verses.py

Please include a summary of the change and which issue is fixed (if applicable). Please also include relevant motivation and context. List any dependencies that are required for this change.

Checklist:

  • [x] I have read the CONTRIBUTING document.
  • [x] I have added tests that prove my fix is effective or that my feature works.
  • [X] I have run pre-commit locally prior to submission and fixed any errors/warnings.
    • In the bibles under pythonbible/bible/bsb and pythonbible/bible/web
    • There were many errors during the ruff tests related to formatting: lines being too long and the presence of right and left quote characters, and "Boolean positional value in function call" which I think could be ignored?
    • examples/print_verses.py
    • examples/print_verses.py:5:1: ERA001 Found commented-out code
    • examples/print_verses.py:6:1: ERA001 Found commented-out code
    • examples/print_verses.py:7:1: ERA001 Found commented-out code
    • examples/print_verses.py:8:1: ERA001 Found commented-out code
    • examples/print_verses.py:16:1: T201 print found
    • examples/print_verses.py:19:5: T201 print found
    • examples/print_verses.py:20:89: E501 Line too long (189 > 88)
    • examples/print_verses.py:24:9: T201 print found
  • [X] I have run tests locally prior to submission and they are passing.
    • The new examples/print_verses.py served as a functional test, and it was working for both BSB and WEB
  • [ ] I have added necessary documentation (if appropriate).
  • [ ] I have updated the README (if appropriate).
  • [ ] I have updated the CHANGELOG (if appropriate).
  • [ ] I have updated the version number (if appropriate).
  • [ ] I have updated the requirements (if appropriate).

image

smarkoco avatar Sep 05 '24 03:09 smarkoco