Skip to content

analogdevicesinc/PyTrinamic

Folders and files

NameName
Last commit message
Last commit date
Jan 6, 2025
Feb 7, 2025
Mar 24, 2025
Mar 24, 2025
Mar 24, 2025
Mar 11, 2025
Jan 19, 2022
Nov 10, 2023
Oct 4, 2023
Mar 11, 2025
Jan 7, 2025

Repository files navigation

PyTrinamic

PyTrinamic is a Python package to set up and control TRINAMIC modules, evaluation boards and ICs via serial, USB or CAN interfaces.

The package is intended to automate tasks that are typically done manually with TRINAMICs TMCL-IDE.

Install

Use pip to install PyTrinamic.

pip install pytrinamic

Getting Started

Please have a look at the code examples on GitHub.

Migration Guide

Version 0.2.0 of PyTrinamic introduces several changes to the API. For those who want to convert code that uses an older version of PyTrinamic, we wrote a short migration guide.

All previous versions of PyTrinamic will still be available on PyPI and can be installed via: pip install pytrinamic==0.1.27.

Contributing

We welcome pull requests! If you have major changes or questions about implementation, please open an issue first to discuss your ideas.

Please ensure contributed Python code adheres to the PEP 8 Python code style guide and the PEP 257 style guide for docstrings. If you want to express details in docstrings using a markup language, please use reStructuredText like proposed in PEP 287 and when documenting parameters, variables, attributes, exceptions use the Sphinx style.

Additionally, please use double quotes (") for string constants.

License

PyTrinamic is licensed under the MIT License.