Skip to main content

Python SDK for Ikalogic AT1000 devices

Project description

ikalogic-at1000

Official Python SDK for the Ikalogic AT1000 Series Test Sequencers.

This package provides a high-level API to control and automate the Ikalogic AT1000, a test sequencer designed for functional testing of electronic devices, PCBs, and complex systems. It ships both a synchronous client (ikalogic_at1000) and an asynchronous client (ikalogic_at1000.aio).

Key Features

  • 32 Programmable I/Os: Handle analog and digital signals within a ±25V range.
  • 8 Dry Contact Relays: Control external circuits, with one relay equipped for high-precision current measurement.
  • Programmable Power Supply: Delivers 0 to 24V at up to 2A with precise current monitoring.
  • Dual USB 3.0 Ports: Feature power cycling (on/off control) and current measurement for testing USB devices.
  • Communication Interfaces: Includes Ethernet, RS232, RS485, CAN, SPI, I2C, and UART.
  • Human-Machine Interface (HMI): Onboard screen, rotary knob, and speaker for standalone operation and feedback.

Installation

pip install ikalogic-at1000

Or, with uv:

uv add ikalogic-at1000

Requires Python 3.10 or newer.

Quick Start

Discover devices on the local network, then open one to take control:

from ikalogic_at1000 import AT1000

# Discover AT1000 devices over mDNS (returns host strings)
for host in AT1000.find_devices():
    print(host)

# Open a device by host string (hostname or IP). open() acquires exclusive
# access; if another opener takes over, this client's mutating calls raise
# AccessRevokedError until it opens again.
device = AT1000.open("at1000.local")
print(device.info.model, device.info.serial_number)

device.reset()
device.close()

Pass readonly=True to observe a device without taking control (no session is opened and no calls are gated).

Standalone vs remote

Inside an AT1000 project container the device resolves its own address without mDNS. Use AT1000.is_standalone() to branch:

from ikalogic_at1000 import AT1000

if AT1000.is_standalone():
    device_address = AT1000.find_local_device()
else:
    devices = AT1000.find_devices()
    device_address = devices[0] if devices else None

if not device_address:
    raise SystemExit("No devices found")

device = AT1000.open(device_address)

Asynchronous Usage

The same API is available as coroutines under ikalogic_at1000.aio:

import asyncio

from ikalogic_at1000.aio import AT1000


async def main():
    device = await AT1000.open("at1000.local")
    print(device.info.model, device.info.serial_number)

    await device.reset()
    await device.aclose()


asyncio.run(main())

Real-time Events

Subscribe to live device state changes over a WebSocket. Connect, then register callbacks per event type (or "*" for all events):

from ikalogic_at1000 import AT1000

device = AT1000.open("at1000.local", readonly=True)
device.events.connect()


def on_gpio(event):
    print(event.type, event.data)


unsubscribe = device.events.subscribe("gpio.state", on_gpio)

# later
unsubscribe()
device.close()

Documentation

Full API documentation is available at https://ikalogic.com/kb/at1000-api/at1000_home/.

License

This package is distributed under the MIT License.

Project details


Download files

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

Source Distribution

ikalogic_at1000-0.2.1.tar.gz (38.2 kB view details)

Uploaded Source

Built Distribution

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

ikalogic_at1000-0.2.1-py3-none-any.whl (52.0 kB view details)

Uploaded Python 3

File details

Details for the file ikalogic_at1000-0.2.1.tar.gz.

File metadata

  • Download URL: ikalogic_at1000-0.2.1.tar.gz
  • Upload date:
  • Size: 38.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ikalogic_at1000-0.2.1.tar.gz
Algorithm Hash digest
SHA256 0faac08811e45ecf25322bd948ff0d24025e8d01120be06a8af93fc52dffaf98
MD5 e814e668e77ee755210fe721ff2993cb
BLAKE2b-256 20438d0876a84800a081fce9dabf5d7391ca7f0557cc789aaa57d2485f384f10

See more details on using hashes here.

File details

Details for the file ikalogic_at1000-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: ikalogic_at1000-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 52.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ikalogic_at1000-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 da7e2ea858795bd2de57f7606b466b84ada88b035343a3bd3dc11f8a1f17c05c
MD5 8efa0f72aab940f253076f58168e53ee
BLAKE2b-256 1ab845bf617dbb0b40403194a6363509ef132e7b037113a454a3a2cab90198da

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