Easyi3C provides Python APIs. Users can use Python scripts to program and control Easyi3C to access the slave device in I2C or I3C protocol.
To use Easyi3C API, the user must install Python first. Easyi3C supports from Python3.7 to Python3.13.
Easyi3C API is provided as a python wheel package. The name is:
ezi3c-1.0.0-py3-none-any.whl |
After Python is installed to user computer, run the following command to install the Easyi3C API package:
python –m pip install ezi3c-1.0.0-py3-none-any.whl |
The command above is also used to upgrade a new version API package.
To uninstall the package, run:
python –m pip uninstall ezi3c-1.0.0-py3-none-any.whl |
For Python library upgrade, just copy the library files and run follow command to replace the old files.
python –m pip install --upgrade ezi3c-1.0.0-py3-none-any.whl |
The Easyi3C API is provided as a python package. After API package is installed success, the user can import Easyi3C functions from it by:
from ezi3c.api import * |