Skip to main content

PyICe

PyICe is a comprehensive Python framework designed specifically for lab automation. It can interact with most lab instruments, treating each aspect of a given instrument as an individual “channel”. The channel model reduces even the most complex instruments to a collection of scalars that can be monitored and controlled by test scripts, a graphical user interface, or logged into an SQLite database or Excel worksheet.

A second distinct aspect of the project is used to interact with internal IC memory in the same way as other test equipment channels so that the DUT memory and outside electrical conditions can be monitored, controlled, and logged synchronously. This part of the project also includes numerous utilites to generate both publicly distributable libraries and documentation, and private IC synthesis and test files, all from a single common XML-based register map description. Register maps can be imported from proprietary XML, Yoda JSON, or industry-standard IP-XACT (IEEE 1685-2014 / SPIRIT 1685-2009) files via twi_instrument.populate_from_ipxact() and spiInstrument.from_ipxact().

IP-XACT Register Map Import

PyICe can import register maps directly from IP-XACT XML files (IEEE 1685-2014 / SPIRIT 1685-2009).

Command-line conversion (no Python required):

python -m PyICe.ipxact_parser my_device.xml -o my_device_regmap.json

Python — direct import (skip JSON):

from PyICe.twi_instrument import twi_instrument

inst = twi_instrument(interface)
inst.populate_from_ipxact("my_device.xml", addr7=0x50)

Python — convert to JSON first, then import:

from PyICe.ipxact_parser import ipxact_to_pyice_json

ipxact_to_pyice_json("my_device.xml", output_file="my_device_regmap.json")

See python -m PyICe.ipxact_parser --help for all CLI options, or help(PyICe.ipxact_parser) for the full module walkthrough.

For more detailed documentation, please go here

PyICe contributors, please go here for install instructions

PyICe user install instructions

To install PyICe from PyPI, run the command:

pip install pyice-adi

Download files

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

Source Distribution

pyice_adi-0.0.10.tar.gz (14.3 MB view details)

Uploaded Source

Built Distribution

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

pyice_adi-0.0.10-py3-none-any.whl (14.7 MB view details)

Uploaded Python 3

File details

Details for the file pyice_adi-0.0.10.tar.gz.

File metadata

  • Download URL: pyice_adi-0.0.10.tar.gz
  • Upload date:
  • Size: 14.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for pyice_adi-0.0.10.tar.gz
Algorithm Hash digest
SHA256 992c6145900e9d49369146949b36bd8056cd28817982ab52405396d9964d58fd
MD5 9a598c9f4b103dcd9940e6b2aac15055
BLAKE2b-256 d6b4de16bcacf9b7c7f57fcb7fdf049fdad8a151ad0e33a7abbee4b51638c816

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyice_adi-0.0.10.tar.gz:

Publisher: python-publish.yml on PyICe-ADI/PyICe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyice_adi-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: pyice_adi-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 14.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for pyice_adi-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 02632977fc6c846e8335eea69fbe4f6943a2af004d7c513d705ef4939ae247a3
MD5 a64d15e68a575b359d5ca744dff816c8
BLAKE2b-256 f0ab9d71cd3ae4d5d0dffff2c1034d329c731ab12039526158ddcd8edd11b977

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyice_adi-0.0.10-py3-none-any.whl:

Publisher: python-publish.yml on PyICe-ADI/PyICe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.0.10 This release

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page