unitysvc-core 0.2.21__tar.gz → 0.2.22__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 (42) hide show
  1. {unitysvc_core-0.2.21/src/unitysvc_core.egg-info → unitysvc_core-0.2.22}/PKG-INFO +2 -3
  2. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/README.md +1 -1
  3. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/pyproject.toml +1 -2
  4. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core/utils.py +2 -3
  5. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22/src/unitysvc_core.egg-info}/PKG-INFO +2 -3
  6. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core.egg-info/requires.txt +0 -1
  7. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/LICENSE +0 -0
  8. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/setup.cfg +0 -0
  9. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core/__init__.py +0 -0
  10. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core/models/__init__.py +0 -0
  11. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core/models/base.py +0 -0
  12. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core/models/documents.py +0 -0
  13. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core/models/listing_data.py +0 -0
  14. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core/models/listing_v1.py +0 -0
  15. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core/models/offering_data.py +0 -0
  16. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core/models/offering_v1.py +0 -0
  17. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core/models/pricing.py +0 -0
  18. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core/models/promotion_data.py +0 -0
  19. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core/models/provider_data.py +0 -0
  20. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core/models/provider_v1.py +0 -0
  21. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core/models/service.py +0 -0
  22. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core/models/service_group_data.py +0 -0
  23. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core/models/validators.py +0 -0
  24. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core/py.typed +0 -0
  25. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core/schema/base.json +0 -0
  26. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core/schema/listing_v1.json +0 -0
  27. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core/schema/offering_v1.json +0 -0
  28. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core/schema/promotion_v1.json +0 -0
  29. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core/schema/provider_v1.json +0 -0
  30. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core/schema/service_group_v1.json +0 -0
  31. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core/validator.py +0 -0
  32. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core.egg-info/SOURCES.txt +0 -0
  33. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core.egg-info/dependency_links.txt +0 -0
  34. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/src/unitysvc_core.egg-info/top_level.txt +0 -0
  35. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/tests/test_access_interface_routing.py +0 -0
  36. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/tests/test_pricing.py +0 -0
  37. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/tests/test_provider_account_rate_limits.py +0 -0
  38. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/tests/test_service_group.py +0 -0
  39. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/tests/test_service_status.py +0 -0
  40. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/tests/test_utils.py +0 -0
  41. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/tests/test_validator.py +0 -0
  42. {unitysvc_core-0.2.21 → unitysvc_core-0.2.22}/tests/test_validators.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: unitysvc-core
3
- Version: 0.2.21
3
+ Version: 0.2.22
4
4
  Summary: Shared data models and validation helpers for UnitySVC packages
5
5
  Author-email: Bo Peng <bo.peng@unitysvc.com>
6
6
  Maintainer-email: Bo Peng <bo.peng@unitysvc.com>
@@ -18,7 +18,6 @@ Requires-Dist: pydantic>=2
18
18
  Requires-Dist: email-validator
19
19
  Requires-Dist: jsonschema
20
20
  Requires-Dist: jinja2
21
- Requires-Dist: json5
22
21
  Requires-Dist: tomli-w
23
22
  Requires-Dist: unitysvc-data>=0.1.9
24
23
  Provides-Extra: test
@@ -95,7 +94,7 @@ pip install unitysvc-core
95
94
  ```
96
95
 
97
96
  Dependencies: `pydantic`, `email-validator`, `jsonschema`, `jinja2`,
98
- `json5`, `tomli-w`. No `typer`, no `rich`, no `httpx`.
97
+ `tomli-w`. No `typer`, no `rich`, no `httpx`.
99
98
 
100
99
  ## Usage
101
100
 
@@ -59,7 +59,7 @@ pip install unitysvc-core
59
59
  ```
60
60
 
61
61
  Dependencies: `pydantic`, `email-validator`, `jsonschema`, `jinja2`,
62
- `json5`, `tomli-w`. No `typer`, no `rich`, no `httpx`.
62
+ `tomli-w`. No `typer`, no `rich`, no `httpx`.
63
63
 
64
64
  ## Usage
65
65
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "unitysvc-core"
7
- version = "0.2.21"
7
+ version = "0.2.22"
8
8
  description = "Shared data models and validation helpers for UnitySVC packages"
9
9
  readme = "README.md"
10
10
  authors = [{ name = "Bo Peng", email = "bo.peng@unitysvc.com" }]
@@ -21,7 +21,6 @@ dependencies = [
21
21
  "email-validator",
22
22
  "jsonschema",
23
23
  "jinja2",
24
- "json5",
25
24
  "tomli-w",
26
25
  # Presets exposed under $<fn> sentinels that load_data_file expands
27
26
  # transparently after parse + override-merge. The actual set of
@@ -19,7 +19,6 @@ from functools import lru_cache
19
19
  from pathlib import Path
20
20
  from typing import Any
21
21
 
22
- import json5
23
22
  import tomli_w
24
23
 
25
24
  # Presets discovered dynamically from unitysvc-data's registry. Any
@@ -297,7 +296,7 @@ def load_data_file(
297
296
  preset_fns: Mapping[str, Callable[[Any], Any]] | None = DEFAULT_PRESET_FNS,
298
297
  ) -> tuple[dict[str, Any], str]:
299
298
  """
300
- Load a data file (JSON/JSON5 or TOML) and return (data, format).
299
+ Load a data file (JSON or TOML) and return (data, format).
301
300
 
302
301
  :func:`expand_presets` walks the result and replaces every
303
302
  ``$doc_preset`` / ``$file_preset`` sentinel with the matching preset
@@ -320,7 +319,7 @@ def load_data_file(
320
319
  """
321
320
  if file_path.suffix == ".json":
322
321
  with open(file_path, encoding="utf-8") as f:
323
- data = json5.load(f)
322
+ data = json.load(f)
324
323
  file_format = "json"
325
324
  elif file_path.suffix == ".toml":
326
325
  with open(file_path, "rb") as f:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: unitysvc-core
3
- Version: 0.2.21
3
+ Version: 0.2.22
4
4
  Summary: Shared data models and validation helpers for UnitySVC packages
5
5
  Author-email: Bo Peng <bo.peng@unitysvc.com>
6
6
  Maintainer-email: Bo Peng <bo.peng@unitysvc.com>
@@ -18,7 +18,6 @@ Requires-Dist: pydantic>=2
18
18
  Requires-Dist: email-validator
19
19
  Requires-Dist: jsonschema
20
20
  Requires-Dist: jinja2
21
- Requires-Dist: json5
22
21
  Requires-Dist: tomli-w
23
22
  Requires-Dist: unitysvc-data>=0.1.9
24
23
  Provides-Extra: test
@@ -95,7 +94,7 @@ pip install unitysvc-core
95
94
  ```
96
95
 
97
96
  Dependencies: `pydantic`, `email-validator`, `jsonschema`, `jinja2`,
98
- `json5`, `tomli-w`. No `typer`, no `rich`, no `httpx`.
97
+ `tomli-w`. No `typer`, no `rich`, no `httpx`.
99
98
 
100
99
  ## Usage
101
100
 
@@ -2,7 +2,6 @@ pydantic>=2
2
2
  email-validator
3
3
  jsonschema
4
4
  jinja2
5
- json5
6
5
  tomli-w
7
6
  unitysvc-data>=0.1.9
8
7
 
File without changes
File without changes