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.9.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.9-py3-none-any.whl (14.7 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyice_adi-0.0.9.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.9.tar.gz
Algorithm Hash digest
SHA256 c6f410db04d6c3e0b732c7e5a40289f2e2d92481243ac523cb998831bdfedba8
MD5 0233d6b70a1ebe60ccfac74ec7877d0e
BLAKE2b-256 c6ba1493583336ebcd3cce1a87e9c54888f85b1c5679d8b89e9e1b4a98716837

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyice_adi-0.0.9.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.9-py3-none-any.whl.

File metadata

  • Download URL: pyice_adi-0.0.9-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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 5cf27c1b8f5f53cfd3035571d17f57103917333ac1d36a13c258cf7c33c638a7
MD5 62bfcbefefd8c76e726439958da89d6d
BLAKE2b-256 7f710f0a55e75567ec6aff3cb853cadd34c93083c274e86bc46528f5c2580880

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyice_adi-0.0.9-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

0.0.10

2 files

This release

0.0.9 This release

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