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.
- {unitysvc_data-0.1.0/src/unitysvc_data.egg-info → unitysvc_data-0.1.1}/PKG-INFO +1 -1
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/pyproject.toml +1 -1
- unitysvc_data-0.1.1/src/unitysvc_data/_version.py +1 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/presets.py +7 -3
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1/src/unitysvc_data.egg-info}/PKG-INFO +1 -1
- unitysvc_data-0.1.0/src/unitysvc_data/_version.py +0 -1
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/LICENSE +0 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/README.md +0 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/setup.cfg +0 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/__init__.py +0 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/_manifest.json +0 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/cli.py +0 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/api/connectivity/README.md +0 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/api/connectivity/connectivity-v1.sh.j2 +0 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/llm/request-template/README.md +0 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/llm/request-template/request-template-v1.json +0 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/s3/code-example/README.md +0 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/s3/code-example/code-example-v1.py.j2 +0 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/s3/connectivity/README.md +0 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/s3/connectivity/connectivity-v1.py.j2 +0 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/s3/description/README.md +0 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/s3/description/description-v1.md +0 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/smtp/connectivity/README.md +0 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/smtp/connectivity/connectivity-v1.sh.j2 +0 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/py.typed +0 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data.egg-info/SOURCES.txt +0 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data.egg-info/dependency_links.txt +0 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data.egg-info/entry_points.txt +0 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data.egg-info/requires.txt +0 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data.egg-info/top_level.txt +0 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/tests/test_build.py +0 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/tests/test_cli.py +0 -0
- {unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/tests/test_presets.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "unitysvc-data"
|
|
7
|
-
version = "0.1.
|
|
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
|
-
|
|
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(
|
|
65
|
+
manifest_bytes = _files(__package__).joinpath("_manifest.json").read_bytes()
|
|
62
66
|
return json.loads(manifest_bytes)
|
|
63
67
|
|
|
64
68
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.1.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/api/connectivity/README.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/s3/code-example/README.md
RENAMED
|
File without changes
|
|
File without changes
|
{unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/s3/connectivity/README.md
RENAMED
|
File without changes
|
|
File without changes
|
{unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/s3/description/README.md
RENAMED
|
File without changes
|
|
File without changes
|
{unitysvc_data-0.1.0 → unitysvc_data-0.1.1}/src/unitysvc_data/examples/smtp/connectivity/README.md
RENAMED
|
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
|