unitysvc-data 0.1.0__tar.gz → 0.1.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 (33) hide show
  1. {unitysvc_data-0.1.0/src/unitysvc_data.egg-info → unitysvc_data-0.1.1}/PKG-INFO +1 -1
  2. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/pyproject.toml +1 -1
  3. unitysvc_data-0.1.1/src/unitysvc_data/_version.py +1 -0
  4. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/presets.py +7 -3
  5. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1/src/unitysvc_data.egg-info}/PKG-INFO +1 -1
  6. unitysvc_data-0.1.0/src/unitysvc_data/_version.py +0 -1
  7. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/LICENSE +0 -0
  8. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/README.md +0 -0
  9. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/setup.cfg +0 -0
  10. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/__init__.py +0 -0
  11. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/_manifest.json +0 -0
  12. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/cli.py +0 -0
  13. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/api/connectivity/README.md +0 -0
  14. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/api/connectivity/connectivity-v1.sh.j2 +0 -0
  15. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/llm/request-template/README.md +0 -0
  16. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/llm/request-template/request-template-v1.json +0 -0
  17. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/s3/code-example/README.md +0 -0
  18. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/s3/code-example/code-example-v1.py.j2 +0 -0
  19. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/s3/connectivity/README.md +0 -0
  20. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/s3/connectivity/connectivity-v1.py.j2 +0 -0
  21. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/s3/description/README.md +0 -0
  22. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/s3/description/description-v1.md +0 -0
  23. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/smtp/connectivity/README.md +0 -0
  24. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/smtp/connectivity/connectivity-v1.sh.j2 +0 -0
  25. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/py.typed +0 -0
  26. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data.egg-info/SOURCES.txt +0 -0
  27. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data.egg-info/dependency_links.txt +0 -0
  28. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data.egg-info/entry_points.txt +0 -0
  29. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data.egg-info/requires.txt +0 -0
  30. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data.egg-info/top_level.txt +0 -0
  31. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/tests/test_build.py +0 -0
  32. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/tests/test_cli.py +0 -0
  33. {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/tests/test_presets.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: unitysvc-data
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Standard examples and presets for UnitySVC data packages
5
5
  Author-email: Bo Peng <bo.peng@unitysvc.com>
6
6
  Maintainer-email: Bo Peng <bo.peng@unitysvc.com>
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "unitysvc-data"
7
- version = "0.1.0"
7
+ version = "0.1.1"
8
8
  description = "Standard examples and presets for UnitySVC data packages"
9
9
  readme = "README.md"
10
10
  authors = [{ name = "Bo Peng", email = "bo.peng@unitysvc.com" }]
@@ -0,0 +1 @@
1
+ __version__ = "0.1.1"
@@ -37,8 +37,12 @@ from pathlib import Path
37
37
  from typing import Any
38
38
 
39
39
  # Resolved once at import time. Duplicated with __init__ rather than
40
- # imported to avoid a circular import during package load.
41
- _EXAMPLES_ROOT = _files(__name__).joinpath("examples")
40
+ # imported to avoid a circular import during package load. Use
41
+ # ``__package__`` (the parent package, "unitysvc_data") rather than
42
+ # ``__name__`` (the module, "unitysvc_data.presets") — Python 3.11's
43
+ # ``importlib.resources.files`` rejects module anchors; 3.12+ accepts
44
+ # both, but the package anchor is portable.
45
+ _EXAMPLES_ROOT = _files(__package__).joinpath("examples")
42
46
 
43
47
  __all__ = [
44
48
  "PRESETS",
@@ -58,7 +62,7 @@ OVERRIDABLE: frozenset[str] = frozenset({"description", "is_public", "is_active"
58
62
 
59
63
 
60
64
  def _load_manifest() -> dict[str, Any]:
61
- manifest_bytes = _files(__name__).joinpath("_manifest.json").read_bytes()
65
+ manifest_bytes = _files(__package__).joinpath("_manifest.json").read_bytes()
62
66
  return json.loads(manifest_bytes)
63
67
 
64
68
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: unitysvc-data
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Standard examples and presets for UnitySVC data packages
5
5
  Author-email: Bo Peng <bo.peng@unitysvc.com>
6
6
  Maintainer-email: Bo Peng <bo.peng@unitysvc.com>
@@ -1 +0,0 @@
1
- __version__ = "0.1.0"
File without changes
File without changes
File without changes