toons 0.5.0__tar.gz → 0.5.1__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 (66) hide show
  1. {toons-0.5.0 → toons-0.5.1}/.pre-commit-config.yaml +1 -1
  2. {toons-0.5.0 → toons-0.5.1}/Cargo.lock +1 -1
  3. {toons-0.5.0 → toons-0.5.1}/Cargo.toml +1 -1
  4. {toons-0.5.0 → toons-0.5.1}/PKG-INFO +1 -1
  5. {toons-0.5.0 → toons-0.5.1}/pyproject.toml +1 -0
  6. toons-0.5.1/toons.pyi +33 -0
  7. {toons-0.5.0 → toons-0.5.1}/.github/workflows/CI.yml +0 -0
  8. {toons-0.5.0 → toons-0.5.1}/.gitignore +0 -0
  9. {toons-0.5.0 → toons-0.5.1}/.readthedocs.yaml +0 -0
  10. {toons-0.5.0 → toons-0.5.1}/LICENSE +0 -0
  11. {toons-0.5.0 → toons-0.5.1}/README.md +0 -0
  12. {toons-0.5.0 → toons-0.5.1}/docs/README.md +0 -0
  13. {toons-0.5.0 → toons-0.5.1}/docs/api-reference.md +0 -0
  14. {toons-0.5.0 → toons-0.5.1}/docs/contributing.md +0 -0
  15. {toons-0.5.0 → toons-0.5.1}/docs/data-types.md +0 -0
  16. {toons-0.5.0 → toons-0.5.1}/docs/development.md +0 -0
  17. {toons-0.5.0 → toons-0.5.1}/docs/examples.md +0 -0
  18. {toons-0.5.0 → toons-0.5.1}/docs/getting-started.md +0 -0
  19. {toons-0.5.0 → toons-0.5.1}/docs/index.md +0 -0
  20. {toons-0.5.0 → toons-0.5.1}/docs/specification.md +0 -0
  21. {toons-0.5.0 → toons-0.5.1}/docs/testing.md +0 -0
  22. {toons-0.5.0 → toons-0.5.1}/examples/data.toon +0 -0
  23. {toons-0.5.0 → toons-0.5.1}/examples/file_example.py +0 -0
  24. {toons-0.5.0 → toons-0.5.1}/examples/string_example.py +0 -0
  25. {toons-0.5.0 → toons-0.5.1}/mkdocs.yml +0 -0
  26. {toons-0.5.0 → toons-0.5.1}/requirements-dev.txt +0 -0
  27. {toons-0.5.0 → toons-0.5.1}/src/lib.rs +0 -0
  28. {toons-0.5.0 → toons-0.5.1}/src/toon/deserialize.rs +0 -0
  29. {toons-0.5.0 → toons-0.5.1}/src/toon/mod.rs +0 -0
  30. {toons-0.5.0 → toons-0.5.1}/src/toon/serialize.rs +0 -0
  31. {toons-0.5.0 → toons-0.5.1}/tests/README.md +0 -0
  32. {toons-0.5.0 → toons-0.5.1}/tests/conftest.py +0 -0
  33. {toons-0.5.0 → toons-0.5.1}/tests/data/complex_test.json +0 -0
  34. {toons-0.5.0 → toons-0.5.1}/tests/data/complex_test.toon +0 -0
  35. {toons-0.5.0 → toons-0.5.1}/tests/integration/README.md +0 -0
  36. {toons-0.5.0 → toons-0.5.1}/tests/integration/conftest.py +0 -0
  37. {toons-0.5.0 → toons-0.5.1}/tests/integration/fixtures/decode/arrays-nested.json +0 -0
  38. {toons-0.5.0 → toons-0.5.1}/tests/integration/fixtures/decode/arrays-primitive.json +0 -0
  39. {toons-0.5.0 → toons-0.5.1}/tests/integration/fixtures/decode/arrays-tabular.json +0 -0
  40. {toons-0.5.0 → toons-0.5.1}/tests/integration/fixtures/decode/blank-lines.json +0 -0
  41. {toons-0.5.0 → toons-0.5.1}/tests/integration/fixtures/decode/delimiters.json +0 -0
  42. {toons-0.5.0 → toons-0.5.1}/tests/integration/fixtures/decode/indentation-errors.json +0 -0
  43. {toons-0.5.0 → toons-0.5.1}/tests/integration/fixtures/decode/numbers.json +0 -0
  44. {toons-0.5.0 → toons-0.5.1}/tests/integration/fixtures/decode/objects.json +0 -0
  45. {toons-0.5.0 → toons-0.5.1}/tests/integration/fixtures/decode/path-expansion.json +0 -0
  46. {toons-0.5.0 → toons-0.5.1}/tests/integration/fixtures/decode/primitives.json +0 -0
  47. {toons-0.5.0 → toons-0.5.1}/tests/integration/fixtures/decode/root-form.json +0 -0
  48. {toons-0.5.0 → toons-0.5.1}/tests/integration/fixtures/decode/validation-errors.json +0 -0
  49. {toons-0.5.0 → toons-0.5.1}/tests/integration/fixtures/decode/whitespace.json +0 -0
  50. {toons-0.5.0 → toons-0.5.1}/tests/integration/fixtures/encode/arrays-nested.json +0 -0
  51. {toons-0.5.0 → toons-0.5.1}/tests/integration/fixtures/encode/arrays-objects.json +0 -0
  52. {toons-0.5.0 → toons-0.5.1}/tests/integration/fixtures/encode/arrays-primitive.json +0 -0
  53. {toons-0.5.0 → toons-0.5.1}/tests/integration/fixtures/encode/arrays-tabular.json +0 -0
  54. {toons-0.5.0 → toons-0.5.1}/tests/integration/fixtures/encode/delimiters.json +0 -0
  55. {toons-0.5.0 → toons-0.5.1}/tests/integration/fixtures/encode/key-folding.json +0 -0
  56. {toons-0.5.0 → toons-0.5.1}/tests/integration/fixtures/encode/objects.json +0 -0
  57. {toons-0.5.0 → toons-0.5.1}/tests/integration/fixtures/encode/primitives.json +0 -0
  58. {toons-0.5.0 → toons-0.5.1}/tests/integration/fixtures/encode/whitespace.json +0 -0
  59. {toons-0.5.0 → toons-0.5.1}/tests/integration/test_spec_fixtures.py +0 -0
  60. {toons-0.5.0 → toons-0.5.1}/tests/unit/README.md +0 -0
  61. {toons-0.5.0 → toons-0.5.1}/tests/unit/test_complex_regression.py +0 -0
  62. {toons-0.5.0 → toons-0.5.1}/tests/unit/test_delimiter.py +0 -0
  63. {toons-0.5.0 → toons-0.5.1}/tests/unit/test_dumps.py +0 -0
  64. {toons-0.5.0 → toons-0.5.1}/tests/unit/test_indent.py +0 -0
  65. {toons-0.5.0 → toons-0.5.1}/tests/unit/test_spec_compliance.py +0 -0
  66. {toons-0.5.0 → toons-0.5.1}/tests/unit/test_strict_flag.py +0 -0
@@ -16,7 +16,7 @@ repos:
16
16
  - id: fmt
17
17
  - id: cargo-check
18
18
  - repo: https://github.com/astral-sh/ruff-pre-commit
19
- rev: v0.14.10
19
+ rev: v0.15.0
20
20
  hooks:
21
21
  - id: ruff
22
22
  args: [--fix, --select, I] # I = isort (import sorting)
@@ -121,7 +121,7 @@ checksum = "b1dd07eb858a2067e2f3c7155d54e929265c264e6f37efe3ee7a8d1b5a1dd0ba"
121
121
 
122
122
  [[package]]
123
123
  name = "toons"
124
- version = "0.5.0"
124
+ version = "0.5.1"
125
125
  dependencies = [
126
126
  "pyo3",
127
127
  ]
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "toons"
3
- version = "0.5.0"
3
+ version = "0.5.1"
4
4
  edition = "2024"
5
5
  readme = "README.md"
6
6
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: toons
3
- Version: 0.5.0
3
+ Version: 0.5.1
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -23,6 +23,7 @@ Source = "https://github.com/alesanfra/toons"
23
23
 
24
24
  [tool.maturin]
25
25
  features = ["pyo3/extension-module", "pyo3/abi3-py37"]
26
+ include = ["toons.pyi"]
26
27
 
27
28
  [tool.ruff]
28
29
  line-length = 79
toons-0.5.1/toons.pyi ADDED
@@ -0,0 +1,33 @@
1
+ from typing import IO, Any, Optional
2
+
3
+ def load(
4
+ fp: IO[str],
5
+ *,
6
+ strict: bool = True,
7
+ expand_paths: Optional[str] = None,
8
+ indent: Optional[int] = None,
9
+ ) -> Any: ...
10
+ def loads(
11
+ s: str,
12
+ *,
13
+ strict: bool = True,
14
+ expand_paths: Optional[str] = None,
15
+ indent: Optional[int] = None,
16
+ ) -> Any: ...
17
+ def dump(
18
+ obj: Any,
19
+ fp: IO[str],
20
+ *,
21
+ indent: int = 2,
22
+ delimiter: str = ",",
23
+ key_folding: Optional[str] = None,
24
+ flatten_depth: Optional[int] = None,
25
+ ) -> None: ...
26
+ def dumps(
27
+ obj: Any,
28
+ *,
29
+ indent: int = 2,
30
+ delimiter: str = ",",
31
+ key_folding: Optional[str] = None,
32
+ flatten_depth: Optional[int] = None,
33
+ ) -> str: ...
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