hexconv 0.2.6__tar.gz → 0.2.7__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.
- {hexconv-0.2.6/src/hexconv.egg-info → hexconv-0.2.7}/PKG-INFO +1 -1
- {hexconv-0.2.6 → hexconv-0.2.7}/pyproject.toml +1 -1
- {hexconv-0.2.6 → hexconv-0.2.7}/src/hexconv/_core.py +2 -2
- {hexconv-0.2.6 → hexconv-0.2.7/src/hexconv.egg-info}/PKG-INFO +1 -1
- {hexconv-0.2.6 → hexconv-0.2.7}/LICENSE +0 -0
- {hexconv-0.2.6 → hexconv-0.2.7}/MANIFEST.in +0 -0
- {hexconv-0.2.6 → hexconv-0.2.7}/README.md +0 -0
- {hexconv-0.2.6 → hexconv-0.2.7}/setup.cfg +0 -0
- {hexconv-0.2.6 → hexconv-0.2.7}/src/hexconv/__init__.py +0 -0
- {hexconv-0.2.6 → hexconv-0.2.7}/src/hexconv/py.typed +0 -0
- {hexconv-0.2.6 → hexconv-0.2.7}/src/hexconv.egg-info/SOURCES.txt +0 -0
- {hexconv-0.2.6 → hexconv-0.2.7}/src/hexconv.egg-info/dependency_links.txt +0 -0
- {hexconv-0.2.6 → hexconv-0.2.7}/src/hexconv.egg-info/requires.txt +0 -0
- {hexconv-0.2.6 → hexconv-0.2.7}/src/hexconv.egg-info/top_level.txt +0 -0
- {hexconv-0.2.6 → hexconv-0.2.7}/tests/test_hexconv.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "hexconv"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.7"
|
|
8
8
|
description = "Pythonic conversion toolkit for bytes, hex, integers, arrays, binary strings, base64, and text."
|
|
9
9
|
readme = { file = "README.md", content-type = "text/markdown" }
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -462,7 +462,7 @@ _BINARY_CHARS = re.compile(r"^[01]*$")
|
|
|
462
462
|
|
|
463
463
|
@dataclass(frozen=True)
|
|
464
464
|
class Value:
|
|
465
|
-
"""
|
|
465
|
+
"""Byte-backed value with output methods for common formats."""
|
|
466
466
|
|
|
467
467
|
_data: bytes
|
|
468
468
|
source: str | None = None
|
|
@@ -987,7 +987,7 @@ class Converter:
|
|
|
987
987
|
return parsed.to(self.to, **self.output_options)
|
|
988
988
|
|
|
989
989
|
def parse(self, value: Any) -> Value:
|
|
990
|
-
"""Parse a value and return the
|
|
990
|
+
"""Parse a value and return the parsed Value instead of emitting."""
|
|
991
991
|
|
|
992
992
|
return _parse(value, self.from_, **self.input_options)
|
|
993
993
|
|
|
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
|