plexus-python-common 1.0.55__tar.gz → 1.0.57__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 (93) hide show
  1. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/PKG-INFO +2 -1
  2. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/pyproject.toml +2 -0
  3. plexus_python_common-1.0.57/src/plexus/common/resources/tags/unittest-1.0.0.tagset.yaml +98 -0
  4. plexus_python_common-1.0.55/src/plexus/common/resources/tags/universal.tagset.yaml → plexus_python_common-1.0.57/src/plexus/common/resources/tags/universal-1.0.0.tagset.yaml +522 -43
  5. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus/common/utils/bagutils.py +2 -2
  6. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus/common/utils/ormutils.py +13 -3
  7. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus/common/utils/s3utils.py +13 -10
  8. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus/common/utils/tagutils.py +219 -60
  9. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus/common/utils/testutils.py +0 -1
  10. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus_python_common.egg-info/PKG-INFO +2 -1
  11. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus_python_common.egg-info/SOURCES.txt +2 -1
  12. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus_python_common.egg-info/requires.txt +1 -0
  13. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/test/plexus_tests/common/utils/tagutils_test.py +71 -20
  14. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/.editorconfig +0 -0
  15. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/.github/workflows/pr.yml +0 -0
  16. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/.github/workflows/push.yml +0 -0
  17. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/.gitignore +0 -0
  18. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/MANIFEST.in +0 -0
  19. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/README.md +0 -0
  20. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/VERSION +0 -0
  21. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/jsonutils/dummy.0.jsonl +0 -0
  22. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/jsonutils/dummy.1.jsonl +0 -0
  23. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/jsonutils/dummy.2.jsonl +0 -0
  24. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/pathutils/0-dummy +0 -0
  25. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/pathutils/1-dummy +0 -0
  26. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/pathutils/2-dummy +0 -0
  27. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/pathutils/dummy.0.0.jsonl +0 -0
  28. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/pathutils/dummy.0.0.vol-0.jsonl +0 -0
  29. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/pathutils/dummy.0.jsonl +0 -0
  30. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/pathutils/dummy.1.1.jsonl +0 -0
  31. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/pathutils/dummy.1.1.vol-1.jsonl +0 -0
  32. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/pathutils/dummy.1.jsonl +0 -0
  33. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/pathutils/dummy.2.2.jsonl +0 -0
  34. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/pathutils/dummy.2.2.vol-2.jsonl +0 -0
  35. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/pathutils/dummy.2.jsonl +0 -0
  36. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/pathutils/dummy.csv.part0 +0 -0
  37. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/pathutils/dummy.csv.part1 +0 -0
  38. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/pathutils/dummy.csv.part2 +0 -0
  39. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/pathutils/dummy.txt +0 -0
  40. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/s3utils/dir.baz/file.bar.baz +0 -0
  41. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/s3utils/dir.baz/file.foo.bar +0 -0
  42. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/s3utils/dir.baz/file.foo.baz +0 -0
  43. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/s3utils/dir.foo/dir.foo.bar/dir.foo.bar.baz/file.foo.bar.baz +0 -0
  44. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/s3utils/dir.foo/dir.foo.bar/file.bar.baz +0 -0
  45. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/s3utils/dir.foo/dir.foo.bar/file.foo.bar +0 -0
  46. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/s3utils/dir.foo/dir.foo.bar/file.foo.baz +0 -0
  47. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/s3utils/dir.foo/file.bar +0 -0
  48. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/s3utils/dir.foo/file.baz +0 -0
  49. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/s3utils/dir.foo/file.foo +0 -0
  50. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/s3utils_archive/archive.compressed.zip +0 -0
  51. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/resources/unittest/s3utils_archive/archive.uncompressed.zip +0 -0
  52. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/setup.cfg +0 -0
  53. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/setup.py +0 -0
  54. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus/common/__init__.py +0 -0
  55. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus/common/carto/OSMFile.py +0 -0
  56. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus/common/carto/OSMNode.py +0 -0
  57. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus/common/carto/OSMTags.py +0 -0
  58. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus/common/carto/OSMWay.py +0 -0
  59. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus/common/carto/__init__.py +0 -0
  60. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus/common/pose.py +0 -0
  61. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus/common/proj.py +0 -0
  62. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus/common/resources/__init__.py +0 -0
  63. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus/common/resources/tags/__init__.py +0 -0
  64. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus/common/utils/__init__.py +0 -0
  65. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus/common/utils/apiutils.py +0 -0
  66. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus/common/utils/config.py +0 -0
  67. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus/common/utils/datautils.py +0 -0
  68. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus/common/utils/dockerutils.py +0 -0
  69. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus/common/utils/jsonutils.py +0 -0
  70. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus/common/utils/pathutils.py +0 -0
  71. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus/common/utils/sqlutils.py +0 -0
  72. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus/common/utils/strutils.py +0 -0
  73. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus_python_common.egg-info/dependency_links.txt +0 -0
  74. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus_python_common.egg-info/not-zip-safe +0 -0
  75. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/src/plexus_python_common.egg-info/top_level.txt +0 -0
  76. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/test/plexus_tests/__init__.py +0 -0
  77. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/test/plexus_tests/common/__init__.py +0 -0
  78. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/test/plexus_tests/common/carto/__init__.py +0 -0
  79. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/test/plexus_tests/common/carto/osm_file_test.py +0 -0
  80. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/test/plexus_tests/common/carto/osm_tags_test.py +0 -0
  81. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/test/plexus_tests/common/pose_test.py +0 -0
  82. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/test/plexus_tests/common/proj_test.py +0 -0
  83. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/test/plexus_tests/common/utils/__init__.py +0 -0
  84. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/test/plexus_tests/common/utils/bagutils_test.py +0 -0
  85. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/test/plexus_tests/common/utils/datautils_test.py +0 -0
  86. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/test/plexus_tests/common/utils/dockerutils_test.py +0 -0
  87. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/test/plexus_tests/common/utils/jsonutils_test.py +0 -0
  88. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/test/plexus_tests/common/utils/ormutils_test.py +0 -0
  89. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/test/plexus_tests/common/utils/pathutils_test.py +0 -0
  90. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/test/plexus_tests/common/utils/s3utils_test.py +0 -0
  91. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/test/plexus_tests/common/utils/strutils_test.py +0 -0
  92. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/test/plexus_tests/common/utils/testutils_test.py +0 -0
  93. {plexus_python_common-1.0.55 → plexus_python_common-1.0.57}/test/testenv.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plexus-python-common
3
- Version: 1.0.55
3
+ Version: 1.0.57
4
4
  Classifier: Programming Language :: Python :: 3
5
5
  Classifier: Programming Language :: Python :: 3.12
6
6
  Classifier: Programming Language :: Python :: 3.13
@@ -12,6 +12,7 @@ Requires-Dist: boto3-stubs[s3]<1.42,>=1.41
12
12
  Requires-Dist: docker>=7.1
13
13
  Requires-Dist: fsspec>=2025.10
14
14
  Requires-Dist: jinja2>=3.0
15
+ Requires-Dist: jsonschema>=4.0
15
16
  Requires-Dist: lxml>=6.0
16
17
  Requires-Dist: markdown-it-py>=4.0
17
18
  Requires-Dist: numpy>=2.3
@@ -14,6 +14,7 @@ dev = [
14
14
  "docker>=7.1",
15
15
  "fsspec>=2025.10",
16
16
  "jinja2>=3.0",
17
+ "jsonschema>=4.0",
17
18
  "lxml>=6.0",
18
19
  "markdown-it-py>=4.0",
19
20
  "numpy>=2.3",
@@ -60,6 +61,7 @@ dependencies = [
60
61
  "docker>=7.1",
61
62
  "fsspec>=2025.10",
62
63
  "jinja2>=3.0",
64
+ "jsonschema>=4.0",
63
65
  "lxml>=6.0",
64
66
  "markdown-it-py>=4.0",
65
67
  "numpy>=2.3",
@@ -0,0 +1,98 @@
1
+ $namespace: "unittest"
2
+ $version: "1.0.0"
3
+ # language=markdown
4
+ $desc: !markdown |
5
+ **Unit Test Tagset**
6
+
7
+ A collection of tags designed for annotating and categorizing data in unit tests. This tagset includes categories
8
+ for camera views, radar views, LiDAR views, environmental conditions, and roadway characteristics. Each tag is
9
+ defined with a description that provides context for its use in unit testing scenarios, helping to ensure that
10
+ test cases are accurately annotated and can be easily understood by developers and testers.
11
+ $def:
12
+ anchored_tags:
13
+ &anchored_tags
14
+ anchored:
15
+ # language=markdown
16
+ $desc: !markdown |
17
+ Anchored tags that describe specific perspectives or viewpoints from which data is captured. These tags are
18
+ typically associated with sensor data and provide critical context for understanding the scene and the
19
+ information being analyzed. For example, camera views may include front center, front left, front right, side
20
+ left, side right, rear left, and rear right perspectives, while radar and LiDAR views may include unified,
21
+ bumper center, bumper left, bumper right, and similar perspectives.
22
+ $schema:
23
+ type: object
24
+ properties:
25
+ dummy_property:
26
+ description: "This is a dummy property that serves as a placeholder for the actual properties that would be defined under the anchored tags."
27
+ type: string
28
+ additionalProperties: true
29
+ another_anchored:
30
+ # language=markdown
31
+ $desc: !markdown |
32
+ Another set of anchored tags that describe specific perspectives or viewpoints from which data is captured.
33
+ These tags may be used in different contexts or for different types of sensors, but they serve a similar
34
+ purpose in providing critical context for understanding the scene and the information being analyzed.
35
+ $tags:
36
+ level_1_tag:
37
+ $desc: "This is a level 1 tag that provides a high-level categorization for the data."
38
+ $schema:
39
+ type: object
40
+ properties:
41
+ dummy_property:
42
+ description: "This is a dummy property that serves as a placeholder for the actual properties that would be defined under this level 1 tag."
43
+ type: string
44
+ additionalProperties: true
45
+ level_2_tag:
46
+ $desc: "This is a level 2 tag that provides a more specific categorization for the data."
47
+ level_3_tag: { $desc: "level 3 tag description", <<: *anchored_tags }
48
+ another_level_3_tag: { $desc: "another level 3 tag description" }
49
+ another_level_2_tag:
50
+ $desc: "This is another level 2 tag that provides a different specific categorization for the data."
51
+ $schema:
52
+ type: object
53
+ properties:
54
+ dummy_property:
55
+ description: "This is a dummy property that serves as a placeholder for the actual properties that would be defined under this level 2 tag."
56
+ type: object
57
+ properties:
58
+ dummy_sub_property:
59
+ description: "This is a dummy sub-property that serves as a placeholder for the actual sub-properties that would be defined under this dummy property."
60
+ type: string
61
+ additionalProperties: false
62
+ required: [ dummy_property ]
63
+ additionalProperties: true
64
+ <<: *anchored_tags
65
+ another_level_1_tag:
66
+ # language=markdown
67
+ $desc: !markdown |
68
+ This is another level 1 tag that provides a different high-level categorization for the data. It may be used
69
+ to group data based on different criteria or characteristics, such as environmental conditions, roadway
70
+ characteristics, or other relevant factors that are important for unit testing scenarios.
71
+ $schema:
72
+ type: object
73
+ properties:
74
+ dummy_elements:
75
+ description: "This is a dummy array property that serves as a placeholder for the actual array properties that would be defined under this level 1 tag."
76
+ type: array
77
+ items:
78
+ type: integer
79
+ minimum: 0
80
+ minItems: 1
81
+ maxItems: 3
82
+ required: [ dummy_elements ]
83
+ additionalProperties: true
84
+ level_2_tag:
85
+ # language=markdown
86
+ $desc: !markdown |
87
+ This is a level 2 tag that provides a more specific categorization for the data under the second level 1 tag.
88
+ It may be used to further refine the categorization based on specific criteria or characteristics relevant to
89
+ the second level 1 tag, such as different types of environmental conditions or roadway characteristics.
90
+ level_3_tag:
91
+ # language=markdown
92
+ $desc: !markdown |
93
+ This is a level 3 tag that provides an even more specific categorization for the data under the level 2 tag
94
+ of the second level 1 tag. It may be used to further refine the categorization based on very specific
95
+ criteria or characteristics relevant to the level 2 tag, such as specific weather conditions, road types,
96
+ or other detailed factors that are important for unit testing scenarios.
97
+ level_4_tag:
98
+ $desc: "This is a level 4 tag that provides an even more specific categorization for the data under the level 3 tag. Actually, you can have as many levels as you want, but for the sake of this example, we will stop at level 4."