unitysvc-data 0.1.1__tar.gz → 0.1.3__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.1/src/unitysvc_data.egg-info → unitysvc_data-0.1.3}/PKG-INFO +1 -1
  2. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/pyproject.toml +1 -1
  3. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/src/unitysvc_data/_manifest.json +12 -4
  4. unitysvc_data-0.1.3/src/unitysvc_data/_version.py +1 -0
  5. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/src/unitysvc_data/examples/s3/code-example/README.md +2 -1
  6. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/src/unitysvc_data/examples/s3/connectivity/README.md +1 -1
  7. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/src/unitysvc_data/examples/s3/description/README.md +1 -1
  8. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3/src/unitysvc_data.egg-info}/PKG-INFO +1 -1
  9. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/tests/test_presets.py +2 -2
  10. unitysvc_data-0.1.1/src/unitysvc_data/_version.py +0 -1
  11. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/LICENSE +0 -0
  12. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/README.md +0 -0
  13. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/setup.cfg +0 -0
  14. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/src/unitysvc_data/__init__.py +0 -0
  15. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/src/unitysvc_data/cli.py +0 -0
  16. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/src/unitysvc_data/examples/api/connectivity/README.md +0 -0
  17. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/src/unitysvc_data/examples/api/connectivity/connectivity-v1.sh.j2 +0 -0
  18. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/src/unitysvc_data/examples/llm/request-template/README.md +0 -0
  19. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/src/unitysvc_data/examples/llm/request-template/request-template-v1.json +0 -0
  20. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/src/unitysvc_data/examples/s3/code-example/code-example-v1.py.j2 +0 -0
  21. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/src/unitysvc_data/examples/s3/connectivity/connectivity-v1.py.j2 +0 -0
  22. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/src/unitysvc_data/examples/s3/description/description-v1.md +0 -0
  23. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/src/unitysvc_data/examples/smtp/connectivity/README.md +0 -0
  24. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/src/unitysvc_data/examples/smtp/connectivity/connectivity-v1.sh.j2 +0 -0
  25. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/src/unitysvc_data/presets.py +0 -0
  26. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/src/unitysvc_data/py.typed +0 -0
  27. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/src/unitysvc_data.egg-info/SOURCES.txt +0 -0
  28. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/src/unitysvc_data.egg-info/dependency_links.txt +0 -0
  29. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/src/unitysvc_data.egg-info/entry_points.txt +0 -0
  30. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/src/unitysvc_data.egg-info/requires.txt +0 -0
  31. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/src/unitysvc_data.egg-info/top_level.txt +0 -0
  32. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/tests/test_build.py +0 -0
  33. {unitysvc_data-0.1.1 → unitysvc_data-0.1.3}/tests/test_cli.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: unitysvc-data
3
- Version: 0.1.1
3
+ Version: 0.1.3
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.1"
7
+ version = "0.1.3"
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" }]
@@ -35,12 +35,17 @@
35
35
  "version": 1
36
36
  },
37
37
  "s3_code_example_v1": {
38
- "category": "usage_example",
38
+ "category": "code_example",
39
39
  "description": "Python example: list objects in an S3 bucket via boto3",
40
40
  "example_file": "s3/code-example/code-example-v1.py.j2",
41
41
  "is_active": true,
42
42
  "is_public": true,
43
- "meta": {},
43
+ "meta": {
44
+ "output_contains": "connectivity ok",
45
+ "requirements": [
46
+ "boto3"
47
+ ]
48
+ },
44
49
  "mime_type": "python",
45
50
  "preset_name": "s3_code_example",
46
51
  "source_readme": "s3/code-example/README.md",
@@ -53,7 +58,10 @@
53
58
  "is_active": true,
54
59
  "is_public": false,
55
60
  "meta": {
56
- "output_contains": "connectivity ok"
61
+ "output_contains": "connectivity ok",
62
+ "requirements": [
63
+ "boto3"
64
+ ]
57
65
  },
58
66
  "mime_type": "python",
59
67
  "preset_name": "s3_connectivity",
@@ -61,7 +69,7 @@
61
69
  "version": 1
62
70
  },
63
71
  "s3_description_v1": {
64
- "category": "description",
72
+ "category": "getting_started",
65
73
  "description": "Customer-facing overview of the S3 gateway service",
66
74
  "example_file": "s3/description/description-v1.md",
67
75
  "is_active": true,
@@ -0,0 +1 @@
1
+ __version__ = "0.1.3"
@@ -1,11 +1,12 @@
1
1
  +++
2
2
  preset_name = "s3_code_example"
3
- category = "usage_example"
3
+ category = "code_example"
4
4
  mime_type = "python"
5
5
  file = "code-example.py.j2"
6
6
  description = "Python example: list objects in an S3 bucket via boto3"
7
7
  is_active = true
8
8
  is_public = true
9
+ meta = { output_contains = "connectivity ok", requirements = ["boto3"] }
9
10
  +++
10
11
 
11
12
  # s3 / code-example — list objects via boto3
@@ -6,7 +6,7 @@ file = "connectivity.py.j2"
6
6
  description = "Verify S3 endpoint accepts the configured credentials"
7
7
  is_active = true
8
8
  is_public = false
9
- meta = { output_contains = "connectivity ok" }
9
+ meta = { output_contains = "connectivity ok", requirements = ["boto3"] }
10
10
  +++
11
11
 
12
12
  # s3 / connectivity — S3 credential smoke test
@@ -1,6 +1,6 @@
1
1
  +++
2
2
  preset_name = "s3_description"
3
- category = "description"
3
+ category = "getting_started"
4
4
  mime_type = "markdown"
5
5
  file = "description.md"
6
6
  description = "Customer-facing overview of the S3 gateway service"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: unitysvc-data
3
- Version: 0.1.1
3
+ Version: 0.1.3
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>
@@ -116,7 +116,7 @@ def test_doc_preset_sentinel_versioned():
116
116
  record = doc_preset({"$preset": "s3_connectivity_v1"})
117
117
  assert record["category"] == "connectivity_test"
118
118
  assert record["mime_type"] == "python"
119
- assert record["meta"] == {"output_contains": "connectivity ok"}
119
+ assert record["meta"] == {"output_contains": "connectivity ok", "requirements": ["boto3"]}
120
120
  assert Path(record["file_path"]).is_file()
121
121
 
122
122
 
@@ -135,7 +135,7 @@ def test_doc_preset_sentinel_with_overrides():
135
135
  )
136
136
  assert record["description"] == "Custom desc"
137
137
  assert record["is_public"] is False
138
- assert record["category"] == "usage_example"
138
+ assert record["category"] == "code_example"
139
139
 
140
140
 
141
141
  def test_doc_preset_deep_merges_meta():
@@ -1 +0,0 @@
1
- __version__ = "0.1.1"
File without changes
File without changes
File without changes