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.6.1.tar.gz (33.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.6.1-py3-none-any.whl (33.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aas_http_client-0.6.1.tar.gz
  • Upload date:
  • Size: 33.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.6.1.tar.gz
Algorithm Hash digest
SHA256 1a07fcbf0810582e7a13a8ca85a935afaa2ca6f80f3a470f352627847eb6efb1
MD5 cc723f5714ebcca1dab74603602ec799
BLAKE2b-256 c4283e37e4a8fb219c55012e2792bcec96c4a5b3ebf054617882ac5b54d63bbb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aas_http_client-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1816502bd73c36c2702f47b7ef46e0a0f7a955c34c900f23dfb04b1042d9ad86
MD5 833b0fc381970f003064b8e415a1ca32
BLAKE2b-256 66976ab294373fd5f009f61d51ae972dbe19455bce0af9d16d02275bc93e8279

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