netherframe.codec.autoid 0.5.0__tar.gz → 0.6.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.
- {netherframe_codec_autoid-0.5.0 → netherframe_codec_autoid-0.6.0}/PKG-INFO +1 -1
- {netherframe_codec_autoid-0.5.0 → netherframe_codec_autoid-0.6.0}/netherframe/codec/autoid/preprocessor.py +3 -3
- {netherframe_codec_autoid-0.5.0 → netherframe_codec_autoid-0.6.0}/pyproject.toml +2 -2
- {netherframe_codec_autoid-0.5.0 → netherframe_codec_autoid-0.6.0}/pyproject.toml.orig +2 -2
- {netherframe_codec_autoid-0.5.0 → netherframe_codec_autoid-0.6.0}/LICENSE +0 -0
- {netherframe_codec_autoid-0.5.0 → netherframe_codec_autoid-0.6.0}/README.md +0 -0
- {netherframe_codec_autoid-0.5.0 → netherframe_codec_autoid-0.6.0}/data/purelib/nf_codec_autoid_autoregister.start +0 -0
- {netherframe_codec_autoid-0.5.0 → netherframe_codec_autoid-0.6.0}/netherframe/codec/autoid/__init__.py +0 -0
- {netherframe_codec_autoid-0.5.0 → netherframe_codec_autoid-0.6.0}/netherframe/codec/autoid/codec_registration.py +0 -0
- {netherframe_codec_autoid-0.5.0 → netherframe_codec_autoid-0.6.0}/netherframe/codec/autoid/py.typed +0 -0
- {netherframe_codec_autoid-0.5.0 → netherframe_codec_autoid-0.6.0}/nf/codec/autoid/__init__.py +0 -0
- {netherframe_codec_autoid-0.5.0 → netherframe_codec_autoid-0.6.0}/nf/codec/autoid/codec_registration.py +0 -0
- {netherframe_codec_autoid-0.5.0 → netherframe_codec_autoid-0.6.0}/nf/codec/autoid/preprocessor.py +0 -0
- {netherframe_codec_autoid-0.5.0 → netherframe_codec_autoid-0.6.0}/nf/codec/autoid/py.typed +0 -0
|
@@ -353,16 +353,16 @@ def create_autoid_codec() -> codecs.CodecInfo:
|
|
|
353
353
|
from codecs import utf_8_encode
|
|
354
354
|
|
|
355
355
|
class AutoIdIncrementalDecoder(codecs.BufferedIncrementalDecoder):
|
|
356
|
-
def _buffer_decode(
|
|
356
|
+
def _buffer_decode(
|
|
357
357
|
self,
|
|
358
|
-
|
|
358
|
+
input: Buffer, # noqa: A002 - match BufferedIncrementalDecoder's keyword parameter
|
|
359
359
|
errors: str,
|
|
360
360
|
final: bool,
|
|
361
361
|
) -> tuple[str, int]:
|
|
362
362
|
if not final:
|
|
363
363
|
return "", 0
|
|
364
364
|
# Decode as UTF-8 first
|
|
365
|
-
input_bytes = bytes(
|
|
365
|
+
input_bytes = bytes(input)
|
|
366
366
|
data = input_bytes.decode("utf-8", errors)
|
|
367
367
|
# Apply our preprocessing
|
|
368
368
|
processed = preprocess_source(data)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "netherframe.codec.autoid"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.6.0"
|
|
4
4
|
description = "Auto-ID codec and preprocessor for Netherframe"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.15"
|
|
@@ -22,7 +22,7 @@ Homepage = "https://netherframe.arsenal.sh"
|
|
|
22
22
|
Repository = "https://github.com/arsenal-sh/netherframe"
|
|
23
23
|
|
|
24
24
|
[build-system]
|
|
25
|
-
requires = ["uv_build>=0.13.
|
|
25
|
+
requires = ["uv_build>=0.13.10,<0.14.0"]
|
|
26
26
|
build-backend = "uv_build"
|
|
27
27
|
|
|
28
28
|
[tool.uv]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "netherframe.codec.autoid"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.6.0"
|
|
4
4
|
description = "Auto-ID codec and preprocessor for Netherframe"
|
|
5
5
|
authors = [
|
|
6
6
|
{name = "Sourabh Cheedella", email = "cheedella.sourabh@gmail.com"},
|
|
@@ -23,7 +23,7 @@ Homepage = "https://netherframe.arsenal.sh"
|
|
|
23
23
|
Repository = "https://github.com/arsenal-sh/netherframe"
|
|
24
24
|
|
|
25
25
|
[build-system]
|
|
26
|
-
requires = ["uv_build>=0.13.
|
|
26
|
+
requires = ["uv_build>=0.13.10,<0.14.0"]
|
|
27
27
|
build-backend = "uv_build"
|
|
28
28
|
|
|
29
29
|
[tool.uv]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{netherframe_codec_autoid-0.5.0 → netherframe_codec_autoid-0.6.0}/netherframe/codec/autoid/py.typed
RENAMED
|
File without changes
|
{netherframe_codec_autoid-0.5.0 → netherframe_codec_autoid-0.6.0}/nf/codec/autoid/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{netherframe_codec_autoid-0.5.0 → netherframe_codec_autoid-0.6.0}/nf/codec/autoid/preprocessor.py
RENAMED
|
File without changes
|
|
File without changes
|