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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyice_adi-0.0.8.tar.gz.
File metadata
- Download URL: pyice_adi-0.0.8.tar.gz
- Upload date:
- Size: 14.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9711aa51a2f7ca24076caeaa2b088352117075dfa164d9d4cde7f862916e7e79
|
|
| MD5 |
ef225e1f1f4ffb55c0ceb3410a566abb
|
|
| BLAKE2b-256 |
ab5a28c5cc326dd29628225b6bb86ed587571caed38407758fe8e70916b52741
|
File details
Details for the file pyice_adi-0.0.8-py3-none-any.whl.
File metadata
- Download URL: pyice_adi-0.0.8-py3-none-any.whl
- Upload date:
- Size: 14.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20d8e4f299e443f0024e9049a06fe08a5ce4df173f8f6b0533cb98d937caebdc
|
|
| MD5 |
ce4194a4be302147f6ee0756cf240b51
|
|
| BLAKE2b-256 |
c238cc231dce4b2be0c979ea6ea804f0371cdefe1281df127baf5d3a52c4aaa0
|