A ctypes based Python wrapper for the OPTIGA™ Trust M Host Library for C
Project description
Infineon OPTIGA™ Trust M Host Library for Python
A ctypes based Python wrapper for the OPTIGA™ Trust M Host Library for C.
The source code of this Python package is available in the OPTIGA™ Trust M Host Library for Python GitHub repository.
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.
Installation
$ python -m pip install optigatrust
libusb: Allow access to USB device (USB-to-UART-interface)
If you want to use the optigatrust
Python package with libusb and a USB-to-UART-interface from user space, the access has to be permitted with a udev rule.
Automatic installation of the udev rule (root permission needed)
When the package installation is performed with root permissions, it will install the udev rule for the OPTIGA™ Trust M Perso2Go board automatically.
$ sudo python -m pip install optigatrust
Manual installation of the udev rule
For manually installing the udev rule, please consult the README.md in our OPTIGA™ Trust M Host Library for Python GitHub repository.
Documentation
The documentation of this Python module can be found here:
OPTIGA™ Trust M product information
Please find more information about the OPTIGA™ Trust M product family on the OPTIGA™ Trust M Overview Repository.
Source code and examples
Please find the source code and examples for this Python module on the OPTIGA™ Trust M Host Library for Python GitHub repository.
Licensing
This project is published under the MIT license and with copyright of Infineon Technologies AG. For more details, see the OPTIGA™ Trust M Host Library for Python GitHub repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file optigatrust-1.5.1.tar.gz
.
File metadata
- Download URL: optigatrust-1.5.1.tar.gz
- Upload date:
- Size: 717.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b937d8de46e5312fb6e92c88f8b52354efb7880db11e724d5d35d858c877077b
|
|
MD5 |
f36fc0d94f8c77ef9ce9d584f8f2562f
|
|
BLAKE2b-256 |
6680b6edbd41ac38786d9a6a3c5bb580eda43698d26f15863a497b7ce84be0cc
|
File details
Details for the file optigatrust-1.5.1-py3-none-any.whl
.
File metadata
- Download URL: optigatrust-1.5.1-py3-none-any.whl
- Upload date:
- Size: 724.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
070a7d978c24b20967431d92548416cb9d4b05ac9b9c3828fd6a2134b8aeed46
|
|
MD5 |
f1cfc3dd88d28f1ab911d03fc3323540
|
|
BLAKE2b-256 |
ab4c7e9ae81c0bc50ba54150fb022c215c693f492a54fbf69eb76f0e98862625
|