linkture 2.6.3__py3-none-any.whl → 2.6.4__py3-none-any.whl
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/linkture.py +2 -2
- linkture/res/resources.db +0 -0
- {linkture-2.6.3.dist-info → linkture-2.6.4.dist-info}/METADATA +6 -6
- linkture-2.6.4.dist-info/RECORD +10 -0
- {linkture-2.6.3.dist-info → linkture-2.6.4.dist-info}/WHEEL +1 -1
- linkture-2.6.4.dist-info/entry_points.txt +4 -0
- linkture-2.6.3.dist-info/RECORD +0 -9
- {linkture-2.6.3.dist-info → linkture-2.6.4.dist-info}/licenses/LICENSE +0 -0
linkture/linkture.py
CHANGED
@@ -27,7 +27,7 @@
|
|
27
27
|
"""
|
28
28
|
|
29
29
|
__app__ = 'linkture'
|
30
|
-
__version__ = 'v2.6.
|
30
|
+
__version__ = 'v2.6.4'
|
31
31
|
|
32
32
|
|
33
33
|
import json, regex, sqlite3
|
@@ -36,7 +36,7 @@ from pathlib import Path
|
|
36
36
|
from unidecode import unidecode
|
37
37
|
|
38
38
|
|
39
|
-
_available_languages = ('Cebuano', 'Chinese', 'Danish', 'Dutch', 'English', 'French', 'German', 'Greek', 'Hungarian', 'Italian', 'Japanese', 'Korean', 'Norwegian', 'Polish', 'Portuguese', 'Russian', 'Spanish', 'Swedish', 'Tagalog', 'Ukrainian')
|
39
|
+
_available_languages = ('Cebuano', 'Chinese', 'Danish', 'Dutch', 'English', 'Ewe', 'French', 'German', 'Greek', 'Hungarian', 'Italian', 'Japanese', 'Korean', 'Norwegian', 'Polish', 'Portuguese', 'Russian', 'Spanish', 'Swedish', 'Tagalog', 'Ukrainian')
|
40
40
|
_non_latin = ('Chinese', 'Greek', 'Japanese', 'Korean', 'Russian', 'Ukrainian')
|
41
41
|
|
42
42
|
|
linkture/res/resources.db
CHANGED
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: linkture
|
3
|
-
Version: 2.6.
|
3
|
+
Version: 2.6.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>
|
@@ -33,7 +33,7 @@ Description-Content-Type: text/markdown
|
|
33
33
|
|
34
34
|
This module contains functions to parse and process Bible scripture references.
|
35
35
|
|
36
|
-
The parser can work in **Cebuano, Chinese, Danish, Dutch, English, French, German, Greek, Hungarian, Italian, Japanese, Korean, Norwegian, Polish, Portuguese, Russian, Spanish, Swedish, Tagalog and Ukrainian**. It will **recognize** such references and **validate** them to ensure the chapter(s) and/or verse(s) are within range.
|
36
|
+
The parser can work in **Cebuano, Chinese, Danish, Dutch, English, Ewe, French, German, Greek, Hungarian, Italian, Japanese, Korean, Norwegian, Polish, Portuguese, Russian, Spanish, Swedish, Tagalog and Ukrainian**. It will **recognize** such references and **validate** them to ensure the chapter(s) and/or verse(s) are within range.
|
37
37
|
|
38
38
|
It *does not* work with whole books (like "James") unless they are preceded by a number (like "1 John"); otherwise it would have to look up ever single word. Also, it will *not* find the multi-word book name "Song of Solomon" (and its variations), though this (and any other scripture) can be force-detected by tagging the desired reference "manually" within the source text (eg., "{{Song of Solomon 1:1}}") - *one book* per brace pair. These two limitations aside, it works with most book name variants in all the available languages (including common abbreviations): "2 Sam.", "2nd Samuel", "II Samuel", "2Sa", etc. Any special/unusual variants can be added to the *res/custom.json* list.
|
39
39
|
|
@@ -54,8 +54,8 @@ ____
|
|
54
54
|
```
|
55
55
|
> python3 -m linkture -h
|
56
56
|
usage: linkture.py [-h] [-v] [-q] [-f in-file | -r reference] [-o out-file]
|
57
|
-
[--language {Cebuano,Chinese,Danish,Dutch,English,French,German,Greek,Hungarian,Italian,Japanese,Korean,Norwegian,Polish,Portuguese,Russian,Spanish,Tagalog,Ukrainian}]
|
58
|
-
[--translate {Cebuano,Chinese,Danish,Dutch,English,French,German,Greek,Hungarian,Italian,Japanese,Korean,Norwegian,Polish,Portuguese,Russian,Spanish,Tagalog,Ukrainian}]
|
57
|
+
[--language {Cebuano,Chinese,Danish,Dutch,English,Ewe,French,German,Greek,Hungarian,Italian,Japanese,Korean,Norwegian,Polish,Portuguese,Russian,Spanish,Tagalog,Ukrainian}]
|
58
|
+
[--translate {Cebuano,Chinese,Danish,Dutch,English,Ewe,French,German,Greek,Hungarian,Italian,Japanese,Korean,Norwegian,Polish,Portuguese,Russian,Spanish,Tagalog,Ukrainian}]
|
59
59
|
[-s separator] [-u] [--full | --official | --standard]
|
60
60
|
[-c | -d | -l [prefix [suffix ...]] | -t | -x]
|
61
61
|
[-sc BCV | -sv BCV | -cc chapter | -cv verse]
|
@@ -68,9 +68,9 @@ options:
|
|
68
68
|
-v show version and exit
|
69
69
|
-q don't show errors
|
70
70
|
-o out-file output file (terminal output if not provided)
|
71
|
-
--language {Cebuano,Chinese,Danish,Dutch,English,French,German,Greek,Hungarian,Italian,Japanese,Korean,Norwegian,Polish,Portuguese,Russian,Spanish,Tagalog,Ukrainian}
|
71
|
+
--language {Cebuano,Chinese,Danish,Dutch,English,Ewe,French,German,Greek,Hungarian,Italian,Japanese,Korean,Norwegian,Polish,Portuguese,Russian,Spanish,Tagalog,Ukrainian}
|
72
72
|
indicate source language for book names (English if unspecified)
|
73
|
-
--translate {Cebuano,Chinese,Danish,Dutch,English,French,German,Greek,Hungarian,Italian,Japanese,Korean,Norwegian,Polish,Portuguese,Russian,Spanish,Tagalog,Ukrainian}
|
73
|
+
--translate {Cebuano,Chinese,Danish,Dutch,English,Ewe,French,German,Greek,Hungarian,Italian,Japanese,Korean,Norwegian,Polish,Portuguese,Russian,Spanish,Tagalog,Ukrainian}
|
74
74
|
indicate output language for book names (same as source if unspecified)
|
75
75
|
-s separator segment separator (space by default)
|
76
76
|
-u capitalize (upper-case) book names
|
@@ -0,0 +1,10 @@
|
|
1
|
+
linkture-2.6.4.dist-info/METADATA,sha256=2fsK7M6RTXzEdven47AXhrDPcUTWS5d1P8ffgLPGuzw,11404
|
2
|
+
linkture-2.6.4.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
|
3
|
+
linkture-2.6.4.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
|
4
|
+
linkture-2.6.4.dist-info/licenses/LICENSE,sha256=kPqKoVmo3Tx1HgQvqfjBZuYkjT1mZXnQ5R0KBbEeFfs,1064
|
5
|
+
linkture/__init__.py,sha256=-CsRDvXLUig8T6RvwkktRP8e8DWrpjlyqBcw26kOv1E,47
|
6
|
+
linkture/__main__.py,sha256=K1TDrBlT-_N_-iWpjOK_XW2rdm_IRiI7aWyKbFcdFxg,6478
|
7
|
+
linkture/linkture.py,sha256=hT1YuJRhXnB8PMWVsIca-P80PBoAn5O6W9RfvMf9hPE,23779
|
8
|
+
linkture/res/custom.json,sha256=qlpTEux2w7kb-w9ZimDqTLhnB0Eyy1Mj3zfbQ1sxKvg,2046
|
9
|
+
linkture/res/resources.db,sha256=9yD2RK1DOevcBnq9dEXpEyjZpln0enew4rpPr5fjoEQ,589824
|
10
|
+
linkture-2.6.4.dist-info/RECORD,,
|
linkture-2.6.3.dist-info/RECORD
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
linkture-2.6.3.dist-info/METADATA,sha256=INENJJdqb-nbYN0-3pBccYlqTnaQj9chaQmhWoPREok,11383
|
2
|
-
linkture-2.6.3.dist-info/WHEEL,sha256=rSwsxJWe3vzyR5HCwjWXQruDgschpei4h_giTm0dJVE,90
|
3
|
-
linkture-2.6.3.dist-info/licenses/LICENSE,sha256=kPqKoVmo3Tx1HgQvqfjBZuYkjT1mZXnQ5R0KBbEeFfs,1064
|
4
|
-
linkture/__init__.py,sha256=-CsRDvXLUig8T6RvwkktRP8e8DWrpjlyqBcw26kOv1E,47
|
5
|
-
linkture/__main__.py,sha256=K1TDrBlT-_N_-iWpjOK_XW2rdm_IRiI7aWyKbFcdFxg,6478
|
6
|
-
linkture/linkture.py,sha256=238AhNQyPsU5ozN8KhGE8N6xeMLhR5QzIyGrEDENGt0,23772
|
7
|
-
linkture/res/custom.json,sha256=qlpTEux2w7kb-w9ZimDqTLhnB0Eyy1Mj3zfbQ1sxKvg,2046
|
8
|
-
linkture/res/resources.db,sha256=_vHwq2w1BHB7pGgO5txQVPAbJ5ak6msVbVoPLKG9QtE,581632
|
9
|
-
linkture-2.6.3.dist-info/RECORD,,
|
File without changes
|