Skip to main content

ANDi SDK is a package to support powerful ANDi scripting API from python environment providing powerful Ethernet and automotive testing development kit.

Calling andisdk from Python

ANDi SDK allows the creation and handling of Ethernet based messages or channels, this can be done with or without an ANDi test project

# creating a message using a project
from andisdk import load_project
api = load_project(path_to_atp)
eth_msg = api.message_builder.create_ethernet_message()
# creating a message without a project
from andisdk import message_builder
msg = message_builder.create_ethernet_message()

Requirements to run ANDi SDK

ANDi SDK is portable, it can be used on both Windows and Linux machines.

Before running ANDi SDK, the following requirements need to be met:

  • .NET 5 runtime: responsible for running ANDi library files (dlls).

  • CodeMeter: responsible for license handling.

  • Npcap or Winpcap(Windows): responsible for hardware interfaces.

  • Libpcap (Linux): responsible for hardware interfaces.

Example

# this example will create and send an udp message
from andisdk import message_builder, andi
import sys

adapters = andi.get_adapters()

if (len(adapters) <= 0):
    print("No adapters found, stopping script")
    sys.exit()

adapter = adapters[0]
print("using adapter " + adapter.id + " to send udp message")
channel = andi.create_channel("Ethernet")
message = message_builder.create_udp_message(channel, channel)

message.payload = tuple([0x01, 0x02, 0x03, 0x04])
message.udp_header.port_source = 1234

print("sending udp message with payload " + str([x for x in message.payload]))
message.send()

Copyrights and licensing

This product is the property of Technica Engineering GmbH. © Copyright 2022, Technica Engineering GmbH

This product will not function without a proper license. A proper license can be acquired by contacting Technica Engineering GmbH. For license related inquiries, this email: support@technica-engineering.de is available from Technica Engineering.

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

andisdk-0.0.27-py3-none-any.whl (70.6 MB view details)

Uploaded Python 3

File details

Details for the file andisdk-0.0.27-py3-none-any.whl.

File metadata

  • Download URL: andisdk-0.0.27-py3-none-any.whl
  • Upload date:
  • Size: 70.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.63.0 importlib-metadata/4.5.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.4

File hashes

Hashes for andisdk-0.0.27-py3-none-any.whl
Algorithm Hash digest
SHA256 9b8b043ee29cda615770dfae442273cf46737d472f29d4b2607242b564a73ddd
MD5 6c522319abef07a4615b5d31bc10222d
BLAKE2b-256 963baa7c2b156186967773e39533091298ea9205b9d7fdad049d07b22a488c86

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