hiddenlayer-sdk 2.0.10__py3-none-any.whl → 3.0.0__py3-none-any.whl

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 (204) hide show
  1. hiddenlayer/__init__.py +109 -114
  2. hiddenlayer/_base_client.py +1995 -0
  3. hiddenlayer/_client.py +761 -0
  4. hiddenlayer/_compat.py +219 -0
  5. hiddenlayer/_constants.py +14 -0
  6. hiddenlayer/_exceptions.py +108 -0
  7. hiddenlayer/_files.py +123 -0
  8. hiddenlayer/_models.py +835 -0
  9. hiddenlayer/_oauth2.py +118 -0
  10. hiddenlayer/_qs.py +150 -0
  11. hiddenlayer/_resource.py +43 -0
  12. hiddenlayer/_response.py +832 -0
  13. hiddenlayer/_streaming.py +333 -0
  14. hiddenlayer/_types.py +260 -0
  15. hiddenlayer/_utils/__init__.py +64 -0
  16. hiddenlayer/_utils/_compat.py +45 -0
  17. hiddenlayer/_utils/_datetime_parse.py +136 -0
  18. hiddenlayer/_utils/_logs.py +25 -0
  19. hiddenlayer/_utils/_proxy.py +65 -0
  20. hiddenlayer/_utils/_reflection.py +42 -0
  21. hiddenlayer/_utils/_resources_proxy.py +24 -0
  22. hiddenlayer/_utils/_streams.py +12 -0
  23. hiddenlayer/_utils/_sync.py +86 -0
  24. hiddenlayer/_utils/_transform.py +457 -0
  25. hiddenlayer/_utils/_typing.py +156 -0
  26. hiddenlayer/_utils/_utils.py +421 -0
  27. hiddenlayer/_version.py +4 -0
  28. hiddenlayer/lib/.keep +4 -0
  29. hiddenlayer/lib/__init__.py +6 -0
  30. hiddenlayer/lib/community_scan.py +174 -0
  31. hiddenlayer/lib/model_scan.py +752 -0
  32. hiddenlayer/lib/scan_utils.py +142 -0
  33. hiddenlayer/pagination.py +127 -0
  34. hiddenlayer/resources/__init__.py +75 -0
  35. hiddenlayer/resources/interactions.py +205 -0
  36. hiddenlayer/resources/models/__init__.py +33 -0
  37. hiddenlayer/resources/models/cards.py +259 -0
  38. hiddenlayer/resources/models/models.py +284 -0
  39. hiddenlayer/resources/prompt_analyzer.py +207 -0
  40. hiddenlayer/resources/scans/__init__.py +61 -0
  41. hiddenlayer/resources/scans/jobs.py +499 -0
  42. hiddenlayer/resources/scans/results.py +169 -0
  43. hiddenlayer/resources/scans/scans.py +166 -0
  44. hiddenlayer/resources/scans/upload/__init__.py +33 -0
  45. hiddenlayer/resources/scans/upload/file.py +279 -0
  46. hiddenlayer/resources/scans/upload/upload.py +340 -0
  47. hiddenlayer/resources/sensors.py +575 -0
  48. hiddenlayer/types/__init__.py +16 -0
  49. hiddenlayer/types/interaction_analyze_params.py +62 -0
  50. hiddenlayer/types/interaction_analyze_response.py +199 -0
  51. hiddenlayer/types/model_retrieve_response.py +50 -0
  52. hiddenlayer/types/models/__init__.py +6 -0
  53. hiddenlayer/types/models/card_list_params.py +65 -0
  54. hiddenlayer/types/models/card_list_response.py +50 -0
  55. hiddenlayer/types/prompt_analyzer_create_params.py +23 -0
  56. hiddenlayer/types/prompt_analyzer_create_response.py +381 -0
  57. hiddenlayer/types/scans/__init__.py +14 -0
  58. hiddenlayer/types/scans/job_list_params.py +75 -0
  59. hiddenlayer/types/scans/job_list_response.py +22 -0
  60. hiddenlayer/types/scans/job_request_params.py +49 -0
  61. hiddenlayer/types/scans/job_retrieve_params.py +16 -0
  62. hiddenlayer/types/scans/result_sarif_response.py +7 -0
  63. hiddenlayer/types/scans/scan_job.py +46 -0
  64. hiddenlayer/types/scans/scan_report.py +367 -0
  65. hiddenlayer/types/scans/upload/__init__.py +6 -0
  66. hiddenlayer/types/scans/upload/file_add_response.py +24 -0
  67. hiddenlayer/types/scans/upload/file_complete_response.py +12 -0
  68. hiddenlayer/types/scans/upload_complete_all_response.py +12 -0
  69. hiddenlayer/types/scans/upload_start_params.py +34 -0
  70. hiddenlayer/types/scans/upload_start_response.py +12 -0
  71. hiddenlayer/types/sensor_create_params.py +24 -0
  72. hiddenlayer/types/sensor_create_response.py +33 -0
  73. hiddenlayer/types/sensor_query_params.py +39 -0
  74. hiddenlayer/types/sensor_query_response.py +43 -0
  75. hiddenlayer/types/sensor_retrieve_response.py +33 -0
  76. hiddenlayer/types/sensor_update_params.py +20 -0
  77. hiddenlayer/types/sensor_update_response.py +9 -0
  78. hiddenlayer_sdk-3.0.0.dist-info/METADATA +431 -0
  79. hiddenlayer_sdk-3.0.0.dist-info/RECORD +82 -0
  80. {hiddenlayer_sdk-2.0.10.dist-info → hiddenlayer_sdk-3.0.0.dist-info}/WHEEL +1 -2
  81. {hiddenlayer_sdk-2.0.10.dist-info → hiddenlayer_sdk-3.0.0.dist-info}/licenses/LICENSE +1 -1
  82. hiddenlayer/sdk/constants.py +0 -26
  83. hiddenlayer/sdk/exceptions.py +0 -12
  84. hiddenlayer/sdk/models.py +0 -58
  85. hiddenlayer/sdk/rest/__init__.py +0 -135
  86. hiddenlayer/sdk/rest/api/__init__.py +0 -10
  87. hiddenlayer/sdk/rest/api/aidr_predictive_api.py +0 -308
  88. hiddenlayer/sdk/rest/api/health_api.py +0 -272
  89. hiddenlayer/sdk/rest/api/model_api.py +0 -559
  90. hiddenlayer/sdk/rest/api/model_supply_chain_api.py +0 -4063
  91. hiddenlayer/sdk/rest/api/readiness_api.py +0 -272
  92. hiddenlayer/sdk/rest/api/sensor_api.py +0 -1432
  93. hiddenlayer/sdk/rest/api_client.py +0 -770
  94. hiddenlayer/sdk/rest/api_response.py +0 -21
  95. hiddenlayer/sdk/rest/configuration.py +0 -445
  96. hiddenlayer/sdk/rest/exceptions.py +0 -199
  97. hiddenlayer/sdk/rest/models/__init__.py +0 -113
  98. hiddenlayer/sdk/rest/models/address.py +0 -110
  99. hiddenlayer/sdk/rest/models/artifact.py +0 -155
  100. hiddenlayer/sdk/rest/models/artifact_change.py +0 -108
  101. hiddenlayer/sdk/rest/models/artifact_content.py +0 -101
  102. hiddenlayer/sdk/rest/models/artifact_location.py +0 -109
  103. hiddenlayer/sdk/rest/models/attachment.py +0 -129
  104. hiddenlayer/sdk/rest/models/begin_multi_file_upload200_response.py +0 -87
  105. hiddenlayer/sdk/rest/models/begin_multipart_file_upload200_response.py +0 -97
  106. hiddenlayer/sdk/rest/models/begin_multipart_file_upload200_response_parts_inner.py +0 -94
  107. hiddenlayer/sdk/rest/models/code_flow.py +0 -113
  108. hiddenlayer/sdk/rest/models/configuration_override.py +0 -108
  109. hiddenlayer/sdk/rest/models/conversion.py +0 -114
  110. hiddenlayer/sdk/rest/models/create_sensor_request.py +0 -95
  111. hiddenlayer/sdk/rest/models/edge.py +0 -108
  112. hiddenlayer/sdk/rest/models/edge_traversal.py +0 -122
  113. hiddenlayer/sdk/rest/models/errors_inner.py +0 -91
  114. hiddenlayer/sdk/rest/models/exception.py +0 -113
  115. hiddenlayer/sdk/rest/models/external_properties.py +0 -273
  116. hiddenlayer/sdk/rest/models/external_property_file_reference.py +0 -102
  117. hiddenlayer/sdk/rest/models/external_property_file_references.py +0 -240
  118. hiddenlayer/sdk/rest/models/file_details_v3.py +0 -139
  119. hiddenlayer/sdk/rest/models/file_result_v3.py +0 -117
  120. hiddenlayer/sdk/rest/models/file_scan_report_v3.py +0 -132
  121. hiddenlayer/sdk/rest/models/file_scan_reports_v3.py +0 -95
  122. hiddenlayer/sdk/rest/models/fix.py +0 -113
  123. hiddenlayer/sdk/rest/models/get_condensed_model_scan_reports200_response.py +0 -102
  124. hiddenlayer/sdk/rest/models/graph.py +0 -123
  125. hiddenlayer/sdk/rest/models/graph_traversal.py +0 -97
  126. hiddenlayer/sdk/rest/models/inventory_v3.py +0 -101
  127. hiddenlayer/sdk/rest/models/invocation.py +0 -199
  128. hiddenlayer/sdk/rest/models/location.py +0 -146
  129. hiddenlayer/sdk/rest/models/location_inner.py +0 -138
  130. hiddenlayer/sdk/rest/models/location_relationship.py +0 -107
  131. hiddenlayer/sdk/rest/models/logical_location.py +0 -104
  132. hiddenlayer/sdk/rest/models/message.py +0 -92
  133. hiddenlayer/sdk/rest/models/mitre_atlas_inner.py +0 -110
  134. hiddenlayer/sdk/rest/models/model.py +0 -103
  135. hiddenlayer/sdk/rest/models/model_inventory_info.py +0 -103
  136. hiddenlayer/sdk/rest/models/model_version.py +0 -97
  137. hiddenlayer/sdk/rest/models/multi_file_upload_request_v3.py +0 -97
  138. hiddenlayer/sdk/rest/models/multiformat_message_string.py +0 -95
  139. hiddenlayer/sdk/rest/models/node.py +0 -122
  140. hiddenlayer/sdk/rest/models/notification.py +0 -157
  141. hiddenlayer/sdk/rest/models/notify_model_scan_completed200_response.py +0 -87
  142. hiddenlayer/sdk/rest/models/paged_response_with_total.py +0 -94
  143. hiddenlayer/sdk/rest/models/pagination_v3.py +0 -95
  144. hiddenlayer/sdk/rest/models/physical_location.py +0 -94
  145. hiddenlayer/sdk/rest/models/problem_details.py +0 -103
  146. hiddenlayer/sdk/rest/models/property_bag.py +0 -101
  147. hiddenlayer/sdk/rest/models/rectangle.py +0 -110
  148. hiddenlayer/sdk/rest/models/region.py +0 -127
  149. hiddenlayer/sdk/rest/models/replacement.py +0 -103
  150. hiddenlayer/sdk/rest/models/reporting_configuration.py +0 -113
  151. hiddenlayer/sdk/rest/models/reporting_descriptor.py +0 -162
  152. hiddenlayer/sdk/rest/models/reporting_descriptor_reference.py +0 -103
  153. hiddenlayer/sdk/rest/models/reporting_descriptor_relationship.py +0 -115
  154. hiddenlayer/sdk/rest/models/result.py +0 -312
  155. hiddenlayer/sdk/rest/models/result_provenance.py +0 -133
  156. hiddenlayer/sdk/rest/models/rule_details_inner.py +0 -102
  157. hiddenlayer/sdk/rest/models/run.py +0 -318
  158. hiddenlayer/sdk/rest/models/run_automation_details.py +0 -129
  159. hiddenlayer/sdk/rest/models/sarif210.py +0 -123
  160. hiddenlayer/sdk/rest/models/scan_create_request.py +0 -87
  161. hiddenlayer/sdk/rest/models/scan_detection_v3.py +0 -159
  162. hiddenlayer/sdk/rest/models/scan_detection_v31.py +0 -158
  163. hiddenlayer/sdk/rest/models/scan_header_v3.py +0 -129
  164. hiddenlayer/sdk/rest/models/scan_job.py +0 -115
  165. hiddenlayer/sdk/rest/models/scan_job_access.py +0 -97
  166. hiddenlayer/sdk/rest/models/scan_model_details_v3.py +0 -99
  167. hiddenlayer/sdk/rest/models/scan_model_details_v31.py +0 -97
  168. hiddenlayer/sdk/rest/models/scan_model_ids_v3.py +0 -89
  169. hiddenlayer/sdk/rest/models/scan_report_v3.py +0 -139
  170. hiddenlayer/sdk/rest/models/scan_results_map_v3.py +0 -105
  171. hiddenlayer/sdk/rest/models/scan_results_v3.py +0 -120
  172. hiddenlayer/sdk/rest/models/security_posture.py +0 -89
  173. hiddenlayer/sdk/rest/models/sensor.py +0 -100
  174. hiddenlayer/sdk/rest/models/sensor_query_response.py +0 -101
  175. hiddenlayer/sdk/rest/models/sensor_sor_model_card_query_response.py +0 -101
  176. hiddenlayer/sdk/rest/models/sensor_sor_model_card_response.py +0 -127
  177. hiddenlayer/sdk/rest/models/sensor_sor_query_filter.py +0 -108
  178. hiddenlayer/sdk/rest/models/sensor_sor_query_request.py +0 -109
  179. hiddenlayer/sdk/rest/models/special_locations.py +0 -97
  180. hiddenlayer/sdk/rest/models/stack.py +0 -113
  181. hiddenlayer/sdk/rest/models/stack_frame.py +0 -104
  182. hiddenlayer/sdk/rest/models/submission_response.py +0 -95
  183. hiddenlayer/sdk/rest/models/submission_v2.py +0 -109
  184. hiddenlayer/sdk/rest/models/suppression.py +0 -133
  185. hiddenlayer/sdk/rest/models/thread_flow.py +0 -144
  186. hiddenlayer/sdk/rest/models/thread_flow_location.py +0 -166
  187. hiddenlayer/sdk/rest/models/tool.py +0 -107
  188. hiddenlayer/sdk/rest/models/tool_component.py +0 -251
  189. hiddenlayer/sdk/rest/models/tool_component_reference.py +0 -108
  190. hiddenlayer/sdk/rest/models/translation_metadata.py +0 -110
  191. hiddenlayer/sdk/rest/models/validation_error_model.py +0 -99
  192. hiddenlayer/sdk/rest/models/version_control_details.py +0 -108
  193. hiddenlayer/sdk/rest/models/web_request.py +0 -112
  194. hiddenlayer/sdk/rest/models/web_response.py +0 -112
  195. hiddenlayer/sdk/rest/rest.py +0 -257
  196. hiddenlayer/sdk/services/__init__.py +0 -0
  197. hiddenlayer/sdk/services/aidr_predictive.py +0 -130
  198. hiddenlayer/sdk/services/model_scan.py +0 -505
  199. hiddenlayer/sdk/utils.py +0 -92
  200. hiddenlayer/sdk/version.py +0 -1
  201. hiddenlayer_sdk-2.0.10.dist-info/METADATA +0 -368
  202. hiddenlayer_sdk-2.0.10.dist-info/RECORD +0 -126
  203. hiddenlayer_sdk-2.0.10.dist-info/top_level.txt +0 -1
  204. /hiddenlayer/{sdk/__init__.py → py.typed} +0 -0
hiddenlayer/sdk/utils.py DELETED
@@ -1,92 +0,0 @@
1
- import os
2
- from fnmatch import fnmatch
3
- from pathlib import Path
4
- from typing import Generator, List, Optional, Union
5
- from urllib.parse import urlparse
6
-
7
- PathInputType = Union[str, os.PathLike]
8
-
9
-
10
- def filter_path_objects(
11
- items: Union[List[PathInputType], Generator[PathInputType, None, None]],
12
- *,
13
- allow_patterns: Optional[Union[List[str], str]] = None,
14
- ignore_patterns: Optional[Union[List[str], str]] = None,
15
- ) -> Generator[Union[str, os.PathLike], None, None]:
16
- """Filter repo objects based on an allowlist and a denylist.
17
-
18
- Input must be a list of paths (`str` or `Path`) or a list of arbitrary objects.
19
- In the later case, `key` must be provided and specifies a function of one argument
20
- that is used to extract a path from each element in iterable.
21
-
22
- Patterns are Unix shell-style wildcards which are NOT regular expressions. See
23
- https://docs.python.org/3/library/fnmatch.html for more details.
24
-
25
- :param items: List of paths to filter.
26
- :param allow_patterns: Patterns constituting the allowlist. If provided, item paths must match at
27
- least one pattern from the allowlist.
28
- :param ignore_patterns: Patterns constituting the denylist. If provided, item paths must not match
29
- any patterns from the denylist.
30
-
31
- :returns: Filtered list of objects, as a generator.
32
-
33
- :raises:
34
- :class:`ValueError`:
35
- If `key` is not provided and items are not `str` or `Path`.
36
-
37
- Example usage with paths:
38
- ```python
39
- >>> # Filter only PDFs that are not hidden.
40
- >>> list(filter_repo_objects(
41
- ... ["aaa.PDF", "bbb.jpg", ".ccc.pdf", ".ddd.png"],
42
- ... allow_patterns=["*.pdf"],
43
- ... ignore_patterns=[".*"],
44
- ... ))
45
- ["aaa.pdf"]
46
- ```
47
- """
48
- if isinstance(allow_patterns, str):
49
- allow_patterns = [allow_patterns]
50
-
51
- if isinstance(ignore_patterns, str):
52
- ignore_patterns = [ignore_patterns]
53
-
54
- def _identity(item: Union[str, os.PathLike]) -> Path:
55
- if isinstance(item, str):
56
- return Path(item)
57
- if isinstance(item, Path):
58
- return item
59
- raise ValueError("Objects must be string or Pathlike.")
60
-
61
- key = _identity # Items must be `str` or `Path`, otherwise raise ValueError
62
-
63
- for item in items:
64
- path: Path = key(item)
65
-
66
- if path.is_dir():
67
- continue
68
-
69
- # Skip if there's an allowlist and path doesn't match any
70
- if allow_patterns is not None and not any(
71
- fnmatch(str(path), r) for r in allow_patterns
72
- ):
73
- continue
74
-
75
- # Skip if there's a denylist and path matches any
76
- if ignore_patterns is not None and any(
77
- fnmatch(str(path), r) for r in ignore_patterns
78
- ):
79
- continue
80
-
81
- yield item
82
-
83
-
84
- def is_saas(host: str) -> bool:
85
- """Checks whether the connection is to the SaaS platform"""
86
-
87
- o = urlparse(host)
88
-
89
- if o.hostname and o.hostname.endswith("hiddenlayer.ai"):
90
- return True
91
-
92
- return False
@@ -1 +0,0 @@
1
- VERSION = "2.0.10"
@@ -1,368 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: hiddenlayer-sdk
3
- Version: 2.0.10
4
- Summary: Official HiddenLayer Python SDK
5
- Author-email: HiddenLayer Integrations Team <integrations@hiddenlayer.com>
6
- Maintainer-email: HiddenLayer Integrations Team <integrations@hiddenlayer.com>
7
- License: Apache License
8
- Version 2.0, January 2004
9
- http://www.apache.org/licenses/
10
-
11
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
12
-
13
- 1. Definitions.
14
-
15
- "License" shall mean the terms and conditions for use, reproduction,
16
- and distribution as defined by Sections 1 through 9 of this document.
17
-
18
- "Licensor" shall mean the copyright owner or entity authorized by
19
- the copyright owner that is granting the License.
20
-
21
- "Legal Entity" shall mean the union of the acting entity and all
22
- other entities that control, are controlled by, or are under common
23
- control with that entity. For the purposes of this definition,
24
- "control" means (i) the power, direct or indirect, to cause the
25
- direction or management of such entity, whether by contract or
26
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
27
- outstanding shares, or (iii) beneficial ownership of such entity.
28
-
29
- "You" (or "Your") shall mean an individual or Legal Entity
30
- exercising permissions granted by this License.
31
-
32
- "Source" form shall mean the preferred form for making modifications,
33
- including but not limited to software source code, documentation
34
- source, and configuration files.
35
-
36
- "Object" form shall mean any form resulting from mechanical
37
- transformation or translation of a Source form, including but
38
- not limited to compiled object code, generated documentation,
39
- and conversions to other media types.
40
-
41
- "Work" shall mean the work of authorship, whether in Source or
42
- Object form, made available under the License, as indicated by a
43
- copyright notice that is included in or attached to the work
44
- (an example is provided in the Appendix below).
45
-
46
- "Derivative Works" shall mean any work, whether in Source or Object
47
- form, that is based on (or derived from) the Work and for which the
48
- editorial revisions, annotations, elaborations, or other modifications
49
- represent, as a whole, an original work of authorship. For the purposes
50
- of this License, Derivative Works shall not include works that remain
51
- separable from, or merely link (or bind by name) to the interfaces of,
52
- the Work and Derivative Works thereof.
53
-
54
- "Contribution" shall mean any work of authorship, including
55
- the original version of the Work and any modifications or additions
56
- to that Work or Derivative Works thereof, that is intentionally
57
- submitted to Licensor for inclusion in the Work by the copyright owner
58
- or by an individual or Legal Entity authorized to submit on behalf of
59
- the copyright owner. For the purposes of this definition, "submitted"
60
- means any form of electronic, verbal, or written communication sent
61
- to the Licensor or its representatives, including but not limited to
62
- communication on electronic mailing lists, source code control systems,
63
- and issue tracking systems that are managed by, or on behalf of, the
64
- Licensor for the purpose of discussing and improving the Work, but
65
- excluding communication that is conspicuously marked or otherwise
66
- designated in writing by the copyright owner as "Not a Contribution."
67
-
68
- "Contributor" shall mean Licensor and any individual or Legal Entity
69
- on behalf of whom a Contribution has been received by Licensor and
70
- subsequently incorporated within the Work.
71
-
72
- 2. Grant of Copyright License. Subject to the terms and conditions of
73
- this License, each Contributor hereby grants to You a perpetual,
74
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
75
- copyright license to reproduce, prepare Derivative Works of,
76
- publicly display, publicly perform, sublicense, and distribute the
77
- Work and such Derivative Works in Source or Object form.
78
-
79
- 3. Grant of Patent License. Subject to the terms and conditions of
80
- this License, each Contributor hereby grants to You a perpetual,
81
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
82
- (except as stated in this section) patent license to make, have made,
83
- use, offer to sell, sell, import, and otherwise transfer the Work,
84
- where such license applies only to those patent claims licensable
85
- by such Contributor that are necessarily infringed by their
86
- Contribution(s) alone or by combination of their Contribution(s)
87
- with the Work to which such Contribution(s) was submitted. If You
88
- institute patent litigation against any entity (including a
89
- cross-claim or counterclaim in a lawsuit) alleging that the Work
90
- or a Contribution incorporated within the Work constitutes direct
91
- or contributory patent infringement, then any patent licenses
92
- granted to You under this License for that Work shall terminate
93
- as of the date such litigation is filed.
94
-
95
- 4. Redistribution. You may reproduce and distribute copies of the
96
- Work or Derivative Works thereof in any medium, with or without
97
- modifications, and in Source or Object form, provided that You
98
- meet the following conditions:
99
-
100
- (a) You must give any other recipients of the Work or
101
- Derivative Works a copy of this License; and
102
-
103
- (b) You must cause any modified files to carry prominent notices
104
- stating that You changed the files; and
105
-
106
- (c) You must retain, in the Source form of any Derivative Works
107
- that You distribute, all copyright, patent, trademark, and
108
- attribution notices from the Source form of the Work,
109
- excluding those notices that do not pertain to any part of
110
- the Derivative Works; and
111
-
112
- (d) If the Work includes a "NOTICE" text file as part of its
113
- distribution, then any Derivative Works that You distribute must
114
- include a readable copy of the attribution notices contained
115
- within such NOTICE file, excluding those notices that do not
116
- pertain to any part of the Derivative Works, in at least one
117
- of the following places: within a NOTICE text file distributed
118
- as part of the Derivative Works; within the Source form or
119
- documentation, if provided along with the Derivative Works; or,
120
- within a display generated by the Derivative Works, if and
121
- wherever such third-party notices normally appear. The contents
122
- of the NOTICE file are for informational purposes only and
123
- do not modify the License. You may add Your own attribution
124
- notices within Derivative Works that You distribute, alongside
125
- or as an addendum to the NOTICE text from the Work, provided
126
- that such additional attribution notices cannot be construed
127
- as modifying the License.
128
-
129
- You may add Your own copyright statement to Your modifications and
130
- may provide additional or different license terms and conditions
131
- for use, reproduction, or distribution of Your modifications, or
132
- for any such Derivative Works as a whole, provided Your use,
133
- reproduction, and distribution of the Work otherwise complies with
134
- the conditions stated in this License.
135
-
136
- 5. Submission of Contributions. Unless You explicitly state otherwise,
137
- any Contribution intentionally submitted for inclusion in the Work
138
- by You to the Licensor shall be under the terms and conditions of
139
- this License, without any additional terms or conditions.
140
- Notwithstanding the above, nothing herein shall supersede or modify
141
- the terms of any separate license agreement you may have executed
142
- with Licensor regarding such Contributions.
143
-
144
- 6. Trademarks. This License does not grant permission to use the trade
145
- names, trademarks, service marks, or product names of the Licensor,
146
- except as required for reasonable and customary use in describing the
147
- origin of the Work and reproducing the content of the NOTICE file.
148
-
149
- 7. Disclaimer of Warranty. Unless required by applicable law or
150
- agreed to in writing, Licensor provides the Work (and each
151
- Contributor provides its Contributions) on an "AS IS" BASIS,
152
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
153
- implied, including, without limitation, any warranties or conditions
154
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
155
- PARTICULAR PURPOSE. You are solely responsible for determining the
156
- appropriateness of using or redistributing the Work and assume any
157
- risks associated with Your exercise of permissions under this License.
158
-
159
- 8. Limitation of Liability. In no event and under no legal theory,
160
- whether in tort (including negligence), contract, or otherwise,
161
- unless required by applicable law (such as deliberate and grossly
162
- negligent acts) or agreed to in writing, shall any Contributor be
163
- liable to You for damages, including any direct, indirect, special,
164
- incidental, or consequential damages of any character arising as a
165
- result of this License or out of the use or inability to use the
166
- Work (including but not limited to damages for loss of goodwill,
167
- work stoppage, computer failure or malfunction, or any and all
168
- other commercial damages or losses), even if such Contributor
169
- has been advised of the possibility of such damages.
170
-
171
- 9. Accepting Warranty or Additional Liability. While redistributing
172
- the Work or Derivative Works thereof, You may choose to offer,
173
- and charge a fee for, acceptance of support, warranty, indemnity,
174
- or other liability obligations and/or rights consistent with this
175
- License. However, in accepting such obligations, You may act only
176
- on Your own behalf and on Your sole responsibility, not on behalf
177
- of any other Contributor, and only if You agree to indemnify,
178
- defend, and hold each Contributor harmless for any liability
179
- incurred by, or claims asserted against, such Contributor by reason
180
- of your accepting any such warranty or additional liability.
181
-
182
- END OF TERMS AND CONDITIONS
183
-
184
- APPENDIX: How to apply the Apache License to your work.
185
-
186
- To apply the Apache License to your work, attach the following
187
- boilerplate notice, with the fields enclosed by brackets "[]"
188
- replaced with your own identifying information. (Don't include
189
- the brackets!) The text should be enclosed in the appropriate
190
- comment syntax for the file format. We also recommend that a
191
- file or class name and description of purpose be included on the
192
- same "printed page" as the copyright notice for easier
193
- identification within third-party archives.
194
-
195
- Copyright [yyyy] [name of copyright owner]
196
-
197
- Licensed under the Apache License, Version 2.0 (the "License");
198
- you may not use this file except in compliance with the License.
199
- You may obtain a copy of the License at
200
-
201
- http://www.apache.org/licenses/LICENSE-2.0
202
-
203
- Unless required by applicable law or agreed to in writing, software
204
- distributed under the License is distributed on an "AS IS" BASIS,
205
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
206
- See the License for the specific language governing permissions and
207
- limitations under the License.
208
-
209
- Project-URL: Homepage, https://hiddenlayer.com
210
- Project-URL: Documentation, https://hiddenlayer-python-sdk.readthedocs.io/en/latest/#
211
- Project-URL: Repository, https://github.com/hiddenlayerai/hiddenlayer-sdk-python
212
- Project-URL: Issues, https://github.com/hiddenlayerai/hiddenlayer-sdk-python/issues
213
- Classifier: Development Status :: 4 - Beta
214
- Classifier: Programming Language :: Python
215
- Classifier: Intended Audience :: Developers
216
- Classifier: Programming Language :: Python :: 3.8
217
- Classifier: Programming Language :: Python :: 3.9
218
- Classifier: Programming Language :: Python :: 3.10
219
- Classifier: Programming Language :: Python :: 3.11
220
- Classifier: Programming Language :: Python :: 3.12
221
- Requires-Python: >=3.8
222
- Description-Content-Type: text/markdown
223
- License-File: LICENSE
224
- Requires-Dist: requests
225
- Requires-Dist: pydantic>=1.10.9
226
- Requires-Dist: python-dateutil>=2.0.0
227
- Requires-Dist: numpy>=1.0.0
228
- Provides-Extra: dev
229
- Requires-Dist: ruff>=0.2.2; extra == "dev"
230
- Requires-Dist: pytest; extra == "dev"
231
- Requires-Dist: pandas; extra == "dev"
232
- Provides-Extra: aws
233
- Requires-Dist: boto3>=1.0.0; extra == "aws"
234
- Provides-Extra: hf
235
- Requires-Dist: huggingface_hub; extra == "hf"
236
- Provides-Extra: azure
237
- Requires-Dist: azure-storage-blob; extra == "azure"
238
- Requires-Dist: azure-identity; extra == "azure"
239
- Dynamic: license-file
240
-
241
- # HiddenLayer SDK Python (Beta)
242
-
243
- Hiddenlayer is a Python SDK that provides a simple and efficient way to interact with the Hiddenlayer API, a platform for building and deploying machine learning models. The SDK allows developers to easily protect models using the Hiddenlayer API, without having to write complex code or manage the underlying infrastructure.
244
-
245
- ## Contents
246
-
247
- - [Installation](#installation)
248
- - [Getting started](#getting-started)
249
- - [Code examples](#code-examples)
250
- - [Interface stability](#interface-stability)
251
-
252
-
253
- ## Installation
254
-
255
- Install from PyPi using [pip](https://pip.pypa.io/en/latest/), a package manager for Python.
256
-
257
- `pip install hiddenlayer-sdk`
258
-
259
- Scanning models on different platforms such as AWS S3 and Huggingface are supported. You can install the dependenices yourself or via optional dependencies:
260
-
261
- ```bash
262
- pip install hiddenlayer-sdk[aws]
263
- pip install hiddenlayer-sdk[azure]
264
- pip install hiddenlayer-sdk[hf]
265
- ```
266
-
267
- ## Getting Started
268
-
269
- Once you've installed the hiddenlayer package, you can instantiate the `HiddenlayerServiceClient` for the SaaS platform as follows:
270
-
271
- ```python
272
- from hiddenlayer import HiddenlayerServiceClient
273
-
274
- hl_client = HiddenlayerServiceClient(
275
- host="https://api.us.hiddenlayer.ai",
276
- api_id=..., # Your Hiddenlayer API Client ID
277
- api_key=... # Your Hiddenalyer API Secret Key
278
- )
279
- ```
280
-
281
- If you are using the on-prem Enterprise version of the model scanner, you can instantiate the `HiddenlayerServiceClient` as follows:
282
-
283
- ```python
284
- from hiddenlayer import HiddenlayerServiceClient
285
-
286
- hl_client = HiddenlayerServiceClient(
287
- host="https://your.hiddenlayer.enterprise.example",
288
- )
289
- ```
290
-
291
- If you are using the EU region, you will need to set the `HL_AUTH_URL` environment variable to the following:
292
-
293
- ```bash
294
- export HL_AUTH_URL=https://auth.eu.hiddenlayer.ai
295
- ```
296
-
297
- Then you will instantiate the `HiddenlayerServiceClient` as follows:
298
-
299
- ```python
300
- from hiddenlayer import HiddenlayerServiceClient
301
-
302
- hl_client = HiddenlayerServiceClient(
303
- host="https://api.eu.hiddenlayer.ai",
304
- api_id=..., # Your Hiddenlayer API Client ID
305
- api_key=... # Your Hiddenalyer API Secret Key
306
- )
307
- ```
308
-
309
- ### Scanning Models
310
-
311
- ```python
312
- hl_client.model_scanner.scan_file(
313
- model_name="name_of_the_model",
314
- model_path="path/to/model/file.pkl"
315
- )
316
- ```
317
-
318
- If you would like to specify the version associated with the model, you can pass that in as well. Note that the model version must not already exist.
319
-
320
- ```python
321
- hl_client.model_scanner.scan_file(
322
- model_name="name_of_the_model",
323
- model_version=1,
324
- model_path="path/to/model/file.pkl"
325
- )
326
- ```
327
-
328
- ### Scanning Folders
329
-
330
- ```python
331
- hl_client.model_scanner.scan_folder(
332
- model_name="name_of_the_model",
333
- path="path/to/model/"
334
- )
335
- ```
336
-
337
- If you would like to specify the version associated with the model, you can pass that in as well. Note that the model version must not already exist.
338
-
339
- ```python
340
- hl_client.model_scanner.scan_folder(
341
- model_name="name_of_the_model",
342
- model_version=1,
343
- path="path/to/model/"
344
- )
345
- ```
346
-
347
- ### Using AIDR for Predictive Models
348
-
349
- > Note: This is only supported using the SaaS version of the platform.
350
-
351
- ```python
352
- sensor = hl_client.aidr_predicive.create_sensor(sensor_name="example_model")
353
-
354
- hl_client.aidr_predictive.submit_vectors(
355
- model_id=model.sensor_id,
356
- requestor_id="custom-source-id",
357
- input_vectors=X,
358
- output=y
359
- )
360
- ```
361
-
362
- ## Code Examples
363
-
364
- Code examples can be found in the repo [here](https://github.com/hiddenlayerai/hiddenlayer-sdk-python/tree/main/examples)
365
-
366
- ## Interface Stability
367
-
368
- Hiddenlayer is actively working on stabilizing the Hiddenlayer SDK for Python's interfaces. You are highly encouraged to pin the exact dependency version.
@@ -1,126 +0,0 @@
1
- hiddenlayer/__init__.py,sha256=YGc00rA_UkheVMkpn5MsYuHvmUzE1Sl9OZoqLtQ1nBU,3696
2
- hiddenlayer/sdk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- hiddenlayer/sdk/constants.py,sha256=BytOHlVWk6lhWB4bpT7kDj3ctozZA9ftaB2D6lSGtGI,628
4
- hiddenlayer/sdk/exceptions.py,sha256=_Lelwk32LWxWuUPglfw8R8RuiX_Uxm_N7TP3BLhDLz0,226
5
- hiddenlayer/sdk/models.py,sha256=t92fK7xxuPm1XzazNsRg5AOAD17qnvNZiGaN1gM6lHk,1776
6
- hiddenlayer/sdk/utils.py,sha256=Ntao8hfsYuB7obZOanayIlrgJ98IWcPhs3sRi39IDkg,2997
7
- hiddenlayer/sdk/version.py,sha256=cvebPKJg8pP9aW2gMv6ZYLVFFp-UJVx7GaaCBql0ReY,19
8
- hiddenlayer/sdk/rest/__init__.py,sha256=fL2dURfsADiHHxdxxbUyjrqQi5BPRVdd9p51XPrJhks,8499
9
- hiddenlayer/sdk/rest/api_client.py,sha256=Yd71Up1SHj5pPp4jB_gIsm5Y77jHph7T4iU9NiIhUak,26291
10
- hiddenlayer/sdk/rest/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
11
- hiddenlayer/sdk/rest/configuration.py,sha256=yWESM8qffwcficDVjX6SDiJISOWRJYLD3BX9RRgdyhM,14705
12
- hiddenlayer/sdk/rest/exceptions.py,sha256=vwx38ewFsULmqVCX4rKZm8bhOM2JBmMlqO5gKVG4zoY,5885
13
- hiddenlayer/sdk/rest/rest.py,sha256=B7jV-nAnXFsf6mNZUcEpgsDObtTqPqAHr6MRTHkuFRY,9327
14
- hiddenlayer/sdk/rest/api/__init__.py,sha256=dKrlNcnraOo_qcSNtyz4GYkS79YGkEcg8__T7dQ3Vc4,439
15
- hiddenlayer/sdk/rest/api/aidr_predictive_api.py,sha256=_XBrwv2SjK9rsNyFuUQARMs4iplVigmRyDEZAo3Fm5k,11316
16
- hiddenlayer/sdk/rest/api/health_api.py,sha256=OO-snu3VvpBJWseRi4wdjk6poh5U1_t7WZf5V116wzE,10024
17
- hiddenlayer/sdk/rest/api/model_api.py,sha256=yZ3Rn-Sv5StPDDtrGPGtab8YqDxkWLph6bHuZEwUAs4,20107
18
- hiddenlayer/sdk/rest/api/model_supply_chain_api.py,sha256=xoO6_9XmIxTJ6as98x1JmIfXVllrVjmaV5BkhuLxskM,159277
19
- hiddenlayer/sdk/rest/api/readiness_api.py,sha256=PL3iDhS25SDmUmreLLlcEy1r6_iGrY8ejrZqPDqXwEc,10060
20
- hiddenlayer/sdk/rest/api/sensor_api.py,sha256=L5ZaEfvNublZbcUsL_LHsj2IV4DGr4lVfnHl6wsESkQ,55425
21
- hiddenlayer/sdk/rest/models/__init__.py,sha256=Df9k4U_TOqWPBvCp2rjpYIehk44YFjjWPXvPz-tHfH4,7510
22
- hiddenlayer/sdk/rest/models/address.py,sha256=_KjrEeyq_1hvkKJnH-d4d7ocqPLQyS3t48MG9Sb_rMU,5243
23
- hiddenlayer/sdk/rest/models/artifact.py,sha256=QiuwqQj0ROPalIH_LvqB6Z2b3_IdXdlmvmRJ6DSlxwE,8096
24
- hiddenlayer/sdk/rest/models/artifact_change.py,sha256=Sc2Z24g7m3Rrht83-2w235WZPpnsfEFF-ff5HfrPmno,4094
25
- hiddenlayer/sdk/rest/models/artifact_content.py,sha256=aDVDvkTco4A7KnknxqdyLdK-wafR4c57AyQT6txNxsA,3610
26
- hiddenlayer/sdk/rest/models/artifact_location.py,sha256=DKY6yslMPIuyVNOSvtOrp88eZRddaTrn7oBcweU9cew,4192
27
- hiddenlayer/sdk/rest/models/attachment.py,sha256=6S7QQ1ML_HOIRdJjz9HgW7pM5q9nF4Iyg17DRRR34ok,5293
28
- hiddenlayer/sdk/rest/models/begin_multi_file_upload200_response.py,sha256=BCKkNYd1xq9fLFLPgqjGbqWumrUnMbnS7vp8Oq2Lm9M,2563
29
- hiddenlayer/sdk/rest/models/begin_multipart_file_upload200_response.py,sha256=-f6vA62-_QXoxlY5ZwfpFtszv68PRuWQaiL3NI6h4L4,3211
30
- hiddenlayer/sdk/rest/models/begin_multipart_file_upload200_response_parts_inner.py,sha256=sEtgJvNaYS81ENwo1GgPpc74U-08ih2n5WeFqgpTJ3c,2979
31
- hiddenlayer/sdk/rest/models/code_flow.py,sha256=w7dhY7EzwdioQKEGyPkLC6krm-AyEYRZr29PSxmU0kM,4220
32
- hiddenlayer/sdk/rest/models/configuration_override.py,sha256=I13wqzYWOP8DJVNiU2KBOXI49V3NXYFLGqZZ0DSW3Lo,3995
33
- hiddenlayer/sdk/rest/models/conversion.py,sha256=YBGXpO_7zG7DIqCn_sLYK4bPGF9TaAQeSMqHTFRFN1s,4479
34
- hiddenlayer/sdk/rest/models/create_sensor_request.py,sha256=pb5sQmc-JFP4T3lFb767qD1YrdvFdYO7HjjmxVRXWSg,2924
35
- hiddenlayer/sdk/rest/models/edge.py,sha256=IgrBOITmMLqcyZ0zm3oBKtv7n3EmRiDCJ6ltX6lfvek,3859
36
- hiddenlayer/sdk/rest/models/edge_traversal.py,sha256=tqTfuZXSdgNyCj6nxQnwGZBK-6U7XvJpkkjeYb_Iu20,4772
37
- hiddenlayer/sdk/rest/models/errors_inner.py,sha256=f0QEZYmWl0WyW2pSytpMMS-diADFPp92UqMmYi98hTc,2650
38
- hiddenlayer/sdk/rest/models/exception.py,sha256=rFQURMGsyY_dTf-zIfdyO_Dx5o7UzA1LyPdvw5ICskY,4443
39
- hiddenlayer/sdk/rest/models/external_properties.py,sha256=Ln_zOrhgBNBFbqiEYD_JLfVtJyV8hWwWvenfJYt7QC4,15549
40
- hiddenlayer/sdk/rest/models/external_property_file_reference.py,sha256=MqVR4qOy3IBDEGBWpEAH2ehnP1W9dso-FJdFpviYwkc,3699
41
- hiddenlayer/sdk/rest/models/external_property_file_references.py,sha256=XR2xRE7n2FwxPvaO4AAaRqpDMFdn1o-SNa4qYTROX94,14734
42
- hiddenlayer/sdk/rest/models/file_details_v3.py,sha256=3HKEOUA7B0mPXnaLHG-lpW3-KCdZT5rZaJ4l_s61Wzg,5062
43
- hiddenlayer/sdk/rest/models/file_result_v3.py,sha256=61C5htC-ZyYeDBSGJzYIvFy0xb4kDnnQ2clijYlLQjs,4088
44
- hiddenlayer/sdk/rest/models/file_scan_report_v3.py,sha256=XuAWthWZQfvik1yMctgpnkBVvf61MBr9kHO3DeZVibs,5136
45
- hiddenlayer/sdk/rest/models/file_scan_reports_v3.py,sha256=iknIvsV7eWi7-f-uYS8Oqgiz5IAVG8WyDDlMYeLNR5c,2954
46
- hiddenlayer/sdk/rest/models/fix.py,sha256=YaigBB7v8YSRp4_1TKs45f96sIs2XsUHQXdjRp2QKLM,4355
47
- hiddenlayer/sdk/rest/models/get_condensed_model_scan_reports200_response.py,sha256=XKTEAiv21q1ah5ec6VRx_-2J8NyfbGOpSgCrjlDiN94,3610
48
- hiddenlayer/sdk/rest/models/graph.py,sha256=CS3NGVxqaZl-n7f1PMt6VGzEubAY5qKSMGa4ipJwzCk,4764
49
- hiddenlayer/sdk/rest/models/graph_traversal.py,sha256=XQmy0us7wSaOxeUc5dYeH2f02wjkWgr54mwMo20fL80,3835
50
- hiddenlayer/sdk/rest/models/inventory_v3.py,sha256=4jGZSyK6K_jXND4aBC2PksgUC9W8gKPs940ckNJ-diU,3485
51
- hiddenlayer/sdk/rest/models/invocation.py,sha256=NTzgSAW05TsUKQMhlCNLl8OZiU1lWpoxKDf-LGoh8J4,13160
52
- hiddenlayer/sdk/rest/models/location.py,sha256=KcPalokp6VzRZvT1FZMrObx6eC08GGgG1qoHACFAnjs,6686
53
- hiddenlayer/sdk/rest/models/location_inner.py,sha256=k7he8hKddcvyjJHrC513c18JVV1dOWRMCZ7WpDhAr8I,4738
54
- hiddenlayer/sdk/rest/models/location_relationship.py,sha256=j0hT812OlYkBgZ-5zGEoMsbovq1UY_wd4qIaoKQ0lVk,3904
55
- hiddenlayer/sdk/rest/models/logical_location.py,sha256=F-vZ6Ya8cvurh1pHF_DGIkvixY4vkQIAN_M4v5t8-Ww,4876
56
- hiddenlayer/sdk/rest/models/message.py,sha256=my3CLkfFwJV5gUgU_hw1mVuqAo7_5i61q-g75L64zhE,2975
57
- hiddenlayer/sdk/rest/models/mitre_atlas_inner.py,sha256=8jFDqr88ZgzuU8Je0OUCFL6YO5g1rEdaLEDAxV-Q-Vk,3476
58
- hiddenlayer/sdk/rest/models/model.py,sha256=ozRK8O9lijrPVs0Ahy8aFPzN4V5dFSYic3Yacx_cggs,3201
59
- hiddenlayer/sdk/rest/models/model_inventory_info.py,sha256=_x60bE1CMRUJPLhC614yFrnOS3pGTxxXYMBrr9YktHI,3845
60
- hiddenlayer/sdk/rest/models/model_version.py,sha256=siicFB14ozdgtkDooa_UkqhzcIPtFTwHwiu_reAyhR4,2953
61
- hiddenlayer/sdk/rest/models/multi_file_upload_request_v3.py,sha256=Wb_igq5Tp7l7J8OdcOG-E5pdCi6VpF_SZEFjFzuHzQA,3373
62
- hiddenlayer/sdk/rest/models/multiformat_message_string.py,sha256=eJS6TTQSbLg1S_xuL1R-ZXrLcK0Kny9odyH55-nczBU,3146
63
- hiddenlayer/sdk/rest/models/node.py,sha256=k2wEbU5018DJDLZ48xvzqxuPcdgtpkLRT5ZB3J-vc24,4510
64
- hiddenlayer/sdk/rest/models/notification.py,sha256=MPZRQSFMDprGdAL-BbWE1LFv4MpqWGrMEjmDtEUGqKI,7035
65
- hiddenlayer/sdk/rest/models/notify_model_scan_completed200_response.py,sha256=4iCHZW0fWZ3Xnk3VdwAHc4XwI3jAVYu0_AsAc9Yny4s,2545
66
- hiddenlayer/sdk/rest/models/paged_response_with_total.py,sha256=0_x1zA2wvrsuRhgcr8UOOPKvLGmJeSMIVJhweVADgFo,3207
67
- hiddenlayer/sdk/rest/models/pagination_v3.py,sha256=keqvHfZx7EDjnx17xhkpnTiixuGcpdBr-nxZOaHnwGc,2674
68
- hiddenlayer/sdk/rest/models/physical_location.py,sha256=hpp44FhxV4qA8kyYtfE031NaRL6_jkhvTCRqRujPeG8,3026
69
- hiddenlayer/sdk/rest/models/problem_details.py,sha256=Fg5cat93kGl8NDzHDuPyKym4PjUsTNjfpSL9f3JlRIk,3603
70
- hiddenlayer/sdk/rest/models/property_bag.py,sha256=wqRc-2BICBHqfhOKoDoOJRoON4Yds5ds0082nETPt-c,3231
71
- hiddenlayer/sdk/rest/models/rectangle.py,sha256=4ORTERgWocPbTfEqc9wq__ZCWduQC13bsApCPMUuf3E,4253
72
- hiddenlayer/sdk/rest/models/region.py,sha256=4Wh9nUVs-Yn4J05N3KijKVrvZDnLbnMdm8lnKwQ8NcQ,6141
73
- hiddenlayer/sdk/rest/models/replacement.py,sha256=ehO_MfSyJvnYN8vTM3467wN6v4DrIqSSvs6n9ktUHAI,3730
74
- hiddenlayer/sdk/rest/models/reporting_configuration.py,sha256=anwMHUlwtjMfpzQXDVsGHeX7j7fJ9LKIp_C5NVWLFxk,4376
75
- hiddenlayer/sdk/rest/models/reporting_descriptor.py,sha256=ZCjKD1xoIm5Oqchv_2pGf13hs_U2R-FqwpaIv_hI89w,9089
76
- hiddenlayer/sdk/rest/models/reporting_descriptor_reference.py,sha256=DIrTWeAIR6-jY1eq3JcRp_vpahuwAhBQhJcdDRcD7RI,3780
77
- hiddenlayer/sdk/rest/models/reporting_descriptor_relationship.py,sha256=fyhH4ckEu1v5-qRwFFNuRzMhD5-gI2PbQn3tHXPHl8U,4482
78
- hiddenlayer/sdk/rest/models/result.py,sha256=WdZRc3rKgmV0Z2q-ULRdTaMm8jSLlFJGg6cDYcqlxdI,18490
79
- hiddenlayer/sdk/rest/models/result_provenance.py,sha256=lXxE2T_qCZkg2J5_Mo78t5_Dh7jJiKawIElyQEZEdrg,6719
80
- hiddenlayer/sdk/rest/models/rule_details_inner.py,sha256=8_XCf15TRvPf3POx6mFtn8CEwHSGnfsJYjrsaR8Ekjw,3237
81
- hiddenlayer/sdk/rest/models/run.py,sha256=iGMwltCywNY3RG_owlY1-ElPydICS86MYi3p0VIOQeU,20561
82
- hiddenlayer/sdk/rest/models/run_automation_details.py,sha256=08Tz8MMIBVRby_spJjfEXPxEEnY-fx-vwqE9OiTI6R0,5312
83
- hiddenlayer/sdk/rest/models/sarif210.py,sha256=mQB87cPuDXYSi7ehBscTNhKNzZ1giy7Hv2D94_2xw9Y,4977
84
- hiddenlayer/sdk/rest/models/scan_create_request.py,sha256=s8xEol9DIH1MpTklL6fjWtgL3ZN487gy75bLjyHC38s,2413
85
- hiddenlayer/sdk/rest/models/scan_detection_v3.py,sha256=sk65pt5rkvxOBgs5OZ090fZI-GNTY_SdHyibi4bSZ5Y,6426
86
- hiddenlayer/sdk/rest/models/scan_detection_v31.py,sha256=tTNRlggUmL-cY4ZRiC-2au6xwEbUqZlbjxSukY72nG0,6484
87
- hiddenlayer/sdk/rest/models/scan_header_v3.py,sha256=sgpiAE6NflJtLJhfUA4NmveUCHTPQN2JSsk7cEBMjVQ,5035
88
- hiddenlayer/sdk/rest/models/scan_job.py,sha256=IADBv0WCXCZ8m2rUJ8Do7IPSc3aczICCdkLnz2g8FXs,3970
89
- hiddenlayer/sdk/rest/models/scan_job_access.py,sha256=Q9SWDj7u9ec5H03zlzPUeO_si1rxS_c7iL_YPc-FDxo,2956
90
- hiddenlayer/sdk/rest/models/scan_model_details_v3.py,sha256=FD0-CkMv--IU8lzXZMbjqUV3u6smTIZ4wNyT6h5mFt8,3490
91
- hiddenlayer/sdk/rest/models/scan_model_details_v31.py,sha256=QJMMKs3LRote3ufX2DBjo2OGqLpPiHH7UGZ1o0eO3hM,3433
92
- hiddenlayer/sdk/rest/models/scan_model_ids_v3.py,sha256=MzU_KNr5CXylDbakDOLv7qGz4naAJ2_56cuW9MATJpw,2639
93
- hiddenlayer/sdk/rest/models/scan_report_v3.py,sha256=n9oi5wXwdBNIKdPzg1-2wEOSilDARHalTMjTF6THtfg,5658
94
- hiddenlayer/sdk/rest/models/scan_results_map_v3.py,sha256=BQowU2WqGi0wlNqr9Oi3n_F-NEbfA4aPA-2QfdENwGQ,3363
95
- hiddenlayer/sdk/rest/models/scan_results_v3.py,sha256=H6X2Lk7cFnEHk9yHmLmOelrbsJGakYEJZo4WZZvYOBM,4145
96
- hiddenlayer/sdk/rest/models/security_posture.py,sha256=lxLbZVOq-uZbQDp9TWNRSsXA9vyiHuTFJmZjPxDPpm8,2577
97
- hiddenlayer/sdk/rest/models/sensor.py,sha256=b8PeGrXEQEX4vfqJ_98OZhV_z4lr8P8Sa8wXFkq_J-A,2952
98
- hiddenlayer/sdk/rest/models/sensor_query_response.py,sha256=BxKVceaZ5FPI72-nKotZ5kbDlqiyK10Dd1aWaenrVF0,3129
99
- hiddenlayer/sdk/rest/models/sensor_sor_model_card_query_response.py,sha256=zpKEv1wQ9h1zth2tz9mPP5TBEhujWNgBZj8RRjQVI9Q,3261
100
- hiddenlayer/sdk/rest/models/sensor_sor_model_card_response.py,sha256=NAiMOn7Nc2Pj_vZivviMpB695Km5IzlheJfWf-M1kDg,4652
101
- hiddenlayer/sdk/rest/models/sensor_sor_query_filter.py,sha256=eILsf7mVANuNtSrRNK09tIyUHmb5Edpm1GXc3w8NB4Y,3364
102
- hiddenlayer/sdk/rest/models/sensor_sor_query_request.py,sha256=1xiC_8H0v_00BSEQ20qvwmGXbSRAdwewc3ngk7JP3yE,3698
103
- hiddenlayer/sdk/rest/models/special_locations.py,sha256=sGpRQ44LM7ENf-WUFdhokimQjBZeW3nZ1h2MFxoX0YE,3280
104
- hiddenlayer/sdk/rest/models/stack.py,sha256=M2PRyp_qLgArSv9DjoWX9UIq7mBdyKLKC05d1mbOYq0,4080
105
- hiddenlayer/sdk/rest/models/stack_frame.py,sha256=NjUeUCFrRrbsWmRi4mhtHMhfar-DI28imcw3VsDnjAA,3796
106
- hiddenlayer/sdk/rest/models/submission_response.py,sha256=jAv76MjSbNY8Auf1zHg6z52svZGGLJBIiKkOyxhiowE,2773
107
- hiddenlayer/sdk/rest/models/submission_v2.py,sha256=ESpmra9LBSfnrxe6WAzJOAyXQ9jdiJiORqpLUzWEaPI,3762
108
- hiddenlayer/sdk/rest/models/suppression.py,sha256=xhVHdL0Lw9FlezSIhmQBd-_4S_h882NXXoaxtCHhrdg,5068
109
- hiddenlayer/sdk/rest/models/thread_flow.py,sha256=Ynh6cj7wVgS0li5OfXrsGtFMFyNlf4mmAFEMJAJVkx0,6295
110
- hiddenlayer/sdk/rest/models/thread_flow_location.py,sha256=R6URiX-Jaq7EMFZfplg62_jAb_fRtxHV0hJrT9hvIaI,8944
111
- hiddenlayer/sdk/rest/models/tool.py,sha256=UR565U8qjmZHn19U0C-YzS5uTnKIXnUC9P73st26an8,3808
112
- hiddenlayer/sdk/rest/models/tool_component.py,sha256=KmDudGHNhuYJQhSf3d5LxX_fs5MlddB2gRtr8Re7c0c,16615
113
- hiddenlayer/sdk/rest/models/tool_component_reference.py,sha256=rkL4CpeSdipbPHrEr55w3OOD7yqKYdHqalbH5Vgn7-o,3998
114
- hiddenlayer/sdk/rest/models/translation_metadata.py,sha256=N-Fnn6dnNz5mYNFTcZ2SdXPbdjWhc5fwg7ZsI4jn84k,4688
115
- hiddenlayer/sdk/rest/models/validation_error_model.py,sha256=Oo0-orLKASZNcZI5dmF8dbZSMx3d_wd9mCIoy9kT19s,2981
116
- hiddenlayer/sdk/rest/models/version_control_details.py,sha256=YbL1llKUgblj_fdQeU73D4FE9gBJdztl4rV7H-uSjh8,4445
117
- hiddenlayer/sdk/rest/models/web_request.py,sha256=u9pmXP-NPDBKcW3ivNDa1I0i0vxQkipABIvmTYPZCV0,4492
118
- hiddenlayer/sdk/rest/models/web_response.py,sha256=gSKHygOE25yvLKMk__Aga90cHfpFxWvmib1SwWGFTik,4704
119
- hiddenlayer/sdk/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
120
- hiddenlayer/sdk/services/aidr_predictive.py,sha256=S2MvN5qPyYhYXbYM3lvDmylhY71p4d07L36m-a1ZMyM,4773
121
- hiddenlayer/sdk/services/model_scan.py,sha256=hJzvt8EjpJ4EKPnde_Mql-X8T32itIE2qUITSma6d3o,18988
122
- hiddenlayer_sdk-2.0.10.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
123
- hiddenlayer_sdk-2.0.10.dist-info/METADATA,sha256=I-0WsMT3esstIudfXcC6KSd7KDpBOtteLCmb-KSxLyE,18154
124
- hiddenlayer_sdk-2.0.10.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
125
- hiddenlayer_sdk-2.0.10.dist-info/top_level.txt,sha256=8BxcmGvEN1RqsMvTWg9Q0vDmtBGcTmatnme6nzyPj2U,12
126
- hiddenlayer_sdk-2.0.10.dist-info/RECORD,,
@@ -1 +0,0 @@
1
- hiddenlayer
File without changes