Skip to main content

ANDi python package to interact with ANDi scripting features from stand alone python package

Project description

# ANDi Python Package

This is to support using ANDi scripting environment via pip.

## Content

  • ANDi message builder

  • ANDi andi library

## How to use

### install package from repository

  • cd into this directory

  • run pip install . –trusted-host nexus.technica-engineering.net

### install package from nexus

  • once the package is published, add nexus to list of pip sources

  • run pip install andisdk

### usage

first we need to import the sdk, the sdk offers a load_project method that loads an atp project and returns a scope containing the message_builder, the andi object and the channels.

  • import either by import andisdk or from andisdk import load_project

  • create scope object scope = andisdk.loadproject(path_to_atp) or scope = loadproject(path_to_atp)

  • from the scope do any manipulation you need for example scope.message_builder.create_ethernet_message()

#### Note

channels are also added to scope, and are accessible via scope.channel_name

Project details


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

andisdk-0.0.22-py3-none-any.whl (58.9 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page