pytrustplatform is a collection of utilities for interacting with Microchip Trust Platform and Microchip CryptoAuthentication™ devices
Install using pip from pypi.org:
pip install pytrustplatform
Browse source code on github
Read API documentation on github
Read the changelog on github
pytrustplatform can be used as a command-line interface or a library
To get top level help
pytrust --help
To get help on specific command (in this example the certificate
command)
pytrust certificate --help
To get the pytrustplatform version
pytrust --version
For more CLI usage examples see pypi.md
To use pytrustplatform as a package it can be imported as:
import pytrustplatform
To get help on the package as library:
import pytrustplatform
help(pytrustplatform)
This package uses pyedbglib and other libraries for USB transport and some udev rules are required.
For details see the pyedbglib package: https://pypi.org/project/pyedbglib