Skip to content

Commit 74d988c

Browse files
authored
add more versions (#161)
1 parent 2dadb3f commit 74d988c

3 files changed

Lines changed: 83 additions & 45 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.13.0] = 2024-05-21
11+
12+
### Added
13+
14+
- Official support for Python 3.12
15+
- Additional English Versions
16+
17+
### Changed
18+
19+
- Modified some Version names and values to match their OSIS values
20+
1021
## [0.12.0] - 2023-10-03
1122

1223
### Added
@@ -120,7 +131,8 @@ The goal of this release was to address [Issue #90], and to make things related
120131

121132
## [0.0.1] - 2020-10-08
122133

123-
[unreleased]: https://github.com/avendesora/pythonbible/compare/v0.12.0...HEAD
134+
[unreleased]: https://github.com/avendesora/pythonbible/compare/v0.13.0...HEAD
135+
[0.13.0]: https://github.com/avendesora/pythonbible/compare/v0.12.0...v0.13.0
124136
[0.12.0]: https://github.com/avendesora/pythonbible/compare/v0.11.1...v0.12.0
125137
[0.11.1]: https://github.com/avendesora/pythonbible/compare/v0.11.0...v0.11.1
126138
[0.11.0]: https://github.com/avendesora/pythonbible/compare/v0.10.0...v0.11.0

pythonbible/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
from __future__ import annotations
1010

11-
__version__ = "0.12.0"
11+
__version__ = "0.13.0"
1212

1313
from .bible.bible import Bible
1414
from .book_groups import BOOK_GROUPS

pythonbible/versions.py

Lines changed: 69 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -37,48 +37,77 @@ def __init__(self: Version, _: str, title: str) -> None:
3737
def title(self: Version) -> str:
3838
return self._title_
3939

40+
# Open Source or Public Domain English Translations
41+
AMERICAN_KING_JAMES = "AKJV", "American King James Version"
42+
AMERICAN_STANDARD = "ASV", "American Standard Version"
43+
BIBLE_IN_BASIC_ENGLISH = "BBE", "Bible in Basic English"
44+
WORLWIDE_ENGLISH = "BWE", "Bible in WorldWide English NT"
45+
DARBY = "DAR", "Darby"
46+
DIAGLOT_NT = "Diaglot", "Diaglot NT - 1865"
47+
DOUAY_RHEIMS = "DR", "Douay-Rheims"
48+
ROTHERHAM = "ROTH", "The Emphasized Bible by J. B. Rotherham"
49+
GENEVA = "GB", "Geneva Bible"
50+
KING_JAMES = "KJV", "King James Version"
51+
LEESER = "LEESER", "Leeser Old Testament"
52+
LIVING_ORACLES_NT = "LONT", "Living Oracles NT"
53+
KING_JAMES_MODERN_1963 = "MKJV1963", "Modern KJV 1963"
54+
MONTGOMERY_NT = "MONT", "Montgomery New Testament"
55+
NEW_HEART = "NHEB", "New Heart English Bible"
56+
OPEN_ENGLISH = "OEB", "Open English Bible"
57+
ETHERIDGE = "ETHERIDGE", "The Peschito Syriac New Testament"
58+
REVISED_WEBSTER = "RWEBSTER", "Revised 1833 Webster Version"
59+
REVISED_YOUNGS = "RYLT", "Revised Young's Literal Translation NT"
60+
KING_JAMES_UPDATED = "UKJV", "Updated King James Version"
61+
WEBSTER = "WBS", "Webster"
62+
WESLEY_NT = "WESLEY", "Wesley's New Testament"
63+
WEYMOUTH_NT = "WMTH", "Weymouth NT"
64+
TYNDALE = "TYN", "Willam Tyndale Bible"
65+
WORLD_ENGLISH = "WEB", "World English Bible"
66+
WYCLIFFE = "WYC", "Wycliffe Bible"
67+
YOUNGS = "YLT", "Young's Literal Translation of the Bible"
68+
4069
# Ancient Language Editions
41-
STEPHANUS_GNT = "Steph", "Stephanus GNT"
42-
LATIN_VULGATE = "Vul", "Latin Vulgate"
70+
BIBLIA_HEBRAICA_STUTTGARTENSIA = "BHS", "Biblia Hebraica Stuttgartensia"
4371
LATIN_ERASMUS = (
4472
"Erasmus",
4573
"Erasmus Latin translation by Desiderius Erasmus Roterodamus",
4674
)
75+
GREEK_SEPTUAGINT = "LXX", "Greek Septuagint"
76+
LATIN_VULGATE = "Vul", "Latin Vulgate"
4777
MASORETIC_TEXT = "MT", "Masoretic text"
48-
BIBLIA_HEBRAICA_STUTTGARTENSIA = "BHS", "Biblia Hebraica Stuttgartensia"
4978
NESTLE_ALAND = "NA", "Nestle-Aland Greek New Testament"
50-
GREEK_SEPTUAGINT = "LXX", "Greek Septuagint"
79+
STEPHANUS_GNT = "Steph", "Stephanus GNT"
5180

52-
# English Editions
53-
COMPLETE = (
54-
"AAT",
55-
"The Complete Bible: An American Translation, by Edgar Goodspeed and J. M. "
56-
"Powis Smith",
57-
)
81+
# Other English Translations
5882
AFRO = "ABT", "The Afro Bible Translation"
5983
ALTERNATE_TRANSLATION = "ATB", "The Alternate Translation Bible"
60-
AMERICAN_STANDARD = "ASV", "American Standard Version"
84+
AMERICAN_SIGN_LANGUAGE = "ASL", "American Sign Language Translation"
6185
AMPLIFIED = "AB", "The Amplified Bible"
6286
ANALYTICAL_LITERAL = "ALT", "Analytical-Literal Translation"
63-
AMERICAN_SIGN_LANGUAGE = "ASL", "American Sign Language Translation"
6487
AUTHORIZED = "AV", "Authorized Version"
65-
BARCLAY = "BAR", "The New Testament: A New Translation, by William Barclay"
88+
JAMES_MOFFATT = "Mof", "Bible: James Moffatt Translation"
6689
BIKER = "BB", "The Biker Bible"
67-
WORLWIDE_ENGLISH = "BWE", "Bible in WorldWide English"
90+
BRENTONS_ENGLISH_SEPTUAGINT = "LXXE", "Brenton's English Septuagint"
6891
CHRISTIAN_COMMUNITY = "CCB", "Christian Community Bible"
6992
COMMON = "COM", "The Common Edition: New Testament"
70-
COVENANT = "COV", "Covenant Edition New Testament"
93+
COMPLETE = (
94+
"AAT",
95+
"The Complete Bible: An American Translation, by Edgar Goodspeed and J. M. "
96+
"Powis Smith",
97+
)
7198
COMPLETE_JEWISH = "CJB", "Complete Jewish Bible"
7299
CONCORDANT = "CONC", "Concordant Version"
100+
A_CONSERVATIVE_VERSION = "ACV", "A Conservative Version"
73101
CONTEMPORARY_ENGLISH = "CEV", "Contemporary English Version"
74102
COTTON_PATCH = "CPV", "Cotton Patch Version, tr. Clarence Jordan"
75-
DARBY = "DAR", "Darby"
76-
DOUAY_RHEIMS = "DR", "Douay-Rheims"
103+
COVENANT = "COV", "Covenant Edition New Testament"
77104
DAVID_ROBERT_PALMER = "DRP", "David Robert Palmer's translations of the gospels"
78-
ENGLISH_MAJORITY_TEXT = "EMTV", "English Majority Text Version"
79-
EXTREME = "ENT", "Extreme New Testament"
105+
KING_JAMES_DEFINED = "DKJB", "Defined King James Version"
80106
EASY_TO_READ = "ERV", "Easy-to-Read Version"
107+
JUBILEE_2000 = "JUBL2000", "English Jubilee 2000 Bible"
108+
ENGLISH_MAJORITY_TEXT = "EMTV", "English Majority Text Version"
81109
ENGLISH_STANDARD = "ESV", "English Standard Version"
110+
EXTREME = "ENT", "Extreme New Testament"
82111
FERRAR_FENTON = "FF", "Ferrar Fenton Bible"
83112
GODS_LIVING_WORD = "GLW", "God's Living Word"
84113
GODS_NEW_COVENANT = (
@@ -91,27 +120,22 @@ def title(self: Version) -> str:
91120
INTERNATIONAL_CHILDRENS = "ICB", "International Children's Bible"
92121
INTERNATIONAL_STANDARD_BIBLE = "ISB", "International Standard Bible"
93122
INTERNATIONAL_STANDARD_VERSION = "ISV", "The International Standard Version"
94-
J_B_PHILLIPS = "JBP", "New Testament in Modern English, by J. B. Phillips"
95123
JEWISH_NEW_TESTAMENT = (
96124
"JNT",
97125
"Jewish New Testament: A Translation of the New Testament That Expresses Its "
98126
"Jewishness",
99127
)
100-
KING_JAMES = "KJV", "King James Version"
101-
KING_JAMES_DEFINED = "DKJB", "Defined King James Version"
102-
KING_JAMES_II = "KJII", "King James Version II"
103-
KING_JAMES_21 = "KJ21", "King James for the 21st Century"
128+
JEWISH_OLD_TESTAMENT = "JPS", "Jewish Publication Society AT"
104129
KING_JAMES_2000 = "KJ2000", "King James 2000"
130+
KING_JAMES_21 = "KJ21", "King James for the 21st Century"
131+
KING_JAMES_II = "KJII", "King James Version II"
132+
LEXHAM_ENGLISH = "LEB", "The Lexham English Bible"
105133
LITERAL = "LITV", "The Literal Translation of the Holy Bible"
106-
KING_JAMES_MODERN = "MKJV", "Modern King James Version"
107-
REVISED_AUTHORISED = "RAV", "Revised Authorised Version"
108-
KING_JAMES_REVISED = "RKJV", "Revised King James New Testament"
109-
THIRD_MILLENIUM = "TMB", "The Third Millenium Bible"
110-
KING_JAMES_UPDATED = "UKJV", "Updated King James Version"
111134
LIVING = "LB", "Living Bible"
135+
MESSAGE = "TM", "The Message"
136+
KING_JAMES_MODERN = "MKJV", "Modern King James Version"
112137
MODERN_AMERICAN_ENGLISH_VERNACULAR = "MAEV", "Modern American English Vernacular"
113138
MODERN_LANGUAGE = "MLB", "Modern Language Bible: New Berkeley Version"
114-
JAMES_MOFFATT = "Mof", "Bible: James Moffatt Translation"
115139
NEW_AMERICAN = "NAB", "New American Bible"
116140
NEW_AMERICAN_STANDARD = "NASB", "New American Standard Bible"
117141
NEW_CENTURY = "NCV", "New Century Version"
@@ -125,33 +149,35 @@ def title(self: Version) -> str:
125149
NEW_LIFE = "NLV", "New Life Version"
126150
NEW_LIVING = "NLT", "New Living Translation"
127151
NEW_REVISED_STANDARD = "NRSV", "New Revised Standard Bible"
152+
NEW_SIMPLIFIED = "NSB", "New Simplified Bible"
153+
J_B_PHILLIPS = "JBP", "New Testament in Modern English, by J. B. Phillips"
154+
CHARLES_B_WILLIAMS = "Wms", "The New Testament in the Language of the People"
155+
WUEST = "WUEST", "The New Testament (An Expanded Translation)"
156+
BARCLAY = "BAR", "The New Testament: A New Translation, by William Barclay"
128157
NEW_WORLD = "NWT", "New World Translation"
129158
ORIGINAL_BIBLE_PROJECT = "OBP", "The Original Bible Project"
130-
ORTHODOX_STUDY = "OSB", "Orthodox Study Bible"
131159
ORIGINAL_NEW_TESTAMENT = (
132160
"ONT",
133161
"The Original New Testament: The First Definitive Translation of the New "
134162
"Testament in 2000 Years, by Hugh Schonfield",
135163
)
164+
ORTHODOX_STUDY = "OSB", "Orthodox Study Bible"
136165
POSTMODERN = "PMB", "Postmodern Bible - Amos"
137-
RECOVERY = "Rec", "Recovery Version"
166+
RECOVERY = "REC", "Recovery Version"
167+
REVISED_AUTHORISED = "RAV", "Revised Authorised Version"
138168
REVISED_ENGLISH = "REB", "The Revised English Bible"
169+
KING_JAMES_REVISED = "RKJV", "Revised King James New Testament"
139170
REVISED_STANDARD = "RSV", "The Revised Standard Version"
140171
REVISED = "RV", "Revised Version"
141-
SCHOCKEN = "Sch", "The Schocken Bible"
172+
RIVERSIDE_NT = "RNT", "The Riverside New Testament"
173+
SCHOCKEN = "SCH", "The Schocken Bible"
142174
SIMPLE_ENGLISH = "SEB", "The Simple English Bible"
143-
MESSAGE = "TM", "The Message"
175+
THIRD_MILLENIUM = "TMB", "The Third Millenium Bible"
144176
TODAYS_ENGLISH = "TEV", "Today's English Version"
145177
TODAYS_NEW_INTERNATIONAL = "TNIV", "Today's New International Version"
146-
TYNDALE = "Tyn", "Tyndale"
147-
WEYMOUTH = "Wey", "Weymouth"
148-
WORLD_ENGLISH = "WEB", "World English Bible"
149-
CHARLES_B_WILLIAMS = "Wms", "The New Testament in the Language of the People"
150-
WESLEYS = "WNT", "Wesley's New Testament"
151-
WUEST = "Wuest", "The New Testament (An Expanded Translation)"
152-
WYCLIFFE = "Wyc", "Wycliffe"
153-
YES_WORD = "Yes", "Yes Word"
154-
YOUNGS_LITERAL = "YLT", "Young's Literal Translation of the Bible"
178+
UPDATED_BIBLE = "UPDV", "Updated Bible Version"
179+
VW_EDITION_2006 = "XXX", "VW-Edition 2006"
180+
YES_WORD = "YES", "Yes Word"
155181

156182

157183
DEFAULT_VERSION: Version = Version.AMERICAN_STANDARD

0 commit comments

Comments
 (0)