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.8.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.8-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aas_http_client-0.5.8.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.8.tar.gz
Algorithm Hash digest
SHA256 002cf81efa7efc061e59ee2c0c1ca9c22e2750cc27ef1f31237693b586686409
MD5 40de4842210761de27dfb2572f1673e7
BLAKE2b-256 d1fbe39d472fc302558cc301ee04071591685ec8183e0c4327d76d1a5b192d4d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aas_http_client-0.5.8-py3-none-any.whl
Algorithm Hash digest
SHA256 26a9c07fe1a99189511552242480bbc18ba45d61e9429c1d370b470a48cc22cc
MD5 2b8473b669daae41f0a161d0acbcd632
BLAKE2b-256 d6b9a86a4cddf0860a8665351685e233d80da13fd47ec90a4c22b82f32ad059b

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