jntajis-python 0.0.17__tar.gz → 0.1.0__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.
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/.gitignore +3 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/PKG-INFO +1 -1
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/docs/source/api.rst +1 -1
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/pyproject.toml +3 -2
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/src/jntajis/_jntajis.pyi +1 -1
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/src/jntajis/_jntajis.pyx +1 -1
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/src/jntajis/_version.py +2 -2
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/.agents/docs/ARCHITECTURE.md +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/.agents/docs/IMPLEMENTATION.md +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/LICENSE +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/README.md +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/docs/.gitignore +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/docs/Makefile +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/docs/make.bat +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/docs/source/_static/images/mj-jnta.svg +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/docs/source/_static/images/relationships-character-mappings.svg +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/docs/source/conf.py +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/docs/source/index.rst +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/docs/source/license.rst +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/pythoncapi-compat/docs/Makefile +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/pythoncapi-compat/docs/api.rst +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/pythoncapi-compat/docs/changelog.rst +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/pythoncapi-compat/docs/conf.py +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/pythoncapi-compat/docs/index.rst +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/pythoncapi-compat/docs/links.rst +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/pythoncapi-compat/docs/make.bat +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/pythoncapi-compat/docs/tests.rst +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/pythoncapi-compat/docs/upgrade.rst +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/pythoncapi-compat/docs/users.rst +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/src/jntajis/__init__.py +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/src/jntajis/_jntajis.h +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/src/jntajis/gen.py +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/src/jntajis/py.typed +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/src/jntajis/pythoncapi_compat_shim.h +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/src/jntajis/xlsx_parser/__init__.py +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/src/jntajis/xlsx_parser/parser.py +0 -0
- {jntajis_python-0.0.17 → jntajis_python-0.1.0}/src/jntajis/xlsx_parser/xmlutils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: jntajis-python
|
|
3
|
-
Version: 0.0
|
|
3
|
+
Version: 0.1.0
|
|
4
4
|
Summary: A fast character conversion and transliteration library based on the scheme defined for Japan National Tax Agency's corporate number system.
|
|
5
5
|
Project-URL: Homepage, https://github.com/opencollector/jntajis-python
|
|
6
6
|
Author-email: "Open Collector, inc." <info@opencollector.co.jp>
|
|
@@ -101,7 +101,7 @@ The MJ shrink conversion map (*MJ縮退マップ*) was also developed alongside
|
|
|
101
101
|
Transliteration based on NTA shrink mappings
|
|
102
102
|
--------------------------------------------
|
|
103
103
|
|
|
104
|
-
.. py:function:: jnta_shrink_translit(in_, replacement="\
|
|
104
|
+
.. py:function:: jnta_shrink_translit(in_, replacement="\ufffd", passthrough=False)
|
|
105
105
|
|
|
106
106
|
Transliterate a Unicode string according to the NTA shrink mappings.
|
|
107
107
|
|
|
@@ -104,11 +104,12 @@ build = ["cp310-*", "cp311-*", "cp312-*", "cp313-*"]
|
|
|
104
104
|
# skip = "pp*"
|
|
105
105
|
|
|
106
106
|
[tool.cibuildwheel.linux]
|
|
107
|
-
before-build = "find
|
|
107
|
+
before-build = "find {project} -iname '*.so' | xargs rm -f"
|
|
108
108
|
|
|
109
109
|
[tool.cibuildwheel.windows]
|
|
110
110
|
before-build = "DEL /S /Q *.pyd"
|
|
111
|
+
repair-wheel-command = "python {project}/tools/repack_wheel.py {wheel} {dest_dir}"
|
|
111
112
|
|
|
112
113
|
[tool.cibuildwheel.macos]
|
|
113
114
|
archs = ["universal2"]
|
|
114
|
-
before-build = "find
|
|
115
|
+
before-build = "find {project} -iname '*.so' | xargs rm -f "
|
|
@@ -12,6 +12,6 @@ class TransliterationError(Exception): ...
|
|
|
12
12
|
def jnta_encode(encoding: str, in_: str, conv_mode: int) -> bytes: ...
|
|
13
13
|
def jnta_decode(encoding: str, in_: bytes) -> str: ...
|
|
14
14
|
def jnta_shrink_translit(
|
|
15
|
-
in_: str, replacement: str = "\
|
|
15
|
+
in_: str, replacement: str = "\ufffd", passthrough: bool = False
|
|
16
16
|
) -> str: ...
|
|
17
17
|
def mj_shrink_candidates(in_: str, combo: int, limit: int = 100) -> typing.List[str]: ...
|
|
@@ -763,7 +763,7 @@ cdef JNTAJISShrinkingTransliteratorContext_init(
|
|
|
763
763
|
t.passthrough = passthrough
|
|
764
764
|
|
|
765
765
|
|
|
766
|
-
def jnta_shrink_translit(unicode in_, unicode replacement=u"\
|
|
766
|
+
def jnta_shrink_translit(unicode in_, unicode replacement=u"\ufffd", bint passthrough=False):
|
|
767
767
|
"""
|
|
768
768
|
Transliterate a Unicode string according to the NTA shrink mappings.
|
|
769
769
|
"""
|
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '0.0
|
|
32
|
-
__version_tuple__ = version_tuple = (0,
|
|
31
|
+
__version__ = version = '0.1.0'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 1, 0)
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|