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 Distribution

andisdk-1.8.4.tar.gz (65.0 MB view details)

Uploaded Source

Built Distribution

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

andisdk-1.8.4-py3-none-any.whl (65.7 MB view details)

Uploaded Python 3

File details

Details for the file andisdk-1.8.4.tar.gz.

File metadata

  • Download URL: andisdk-1.8.4.tar.gz
  • Upload date:
  • Size: 65.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for andisdk-1.8.4.tar.gz
Algorithm Hash digest
SHA256 c782cba832cd83a68ec3f8f761edc3d348d00812a17f98ec9ccfef837f93953b
MD5 f6f31a505e211c0809cf9a57ed05cb1d
BLAKE2b-256 35a12bbcb89e9053bc320f8bbea1921f3abbab55d2f90f68965fc8c37d3ce37b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: andisdk-1.8.4-py3-none-any.whl
  • Upload date:
  • Size: 65.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for andisdk-1.8.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2960ca36bb85bdd3e51a50dd2b4ded9a0445ef40a12821af54d96dbd74e94fd7
MD5 377a4f9eb2953462b868d9fd69e6d22d
BLAKE2b-256 2a6d0454eb82cbfcb5eacca621adc21a246afbb4a1621916bdf20714ff385d8f

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