pytrustplatform

A collection of utilities for interacting with Microchip Trust Platform and Microchip CryptoAuthentication™ devices


Keywords
Microchip, AVR-IOT, PIC-IOT, cryptoauthlib
License
MIT
Install
pip install pytrustplatform==0.0.0.2

Documentation

MCHP

pytrustplatform

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

Usage

pytrustplatform can be used as a command-line interface or a library

Using the pytrust CLI

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

Using pytrustplatform as a library package

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)

Notes for Linux® systems

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