tsrkit-types 0.1.3__tar.gz → 0.1.4__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.
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/CHANGELOG.md +6 -1
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/PKG-INFO +1 -1
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/pyproject.toml +1 -1
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tsrkit_types/__init__.py +2 -2
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tsrkit_types/bytes.py +7 -7
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tsrkit_types.egg-info/PKG-INFO +1 -1
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/CONTRIBUTING.md +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/LICENSE +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/MANIFEST.in +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/README.md +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/pytest.ini +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/setup.cfg +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/setup.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tests/test_bits.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tests/test_bytearray.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tests/test_bytes.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tests/test_choices.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tests/test_containers.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tests/test_enums.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tests/test_int.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tests/test_integers.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tests/test_network.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tests/test_seq.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tests/test_strings.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tests/test_struct.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tests/test_structs.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tests/type_hints/test_struct_serde.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tsrkit_types/bits.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tsrkit_types/bool.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tsrkit_types/bytearray.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tsrkit_types/bytes_common.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tsrkit_types/choice.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tsrkit_types/dictionary.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tsrkit_types/enum.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tsrkit_types/integers.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tsrkit_types/itf/codable.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tsrkit_types/null.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tsrkit_types/option.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tsrkit_types/sequences.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tsrkit_types/string.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tsrkit_types/struct.py +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tsrkit_types.egg-info/SOURCES.txt +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tsrkit_types.egg-info/dependency_links.txt +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tsrkit_types.egg-info/requires.txt +0 -0
- {tsrkit_types-0.1.3 → tsrkit_types-0.1.4}/tsrkit_types.egg-info/top_level.txt +0 -0
|
@@ -37,7 +37,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
37
37
|
- Zero-dependency core library
|
|
38
38
|
- Python 3.11+ support
|
|
39
39
|
|
|
40
|
-
## [0.1.
|
|
40
|
+
## [0.1.4] - 2025-06-06
|
|
41
|
+
|
|
42
|
+
### Fixed
|
|
43
|
+
- **Documentation**: Corrected release date in changelog from 2025-01-03 to 2025-06-06
|
|
44
|
+
|
|
45
|
+
## [0.1.3] - 2025-06-06
|
|
41
46
|
|
|
42
47
|
### Fixed
|
|
43
48
|
- **Option JSON handling**: Fixed `Option.from_json()` to properly handle `None` values by creating empty Options
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tsrkit-types
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: Performant Python Typings library for type-safe binary serialization, JSON encoding, and data validation with zero dependencies
|
|
5
5
|
Author-email: chainscore-labs <hello@chainscore.finance>, prasad-kumkar <prasad@chainscore.finance>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "tsrkit-types"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.4"
|
|
4
4
|
description = "Performant Python Typings library for type-safe binary serialization, JSON encoding, and data validation with zero dependencies"
|
|
5
5
|
authors = [
|
|
6
6
|
{name = "chainscore-labs", email = "hello@chainscore.finance"},
|
|
@@ -35,7 +35,7 @@ from .sequences import (
|
|
|
35
35
|
from .dictionary import Dictionary
|
|
36
36
|
|
|
37
37
|
# Bytes types
|
|
38
|
-
from .bytes import Bytes,
|
|
38
|
+
from .bytes import Bytes, Bytes16, Bytes32, Bytes64, Bytes128, Bytes256, Bytes512, Bytes1024
|
|
39
39
|
from .bytearray import ByteArray
|
|
40
40
|
|
|
41
41
|
# Bit types
|
|
@@ -76,7 +76,7 @@ __all__ = [
|
|
|
76
76
|
"Dictionary",
|
|
77
77
|
|
|
78
78
|
# Bytes types
|
|
79
|
-
"Bytes", "
|
|
79
|
+
"Bytes", "Bytes16", "Bytes32", "Bytes64", "Bytes128", "Bytes256", "Bytes512", "Bytes1024",
|
|
80
80
|
"ByteArray",
|
|
81
81
|
|
|
82
82
|
# Bit types
|
|
@@ -61,10 +61,10 @@ class Bytes(bytes, Codable, BytesMixin, metaclass=BytesCheckMeta):
|
|
|
61
61
|
# ---------------------------------------------------------------------------- #
|
|
62
62
|
# JSON methods inherited from BytesMixin
|
|
63
63
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
64
|
+
Bytes16 = Bytes[16]
|
|
65
|
+
Bytes32 = Bytes[32]
|
|
66
|
+
Bytes64 = Bytes[64]
|
|
67
|
+
Bytes128 = Bytes[128]
|
|
68
|
+
Bytes256 = Bytes[256]
|
|
69
|
+
Bytes512 = Bytes[512]
|
|
70
|
+
Bytes1024 = Bytes[1024]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tsrkit-types
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: Performant Python Typings library for type-safe binary serialization, JSON encoding, and data validation with zero dependencies
|
|
5
5
|
Author-email: chainscore-labs <hello@chainscore.finance>, prasad-kumkar <prasad@chainscore.finance>
|
|
6
6
|
License-Expression: MIT
|
|
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
|
|
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
|