scriptconv 0.0.3a4__tar.gz → 0.0.3a5__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.
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/PKG-INFO +1 -1
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/pyproject.toml +1 -0
- scriptconv-0.0.3a5/scriptconv/data/cangjie5_tc.tsv.gz +0 -0
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/scriptconv/version.py +1 -1
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/scriptconv.egg-info/PKG-INFO +1 -1
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/scriptconv.egg-info/SOURCES.txt +1 -0
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/tests/test_cangjie.py +7 -0
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/LICENSE +0 -0
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/README.md +0 -0
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/requirements.txt +0 -0
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/scriptconv/__init__.py +0 -0
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/scriptconv/__main__.py +0 -0
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/scriptconv/cangjie.py +0 -0
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/scriptconv/data/__init__.py +0 -0
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/scriptconv/notation.py +0 -0
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/scriptconv/py.typed +0 -0
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/scriptconv/readings.py +0 -0
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/scriptconv/scripts.py +0 -0
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/scriptconv/translit.py +0 -0
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/scriptconv.egg-info/dependency_links.txt +0 -0
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/scriptconv.egg-info/requires.txt +0 -0
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/scriptconv.egg-info/top_level.txt +0 -0
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/setup.cfg +0 -0
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/tests/test_cli.py +0 -0
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/tests/test_examples.py +0 -0
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/tests/test_notation.py +0 -0
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/tests/test_readings.py +0 -0
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/tests/test_readings_zh.py +0 -0
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/tests/test_scripts.py +0 -0
- {scriptconv-0.0.3a4 → scriptconv-0.0.3a5}/tests/test_translit.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: scriptconv
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.3a5
|
|
4
4
|
Summary: Zero-dependency script & phoneme-notation core — ISO-15924 detection & metadata, IPA↔ARPABET/X-SAMPA/Lexique/Kirshenbaum/Cotovía/RFE, Buckwalter↔Arabic, Hangul→jamo, kana
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Project-URL: Homepage, https://github.com/TigreGotico/scriptconv
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: scriptconv
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.3a5
|
|
4
4
|
Summary: Zero-dependency script & phoneme-notation core — ISO-15924 detection & metadata, IPA↔ARPABET/X-SAMPA/Lexique/Kirshenbaum/Cotovía/RFE, Buckwalter↔Arabic, Hangul→jamo, kana
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Project-URL: Homepage, https://github.com/TigreGotico/scriptconv
|
|
@@ -24,6 +24,13 @@ class TestCangjieCode(unittest.TestCase):
|
|
|
24
24
|
self.assertTrue(all(c.isalpha() and c.islower() for c in sample))
|
|
25
25
|
|
|
26
26
|
|
|
27
|
+
class TestTableIsPackaged(unittest.TestCase):
|
|
28
|
+
def test_data_file_resolvable_via_importlib_resources(self):
|
|
29
|
+
from importlib.resources import files
|
|
30
|
+
raw = files("scriptconv.data").joinpath("cangjie5_tc.tsv.gz").read_bytes()
|
|
31
|
+
self.assertGreater(len(raw), 100000)
|
|
32
|
+
|
|
33
|
+
|
|
27
34
|
class TestToCangjie(unittest.TestCase):
|
|
28
35
|
def test_all_hanzi_sentence(self):
|
|
29
36
|
self.assertEqual(to_cangjie("倉頡"), "oiar grmbc")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|