linkture 3.2.2__tar.gz → 3.2.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {linkture-3.2.2 → linkture-3.2.4}/PKG-INFO +1 -1
- {linkture-3.2.2 → linkture-3.2.4}/pyproject.toml +1 -1
- {linkture-3.2.2 → linkture-3.2.4}/src/linkture/linkture.py +16 -13
- {linkture-3.2.2 → linkture-3.2.4}/src/linkture/res/custom.json +5 -1
- {linkture-3.2.2 → linkture-3.2.4}/src/linkture/res/resources.db +0 -0
- {linkture-3.2.2 → linkture-3.2.4}/LICENSE +0 -0
- {linkture-3.2.2 → linkture-3.2.4}/README.md +0 -0
- {linkture-3.2.2 → linkture-3.2.4}/src/linkture/__init__.py +0 -0
- {linkture-3.2.2 → linkture-3.2.4}/src/linkture/__main__.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: linkture
|
3
|
-
Version: 3.2.
|
3
|
+
Version: 3.2.4
|
4
4
|
Summary: PARSE and PROCESS BIBLE SCRIPTURE REFERENCES: extract, tag, link, rewrite, translate, BCV-encode and decode
|
5
5
|
Keywords: bible,scriptures,scripture-references,scripture-translation,scripture-parser,scripture-linker
|
6
6
|
Author-Email: "Eryk J." <infiniti@inventati.org>
|
@@ -27,7 +27,7 @@
|
|
27
27
|
"""
|
28
28
|
|
29
29
|
__app__ = 'linkture'
|
30
|
-
__version__ = 'v3.2.
|
30
|
+
__version__ = 'v3.2.4'
|
31
31
|
|
32
32
|
|
33
33
|
import json, regex, sqlite3
|
@@ -531,18 +531,21 @@ class Scriptures():
|
|
531
531
|
return scripture.strip(), book, chap, cont, sep
|
532
532
|
|
533
533
|
def decode_scriptures(self, bcv_ranges=[]):
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
if
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
534
|
+
try:
|
535
|
+
scriptures = []
|
536
|
+
bk = ''
|
537
|
+
ch = 0
|
538
|
+
sep = ';'
|
539
|
+
for bcv_range in bcv_ranges:
|
540
|
+
scripture, bk, ch, cont, sep = self._decode_scripture(bcv_range, bk, ch, sep)
|
541
|
+
if scripture:
|
542
|
+
if cont:
|
543
|
+
scriptures[-1] = scriptures[-1] + scripture
|
544
|
+
else:
|
545
|
+
scriptures.append(scripture)
|
546
|
+
return scriptures
|
547
|
+
except:
|
548
|
+
return None
|
546
549
|
|
547
550
|
|
548
551
|
def link_scriptures(self, text, prefix='<a href=', suffix='>'):
|
@@ -18,6 +18,7 @@
|
|
18
18
|
[20, "Pro"],
|
19
19
|
[21, "Ecc, Eccles, Qoh"],
|
20
20
|
[22, "Cant, Son, Sng"],
|
21
|
+
[26, "Ezek"],
|
21
22
|
[30, "Amo"],
|
22
23
|
[31, "Oba"],
|
23
24
|
[35, "Habaccuc"],
|
@@ -48,6 +49,7 @@
|
|
48
49
|
[66, "Revel, Apoc"]
|
49
50
|
],
|
50
51
|
"Spanish": [
|
52
|
+
[2, "Éxo"],
|
51
53
|
[5, "Deu"],
|
52
54
|
[9, "1ro Samuel, I Samuel"],
|
53
55
|
[10, "2do Samuel, II Samuel"],
|
@@ -55,9 +57,11 @@
|
|
55
57
|
[12, "2do Reyes, II Reyes"],
|
56
58
|
[13, "1ro Crónicas, I Crónicas"],
|
57
59
|
[14, "2do Crónicas, II Crónicas"],
|
58
|
-
[
|
60
|
+
[20, "Pro"],
|
61
|
+
[22, "Cantar de los Cantares, Cantar, Cnt"],
|
59
62
|
[23, "Isa"],
|
60
63
|
[26, "Ez"],
|
64
|
+
[28, "Ose"],
|
61
65
|
[48, "Gá, Ga"],
|
62
66
|
[49, "Efe"],
|
63
67
|
[50, "Fil"],
|
index 1150d1e..cee1c2b 100644
|
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|