Skip to main content

Generic python HTTP client for communication with various types of AAS servers

Project description

AAS HTTP Client

aas_http_client

License: em CI PyPI version

This is a generic HTTP client that can communicate with various types of AAS and submodel repository servers. It uses Python dictionaries for input and output parameters of functions. It supports the most common endpoints for the specified AAS server endpoint. The client is compatible with various types of AAS repository server. The client should be compatible with various types of AAS repository server.

Tested servers include:

The behavior may vary depending on the details of the implementation and compliance with the AAS specification. It also depends on which endpoints are provided by the server.

Additionally, wrappers are provided that work with various AAS frameworks and use the HTTP client as middleware. These wrappers use the SDK-specific data model classes for function input and output parameters. Wrappers are currently available for the following frameworks:

Links

🚀 Getting Started

🛠️ Configuration

🤖 Releases

📝 Changelog

📦 Pypi Packages

📜 em AG Software License

⚡ Quickstart

For a detailed introduction, please read Getting Started.

pip install aas-http-client

Client

from aas_http_client import create_client_by_url

client = create_client_by_url(
    base_url="http://myaasserver:5043/"
)

print(client.shell.get_shells())

BaSyx Python SDK Wrapper

from aas_http_client.wrapper.sdk_wrapper import create_wrapper_by_url

wrapper = create_wrapper_by_url(
    base_url="http://myaasserver:5043/"
)

print(wrapper.get_shells())

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aas_http_client-0.5.6.tar.gz (31.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aas_http_client-0.5.6-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

Details for the file aas_http_client-0.5.6.tar.gz.

File metadata

  • Download URL: aas_http_client-0.5.6.tar.gz
  • Upload date:
  • Size: 31.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for aas_http_client-0.5.6.tar.gz
Algorithm Hash digest
SHA256 29a37b4f6c72befb958930fb87136c59db19d43ef0fc1fb0dc28c5e6f2660622
MD5 ef58f466b9269f2b90324a8db068d8c9
BLAKE2b-256 378fc52abb96b72f3fa7ccc20a586b0f2434c455f05617ac33b20bb9fdea46d1

See more details on using hashes here.

File details

Details for the file aas_http_client-0.5.6-py3-none-any.whl.

File metadata

File hashes

Hashes for aas_http_client-0.5.6-py3-none-any.whl
Algorithm Hash digest
SHA256 908a3d8862e19f33cd616bdd1d65ce4760d2069f8c2bf5814f5812abff0a582d
MD5 5df49d32818cc8d86063d9861140e38d
BLAKE2b-256 42dfec910ef69305f1c514247aedee6f6f3030177a5602e105a9dc0bd85d4632

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page