Skip to content

Applications library for Ingenia servo drives (Python binding)

License

Notifications You must be signed in to change notification settings

gmarull/ingenialink-python

 
 

Repository files navigation

ingenialink-python

Build Status Build Status Documentation Status PyPI Version Code Quality

This is a Python binding for the ingenialink C library. The binding is built as a native Python extension thanks to cffi and then exposed through an object-oriented API.

Python versions >=3.5 are supported.

Ingenia Servodrives

Installation

The recommended way to install is by using pip, i.e:

pip install ingenialink

Windows binary wheels are provided for all supported Python versions. For Linux and macOS, pip will automatically compile and install the library provided you have the requirements listed here installed. On recent versions of Debian/Ubuntu this translates to:

sudo apt install python3-dev libffi-dev libudev-dev libxml2-dev build-essential cmake git

Development and examples

pipenv is used for package management. You can bring up a development environment like this:

pipenv install --dev

After that, you can enter the environment shell like this:

pipenv shell

and from there you can run any of the usage examples in the examples folder. Below you have a glimpse of the scope and monitor examples:

Scope example

Monitor example

Documentation

For further details you can read the documentation where you will find simple usage examples, the API docs, etc.

About

Applications library for Ingenia servo drives (Python binding)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%