cborx 0.2.4__tar.gz → 0.2.6__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 (31) hide show
  1. {cborx-0.2.4/src/cborx.egg-info → cborx-0.2.6}/PKG-INFO +3 -1
  2. {cborx-0.2.4 → cborx-0.2.6}/README.md +1 -0
  3. {cborx-0.2.4 → cborx-0.2.6}/pyproject.toml +9 -5
  4. {cborx-0.2.4 → cborx-0.2.6}/src/cborx/__init__.py +1 -1
  5. {cborx-0.2.4 → cborx-0.2.6}/src/cborx/_fast.c +3132 -1965
  6. {cborx-0.2.4 → cborx-0.2.6}/src/cborx/_fast.pyx +104 -40
  7. cborx-0.2.6/src/cborx/_util.py +73 -0
  8. {cborx-0.2.4 → cborx-0.2.6}/src/cborx/decoder.py +60 -25
  9. {cborx-0.2.4 → cborx-0.2.6}/src/cborx/encoder.py +61 -20
  10. {cborx-0.2.4 → cborx-0.2.6/src/cborx.egg-info}/PKG-INFO +3 -1
  11. {cborx-0.2.4 → cborx-0.2.6}/tests/test_adversarial.py +262 -1
  12. {cborx-0.2.4 → cborx-0.2.6}/tests/test_backends.py +30 -25
  13. {cborx-0.2.4 → cborx-0.2.6}/tests/test_differential_cbor2.py +41 -30
  14. cborx-0.2.4/src/cborx/_util.py +0 -29
  15. {cborx-0.2.4 → cborx-0.2.6}/LICENSE +0 -0
  16. {cborx-0.2.4 → cborx-0.2.6}/setup.cfg +0 -0
  17. {cborx-0.2.4 → cborx-0.2.6}/setup.py +0 -0
  18. {cborx-0.2.4 → cborx-0.2.6}/src/cborx/_backend.py +0 -0
  19. {cborx-0.2.4 → cborx-0.2.6}/src/cborx/_fastshim.h +0 -0
  20. {cborx-0.2.4 → cborx-0.2.6}/src/cborx/exceptions.py +0 -0
  21. {cborx-0.2.4 → cborx-0.2.6}/src/cborx/py.typed +0 -0
  22. {cborx-0.2.4 → cborx-0.2.6}/src/cborx/types.py +0 -0
  23. {cborx-0.2.4 → cborx-0.2.6}/src/cborx.egg-info/SOURCES.txt +0 -0
  24. {cborx-0.2.4 → cborx-0.2.6}/src/cborx.egg-info/dependency_links.txt +0 -0
  25. {cborx-0.2.4 → cborx-0.2.6}/src/cborx.egg-info/top_level.txt +0 -0
  26. {cborx-0.2.4 → cborx-0.2.6}/tests/test_api.py +0 -0
  27. {cborx-0.2.4 → cborx-0.2.6}/tests/test_fuzz.py +0 -0
  28. {cborx-0.2.4 → cborx-0.2.6}/tests/test_leaks.py +0 -0
  29. {cborx-0.2.4 → cborx-0.2.6}/tests/test_readme_smoke.py +0 -0
  30. {cborx-0.2.4 → cborx-0.2.6}/tests/test_rfc8949.py +0 -0
  31. {cborx-0.2.4 → cborx-0.2.6}/tests/test_roundtrip.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cborx
3
- Version: 0.2.4
3
+ Version: 0.2.6
4
4
  Summary: CBOR (RFC 8949) encoder/decoder. Zero dependencies, optional compiled fast path.
5
5
  Author: Quad4
6
6
  License-Expression: 0BSD
@@ -8,6 +8,7 @@ Project-URL: Homepage, https://quad4.io
8
8
  Project-URL: Repository, https://github.com/Quad4-Software/cborx
9
9
  Project-URL: Issues, https://github.com/Quad4-Software/cborx/issues
10
10
  Project-URL: Changelog, https://github.com/Quad4-Software/cborx/blob/master/CHANGELOG.md
11
+ Project-URL: Documentation, https://quad4-software.github.io/cborx/
11
12
  Keywords: cbor,rfc8949,serialization,codec,binary
12
13
  Classifier: Development Status :: 4 - Beta
13
14
  Classifier: Intended Audience :: Developers
@@ -25,6 +26,7 @@ Dynamic: license-file
25
26
  [![CodeQL](https://github.com/Quad4-Software/cborx/actions/workflows/codeql.yml/badge.svg)](https://github.com/Quad4-Software/cborx/actions/workflows/codeql.yml)
26
27
  [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/Quad4-Software/cborx/badge)](https://securityscorecards.dev/viewer/?uri=github.com/Quad4-Software/cborx)
27
28
  [![PyPI](https://img.shields.io/pypi/v/cborx)](https://pypi.org/project/cborx/)
29
+ [![Docs](https://img.shields.io/badge/docs-quad4--software.github.io%2Fcborx-blue)](https://quad4-software.github.io/cborx/)
28
30
  [![License: 0BSD](https://img.shields.io/badge/license-0BSD-blue)](LICENSE)
29
31
 
30
32
  CBOR (RFC 8949) encoder/decoder for Python. Zero runtime dependencies.
@@ -4,6 +4,7 @@
4
4
  [![CodeQL](https://github.com/Quad4-Software/cborx/actions/workflows/codeql.yml/badge.svg)](https://github.com/Quad4-Software/cborx/actions/workflows/codeql.yml)
5
5
  [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/Quad4-Software/cborx/badge)](https://securityscorecards.dev/viewer/?uri=github.com/Quad4-Software/cborx)
6
6
  [![PyPI](https://img.shields.io/pypi/v/cborx)](https://pypi.org/project/cborx/)
7
+ [![Docs](https://img.shields.io/badge/docs-quad4--software.github.io%2Fcborx-blue)](https://quad4-software.github.io/cborx/)
7
8
  [![License: 0BSD](https://img.shields.io/badge/license-0BSD-blue)](LICENSE)
8
9
 
9
10
  CBOR (RFC 8949) encoder/decoder for Python. Zero runtime dependencies.
@@ -25,6 +25,7 @@ Homepage = "https://quad4.io"
25
25
  Repository = "https://github.com/Quad4-Software/cborx"
26
26
  Issues = "https://github.com/Quad4-Software/cborx/issues"
27
27
  Changelog = "https://github.com/Quad4-Software/cborx/blob/master/CHANGELOG.md"
28
+ Documentation = "https://quad4-software.github.io/cborx/"
28
29
 
29
30
  [tool.setuptools]
30
31
  package-dir = {"" = "src"}
@@ -40,16 +41,19 @@ cborx = ["py.typed", "_fast.pyx", "_fastshim.h"]
40
41
 
41
42
  [dependency-groups]
42
43
  dev = [
43
- "pytest>=9.1.1",
44
+ "pytest>=9.2.0",
44
45
  "pytest-cov>=7.1.0",
45
- "ruff>=0.16.8",
46
+ "ruff>=0.17.3",
46
47
  "bandit>=1.9.4",
47
- "mypy>=2.3.1",
48
- "hypothesis>=6.168.0",
49
- "cbor2>=6.1.4,<7",
48
+ "mypy>=2.4.1",
49
+ "hypothesis>=6.168.5",
50
+ "cbor2>=6.1.5,<7",
50
51
  "cython>=3.3.0",
51
52
  "setuptools>=68",
52
53
  ]
54
+ docs = [
55
+ "zensical>=0.0.67",
56
+ ]
53
57
 
54
58
  [tool.ruff]
55
59
  target-version = "py310"
@@ -6,7 +6,7 @@ from .encoder import CBOREncoder, DefaultCallback, dump, dumps
6
6
  from .exceptions import CBORDecodeError, CBOREncodeError, CBORError
7
7
  from .types import CBORSimpleValue, CBORTag, UndefinedType, undefined
8
8
 
9
- __version__ = "0.2.4"
9
+ __version__ = "0.2.6"
10
10
 
11
11
  __all__ = [
12
12
  "CBORDecodeError",