Skip to content

Latest commit

 

History

History
51 lines (40 loc) · 1.43 KB

README.md

File metadata and controls

51 lines (40 loc) · 1.43 KB

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