jntajis-python 0.0.16__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.
Files changed (37) hide show
  1. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/.gitignore +3 -0
  2. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/PKG-INFO +1 -1
  3. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/docs/source/api.rst +1 -1
  4. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/pyproject.toml +8 -0
  5. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/src/jntajis/_jntajis.pyi +1 -1
  6. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/src/jntajis/_jntajis.pyx +1 -1
  7. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/src/jntajis/_version.py +2 -2
  8. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/.agents/docs/ARCHITECTURE.md +0 -0
  9. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/.agents/docs/IMPLEMENTATION.md +0 -0
  10. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/LICENSE +0 -0
  11. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/README.md +0 -0
  12. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/docs/.gitignore +0 -0
  13. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/docs/Makefile +0 -0
  14. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/docs/make.bat +0 -0
  15. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/docs/source/_static/images/mj-jnta.svg +0 -0
  16. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/docs/source/_static/images/relationships-character-mappings.svg +0 -0
  17. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/docs/source/conf.py +0 -0
  18. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/docs/source/index.rst +0 -0
  19. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/docs/source/license.rst +0 -0
  20. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/pythoncapi-compat/docs/Makefile +0 -0
  21. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/pythoncapi-compat/docs/api.rst +0 -0
  22. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/pythoncapi-compat/docs/changelog.rst +0 -0
  23. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/pythoncapi-compat/docs/conf.py +0 -0
  24. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/pythoncapi-compat/docs/index.rst +0 -0
  25. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/pythoncapi-compat/docs/links.rst +0 -0
  26. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/pythoncapi-compat/docs/make.bat +0 -0
  27. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/pythoncapi-compat/docs/tests.rst +0 -0
  28. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/pythoncapi-compat/docs/upgrade.rst +0 -0
  29. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/pythoncapi-compat/docs/users.rst +0 -0
  30. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/src/jntajis/__init__.py +0 -0
  31. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/src/jntajis/_jntajis.h +0 -0
  32. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/src/jntajis/gen.py +0 -0
  33. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/src/jntajis/py.typed +0 -0
  34. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/src/jntajis/pythoncapi_compat_shim.h +0 -0
  35. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/src/jntajis/xlsx_parser/__init__.py +0 -0
  36. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/src/jntajis/xlsx_parser/parser.py +0 -0
  37. {jntajis_python-0.0.16 → jntajis_python-0.1.0}/src/jntajis/xlsx_parser/xmlutils.py +0 -0
@@ -154,3 +154,6 @@ src/jntajis/_version.py
154
154
 
155
155
  # automatically generated C source
156
156
  src/jntajis/_jntajis.c
157
+
158
+ # Temporary directory used by the coding agent
159
+ .agents/tmp
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jntajis-python
3
- Version: 0.0.16
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="\ufffe", passthrough=False)
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
 
@@ -103,5 +103,13 @@ files = "src/"
103
103
  build = ["cp310-*", "cp311-*", "cp312-*", "cp313-*"]
104
104
  # skip = "pp*"
105
105
 
106
+ [tool.cibuildwheel.linux]
107
+ before-build = "find {project} -iname '*.so' | xargs rm -f"
108
+
109
+ [tool.cibuildwheel.windows]
110
+ before-build = "DEL /S /Q *.pyd"
111
+ repair-wheel-command = "python {project}/tools/repack_wheel.py {wheel} {dest_dir}"
112
+
106
113
  [tool.cibuildwheel.macos]
107
114
  archs = ["universal2"]
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 = "\ufffe", passthrough: bool = False
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"\ufffe", bint passthrough=False):
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.16'
32
- __version_tuple__ = version_tuple = (0, 0, 16)
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