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

Uploaded Python 3

File details

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

File metadata

  • Download URL: aas_http_client-0.5.7.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.7.tar.gz
Algorithm Hash digest
SHA256 c525dff055b92c1674aee7e13d9c94fd81dc172f94563dbf57584fed2057be56
MD5 138d697541512bc012fec22e18497791
BLAKE2b-256 b9130badd69817b469c82b2cbfa4fe1fc2aec90016c0ddcbc2b8973aa2fc96bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aas_http_client-0.5.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f250ca6049db723fb650cce318f0ef678e72c0d4ed53cc22339276355a3dc659
MD5 9b0ca2e6f9bac40d146307ef7b8dda2f
BLAKE2b-256 e310744b85471c0e591e3470ec10ac7ca65beb12522835216e42372da5cae0f5

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