glacis 0.1.1__tar.gz → 0.1.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: glacis
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: GLACIS SDK for Python - AI Compliance Attestation
5
5
  Project-URL: Homepage, https://glacis.io
6
6
  Project-URL: Documentation, https://docs.glacis.io/sdk/python
@@ -520,3 +520,14 @@ def sign_offline_attestation(
520
520
 
521
521
  result: dict[str, Any] = json.loads(signed_json)
522
522
  return result
523
+
524
+
525
+ def get_runtime() -> str:
526
+ """
527
+ Get the current runtime type name.
528
+
529
+ Returns:
530
+ String identifying the runtime: "WasmRuntime" or "PyNaClRuntime"
531
+ """
532
+ runtime = WasmRuntime.get_instance()
533
+ return type(runtime).__name__
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "glacis"
3
- version = "0.1.1"
3
+ version = "0.1.2"
4
4
  description = "GLACIS SDK for Python - AI Compliance Attestation"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.9"
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