How fluid40/aas-http-client works
AAS HTTP Client is a Python library for interacting with one AAS server per client instance. The main workflow is application code creating a client, then using its endpoint implementations to make REST requests and receive dictionary results. An optional BaSyx SDK wrapper converts between dictionaries and SDK objects; utilities provide model construction, encoding, and SDK-object operations. The README documents Registry, AAS, Submodel Repository, authentication, and wrapper capabilities. Some endpoint implementation details were not sampled, so their HTTP links are documented rather than inferred from sibling modules.
Main entry points: aas_client.py Client setup · sdk_wrapper.py BaSyx wrapper · sm_implementation.py Submodel operations · sdk_tools.py SDK tools
Components 18
Client and auth
- Client setup
aas_http_client/classes/client/aas_client.py - Auth settings
aas_http_client/classes/Configuration/config_classes.py - Authentication
aas_http_client/classes/client/implementations/authentication.py
REST endpoints
- AAS operations
aas_http_client/classes/client/implementations/shell_implementation.py - Submodel operations
aas_http_client/classes/client/implementations/sm_implementation.py - AAS registry
aas_http_client/classes/client/implementations/shell_registry_implementation.py - Submodel registry
aas_http_client/classes/client/implementations/sm_registry_implementation.py - Experimental API
aas_http_client/classes/client/implementations/experimental_implementation.py
SDK wrapper
- BaSyx wrapper
aas_http_client/classes/wrapper/sdk_wrapper.py - Attachment handling
aas_http_client/classes/wrapper/attachment.py - SDK pagination
aas_http_client/classes/wrapper/pagination.py
Utilities
- Base64 encoding
aas_http_client/utilities/encoder.py - HTTP errors
aas_http_client/utilities/http_helper.py - Model builder
aas_http_client/utilities/model_builder.py - SDK tools
aas_http_client/utilities/sdk_tools.py - Update check
aas_http_client/utilities/version_check.py
Other components
- Application
- AAS server
Connections 27
- Application → Client setup: creates client
README.md - Client setup → Auth settings: uses settings
aas_http_client/classes/client/aas_client.py - Client setup → Authentication: gets tokens
aas_http_client/classes/client/aas_client.py - Client setup → AAS operations: initializes endpoints
aas_http_client/classes/client/aas_client.py - Client setup → Submodel operations: initializes endpoints
aas_http_client/classes/client/aas_client.py - Client setup → AAS registry: initializes endpoints
aas_http_client/classes/client/aas_client.py - Client setup → Submodel registry: initializes endpoints
aas_http_client/classes/client/aas_client.py - Client setup → Experimental API: initializes endpoints
aas_http_client/classes/client/aas_client.py - AAS operations → AAS server: sends REST requests
aas_http_client/classes/client/implementations/shell_implementation.py - Submodel operations → AAS server: sends REST requests
aas_http_client/classes/client/implementations/sm_implementation.py - AAS registry → AAS server: uses REST endpoints
README.md - Submodel registry → AAS server: uses REST endpoints
README.md - Experimental API → AAS server: uses REST endpoints
README.md - Application → BaSyx wrapper: uses optionally
README.md - BaSyx wrapper → Client setup: delegates operations
aas_http_client/classes/wrapper/sdk_wrapper.py - BaSyx wrapper → Attachment handling: uses handling
aas_http_client/classes/wrapper/sdk_wrapper.py - BaSyx wrapper → SDK pagination: uses pagination
aas_http_client/classes/wrapper/sdk_wrapper.py - SDK pagination → SDK tools: converts objects
aas_http_client/classes/wrapper/pagination.py - BaSyx wrapper → SDK tools: converts objects
aas_http_client/classes/wrapper/sdk_wrapper.py - Application → Base64 encoding: uses utility
README.md - Application → Model builder: builds models
README.md - Application → SDK tools: uses utility
README.md - AAS operations → Base64 encoding: encodes identifiers
aas_http_client/classes/client/implementations/shell_implementation.py - Submodel operations → Base64 encoding: encodes identifiers
aas_http_client/classes/client/implementations/sm_implementation.py - Submodel operations → HTTP errors: logs errors
aas_http_client/classes/client/implementations/sm_implementation.py - Model builder → SDK tools: uses tools
aas_http_client/utilities/model_builder.py - Application → Update check: package import