Infineon / python-optiga-trust

An example Python host library for OPTIGA™ Trust M

Home Page:https://infineon.github.io/python-optiga-trust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Infineon logo

PyPI License Python version

Infineon OPTIGA™ Trust M Host Library for Python

A ctypes based Python wrapper for the OPTIGA™ Trust M Host Library for C.

Features

This Python module is a wrapper for the OPTIGA™ Trust M Host Library for C and allows the communication with OPTIGA™ Trust M devices.

Please see the OPTIGA™ Trust M overview repository for more information on our OPTIGA™ Trust M product family.

Required hardware

Installation from pip

To install this Python module from pip, run the following command

$ python -m pip install optigatrust

Building from sources

Building the OPTIGA™ Trust Host Library for C as library

Please follow the steps in extras/optiga-trust-m/README.md for building the OPTIGA™ Trust Host Library for C as library.

Installing the optigatrust Python module from source

Please follow the steps in INSTALL.md for installing the optigatrust Python module from source.

Project structure

python-optiga-trust
├── docs
├── examples
├── extras
│   └── optiga-trust-m
├── src
│   └── optigatrust
└── tests
Folder Content
docs GitHub.io documentation
examples Example Python scripts
extras/optiga-trust-m OPTIGA™ Trust Host Library for C as submodule
src/optigatrust Python module optigatrust
tests Tests for the Python module optigatrust

Licensing

Please see our LICENSE for copyright and license information.

This project follows the REUSE approach, so copyright and licensing information is available for every file (including third party components) either in the file header, an individual *.license file or the .reuse/dep5 file. All licenses can be found in the LICENSES folder.

About

An example Python host library for OPTIGA™ Trust M

https://infineon.github.io/python-optiga-trust

License:MIT License


Languages

Language:Python 82.0%Language:C 15.1%Language:CMake 2.6%Language:Batchfile 0.3%