aas-http-client 1.3.5__tar.gz → 1.3.7__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 (37) hide show
  1. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/PKG-INFO +3 -3
  2. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/README.md +2 -2
  3. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client/classes/client/implementations/shell_implementation.py +1 -1
  4. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client/utilities/encoder.py +4 -1
  5. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client.egg-info/PKG-INFO +3 -3
  6. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/pyproject.toml +1 -1
  7. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/LICENSE +0 -0
  8. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client/__init__.py +0 -0
  9. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client/classes/Configuration/config_classes.py +0 -0
  10. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client/classes/client/aas_client.py +0 -0
  11. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client/classes/client/implementations/__init__.py +0 -0
  12. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client/classes/client/implementations/authentication.py +0 -0
  13. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client/classes/client/implementations/experimental_implementation.py +0 -0
  14. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client/classes/client/implementations/shell_registry_implementation.py +0 -0
  15. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client/classes/client/implementations/sm_implementation.py +0 -0
  16. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client/classes/client/implementations/sm_registry_implementation.py +0 -0
  17. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client/classes/wrapper/attachment.py +0 -0
  18. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client/classes/wrapper/pagination.py +0 -0
  19. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client/classes/wrapper/sdk_wrapper.py +0 -0
  20. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client/demo/demo_process.py +0 -0
  21. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client/demo/logging_handler.py +0 -0
  22. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client/utilities/__init__.py +0 -0
  23. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client/utilities/constants.py +0 -0
  24. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client/utilities/http_helper.py +0 -0
  25. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client/utilities/model_builder.py +0 -0
  26. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client/utilities/sdk_tools.py +0 -0
  27. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client/utilities/version_check.py +0 -0
  28. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client.egg-info/SOURCES.txt +0 -0
  29. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client.egg-info/dependency_links.txt +0 -0
  30. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client.egg-info/requires.txt +0 -0
  31. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/aas_http_client.egg-info/top_level.txt +0 -0
  32. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/setup.cfg +0 -0
  33. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/tests/test_client.py +0 -0
  34. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/tests/test_client_reg.py +0 -0
  35. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/tests/test_sdk_tools.py +0 -0
  36. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/tests/test_utils.py +0 -0
  37. {aas_http_client-1.3.5 → aas_http_client-1.3.7}/tests/test_wrapper.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aas-http-client
3
- Version: 1.3.5
3
+ Version: 1.3.7
4
4
  Summary: Flexible Python HTTP client for communication with various types of AAS servers.
5
5
  Author-email: Daniel Klein <daniel.klein@em.ag>
6
6
  License: MIT License
@@ -41,7 +41,7 @@ Dynamic: license-file
41
41
  [![License: MIT](https://img.shields.io/badge/license-MIT-%23f8a602?label=License&labelColor=%23992b2e)](https://github.com/fluid40/aas-http-client/blob/dk/doxygen/LICENSE)
42
42
  [![CI](https://github.com/fluid40/aas-http-client/actions/workflows/CI.yml/badge.svg?branch=main&cache-bust=1)](https://github.com/fluid40/aas-http-client/actions)
43
43
 
44
- AAS HTTP Client is a flexible Python library for interacting with Asset Administration Shell (AAS) and submodel repository servers over HTTP. It uses standard Python dictionaries for function inputs and outputs, making it easy to integrate with a variety of workflows. The client implements the most widely used endpoints defined in the [AAS server specification](https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.1.1/specification/interfaces.html), ensuring compatibility with multiple AAS repository server implementations. This allows you to connect to different AAS servers without changing your client code.
44
+ AAS HTTP Client is a flexible Python library for interacting with Asset Administration Shell (AAS) repository and registry servers over HTTP. It uses standard Python dictionaries for function inputs and outputs, making it easy to integrate with a variety of workflows. The client implements the most widely used endpoints defined in the [AAS server specification](https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.1.1/specification/interfaces.html), ensuring compatibility with multiple AAS repository server implementations. This allows you to connect to different AAS servers without changing your client code.
45
45
 
46
46
  **Notes:**
47
47
 
@@ -65,7 +65,7 @@ AAS HTTP Client is a flexible Python library for interacting with Asset Administ
65
65
  ## 🚀 Features
66
66
 
67
67
  * ✅ Easy REST communication with AAS-compliant servers
68
- * ✅ Support for Registry, AAS, and Submodel Repository endpoints
68
+ * ✅ Support for Registry, shell and Submodel Repository endpoints
69
69
  * ✅ Optional wrapper for the Eclipse BaSyx Python SDK
70
70
  * ✅ Built-in authentication (Bearer, OAuth, Basic)
71
71
  * ✅ Pagination support
@@ -4,7 +4,7 @@
4
4
  [![License: MIT](https://img.shields.io/badge/license-MIT-%23f8a602?label=License&labelColor=%23992b2e)](https://github.com/fluid40/aas-http-client/blob/dk/doxygen/LICENSE)
5
5
  [![CI](https://github.com/fluid40/aas-http-client/actions/workflows/CI.yml/badge.svg?branch=main&cache-bust=1)](https://github.com/fluid40/aas-http-client/actions)
6
6
 
7
- AAS HTTP Client is a flexible Python library for interacting with Asset Administration Shell (AAS) and submodel repository servers over HTTP. It uses standard Python dictionaries for function inputs and outputs, making it easy to integrate with a variety of workflows. The client implements the most widely used endpoints defined in the [AAS server specification](https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.1.1/specification/interfaces.html), ensuring compatibility with multiple AAS repository server implementations. This allows you to connect to different AAS servers without changing your client code.
7
+ AAS HTTP Client is a flexible Python library for interacting with Asset Administration Shell (AAS) repository and registry servers over HTTP. It uses standard Python dictionaries for function inputs and outputs, making it easy to integrate with a variety of workflows. The client implements the most widely used endpoints defined in the [AAS server specification](https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.1.1/specification/interfaces.html), ensuring compatibility with multiple AAS repository server implementations. This allows you to connect to different AAS servers without changing your client code.
8
8
 
9
9
  **Notes:**
10
10
 
@@ -28,7 +28,7 @@ AAS HTTP Client is a flexible Python library for interacting with Asset Administ
28
28
  ## 🚀 Features
29
29
 
30
30
  * ✅ Easy REST communication with AAS-compliant servers
31
- * ✅ Support for Registry, AAS, and Submodel Repository endpoints
31
+ * ✅ Support for Registry, shell and Submodel Repository endpoints
32
32
  * ✅ Optional wrapper for the Eclipse BaSyx Python SDK
33
33
  * ✅ Built-in authentication (Bearer, OAuth, Basic)
34
34
  * ✅ Pagination support
@@ -281,7 +281,7 @@ class ShellRepoImplementation(BaseModel):
281
281
 
282
282
  return False
283
283
 
284
- if response.status_code != STATUS_CODE_200:
284
+ if response.status_code not in (STATUS_CODE_200, STATUS_CODE_204):
285
285
  log_response(response)
286
286
  return False
287
287
 
@@ -47,4 +47,7 @@ def is_base_64_encoded(value: str) -> bool:
47
47
  except (binascii.Error, ValueError):
48
48
  return False
49
49
 
50
- return encode_base_64(decoded) == value
50
+ add_padding = value.endswith("=")
51
+ encoded = encode_base_64(decoded, add_padding)
52
+
53
+ return encoded == value
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aas-http-client
3
- Version: 1.3.5
3
+ Version: 1.3.7
4
4
  Summary: Flexible Python HTTP client for communication with various types of AAS servers.
5
5
  Author-email: Daniel Klein <daniel.klein@em.ag>
6
6
  License: MIT License
@@ -41,7 +41,7 @@ Dynamic: license-file
41
41
  [![License: MIT](https://img.shields.io/badge/license-MIT-%23f8a602?label=License&labelColor=%23992b2e)](https://github.com/fluid40/aas-http-client/blob/dk/doxygen/LICENSE)
42
42
  [![CI](https://github.com/fluid40/aas-http-client/actions/workflows/CI.yml/badge.svg?branch=main&cache-bust=1)](https://github.com/fluid40/aas-http-client/actions)
43
43
 
44
- AAS HTTP Client is a flexible Python library for interacting with Asset Administration Shell (AAS) and submodel repository servers over HTTP. It uses standard Python dictionaries for function inputs and outputs, making it easy to integrate with a variety of workflows. The client implements the most widely used endpoints defined in the [AAS server specification](https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.1.1/specification/interfaces.html), ensuring compatibility with multiple AAS repository server implementations. This allows you to connect to different AAS servers without changing your client code.
44
+ AAS HTTP Client is a flexible Python library for interacting with Asset Administration Shell (AAS) repository and registry servers over HTTP. It uses standard Python dictionaries for function inputs and outputs, making it easy to integrate with a variety of workflows. The client implements the most widely used endpoints defined in the [AAS server specification](https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.1.1/specification/interfaces.html), ensuring compatibility with multiple AAS repository server implementations. This allows you to connect to different AAS servers without changing your client code.
45
45
 
46
46
  **Notes:**
47
47
 
@@ -65,7 +65,7 @@ AAS HTTP Client is a flexible Python library for interacting with Asset Administ
65
65
  ## 🚀 Features
66
66
 
67
67
  * ✅ Easy REST communication with AAS-compliant servers
68
- * ✅ Support for Registry, AAS, and Submodel Repository endpoints
68
+ * ✅ Support for Registry, shell and Submodel Repository endpoints
69
69
  * ✅ Optional wrapper for the Eclipse BaSyx Python SDK
70
70
  * ✅ Built-in authentication (Bearer, OAuth, Basic)
71
71
  * ✅ Pagination support
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "aas-http-client"
7
- version = "1.3.5"
7
+ version = "1.3.7"
8
8
  description = "Flexible Python HTTP client for communication with various types of AAS servers."
9
9
  readme = "README.md"
10
10
  license = { file = "LICENSE" }
File without changes