Skip to content

Commit 94efac3

Browse files
committed
DAR
1 parent f6b2b81 commit 94efac3

15 files changed

Lines changed: 140 additions & 7 deletions

File tree

.github/dependabot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ updates:
88
- "/pythonbible-asv"
99
- "/pythonbible-bbe"
1010
- "/pythonbible-bwe"
11+
- "/pythonbible-dar"
1112
- "/pythonbible-kjv"
1213
schedule:
1314
interval: "daily"

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
pythonbible-asv
3838
pythonbible-bbe
3939
pythonbible-bwe
40+
pythonbible-dar
4041
pythonbible-kjv
4142
)
4243

CHANGELOG.md

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

88
## [Unreleased]
99

10-
## [0.15.0] - 2025-11-11
10+
## [0.15.0] - 2025-11-??
1111

1212
### Added
1313

@@ -44,6 +44,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4444
- **BREAKING CHANGE**: Modified the NormalizedReference class to allow start chapter, start verse, end chapter, and end verse to be None.
4545
- The parser has also been updated to set those values to None unless they are explicitly set in the reference string. As we added more version/translation Bible texts, we realized the differences in chapter and verse numbers between versions/translations was much greater than initially assumed. This change allows for more flexibility in handling those differences.
4646
- The formatter has also been updated to get the appropriate start chapter, start verse, end chapter, and end verse at format time rather than parse time.
47+
- Moved all versions to be separate python packages that can be optionally installed.
48+
- The ASV version is still included as the default version.
49+
- Updated release workflow to publish all version packages to PyPI as well as the pythonbible package.
50+
- The release workflow will compare the version of each package to the version in the previous tag/release and only publish if the version number has increased.
4751

4852
## [0.14.0] - 2025-11-09
4953

pythonbible-dar/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# pythonbible-dar
2+
3+
The Darby (DAR) version of the Bible in Python. For use with the `pythonbible` library.

pythonbible-dar/pyproject.toml

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
[build-system]
2+
requires = ["uv_build>=0.8.9,<0.10.0"]
3+
build-backend = "uv_build"
4+
5+
[tool.uv.build-backend]
6+
module-root = ""
7+
module-name = "pythonbible_dar"
8+
9+
[project]
10+
name = "pythonbible-dar"
11+
version = "0.0.1"
12+
description-file = "README.md"
13+
requires-python = ">=3.10"
14+
authors = [
15+
{ name = "Nathan Patton", email = "npatton@gmail.com" }
16+
]
17+
readme = "README.md"
18+
license = "MIT"
19+
classifiers = [
20+
"Intended Audience :: Information Technology",
21+
"Intended Audience :: Developers",
22+
"Operating System :: OS Independent",
23+
"Topic :: Software Development :: Libraries :: Python Modules",
24+
"Topic :: Software Development :: Libraries",
25+
"Topic :: Software Development",
26+
"Programming Language :: Python",
27+
"Programming Language :: Python :: 3",
28+
"Programming Language :: Python :: 3 :: Only",
29+
"Programming Language :: Python :: 3.10",
30+
"Programming Language :: Python :: 3.11",
31+
"Programming Language :: Python :: 3.12",
32+
"Programming Language :: Python :: 3.13",
33+
"Programming Language :: Python :: 3.14",
34+
"License :: OSI Approved :: MIT License"
35+
]
36+
urls = { Documentation = "https://docs.python.bible", Source = "https://github.com/avendesora/pythonbible" }
37+
dependencies = [
38+
"pythonbible",
39+
]
40+
41+
[tool.ruff.lint]
42+
select = [
43+
"A",
44+
"ANN",
45+
"ARG",
46+
"B",
47+
"BLE",
48+
"COM",
49+
"C4",
50+
"C90",
51+
"D",
52+
"DTZ",
53+
"E",
54+
"EM",
55+
"ERA",
56+
"EXE",
57+
"F",
58+
"FBT",
59+
"G",
60+
"I",
61+
"ICN",
62+
"INP",
63+
"ISC",
64+
"N",
65+
"NPY",
66+
"PD",
67+
"PGH",
68+
"PIE",
69+
"PL",
70+
"PT",
71+
"PTH",
72+
"PYI",
73+
"Q",
74+
"RET",
75+
"RSE",
76+
"RUF",
77+
"S",
78+
"SIM",
79+
"SLF",
80+
"TCH",
81+
"TID",
82+
"TRY",
83+
"T10",
84+
"T20",
85+
"W",
86+
]
87+
ignore = [
88+
"COM812", # conflicts with formatter
89+
"D100",
90+
"D101",
91+
"D102",
92+
"D103",
93+
"D104",
94+
"D205",
95+
"D203",
96+
"D213",
97+
"E501", # Bible text is going to exceed line length
98+
"FBT003",
99+
"RUF001", # right single quotation mark in Bible text
100+
"ISC001", # conflicts with formatter
101+
]
102+
103+
[tool.ruff.lint.isort]
104+
force-single-line = true
File renamed without changes.

pythonbible/pythonbible/bible/versions/dar/html_bible.py renamed to pythonbible-dar/pythonbible_dar/html_bible.py

Lines changed: 0 additions & 1 deletion
Large diffs are not rendered by default.

pythonbible/pythonbible/bible/versions/dar/html_notes_bible.py renamed to pythonbible-dar/pythonbible_dar/html_notes_bible.py

Lines changed: 0 additions & 1 deletion
Large diffs are not rendered by default.

pythonbible/pythonbible/bible/versions/dar/html_readers_bible.py renamed to pythonbible-dar/pythonbible_dar/html_readers_bible.py

Lines changed: 0 additions & 1 deletion
Large diffs are not rendered by default.

pythonbible/pythonbible/bible/versions/dar/plain_text_bible.py renamed to pythonbible-dar/pythonbible_dar/plain_text_bible.py

Lines changed: 0 additions & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)