IngeniaLink Communications Library
Project description
ingenialink-python is a Python library for simple motion control tasks and communication with Ingenia drives.
Requirements
Python 3.9 or higher
WinPcap 4.1.3
Installation
Installation is done by using pip, i.e:
pip install ingenialink
Documentation
For further details you can read the documentation where you will find simple usage examples, the API docs, etc.
Virtual environment management with Poetry
Install poetry:
pip install poetry
Use an environment with a certain Python version:
poetry env use 3.12
Install all dependencies:
poetry sync --all-groups --extras virtual_drive
Project Tasks - Poe The Poet plugin
To run the tasks use poe. For example, to run the format task:
poetry run poe format
Any extra CLI arguments will be appended. For example, to indicate a certain test for pytest:
poetry run poe tests -k test_servo.py
Build the module
Activate poetry environment and run the following:
poetry run poe build-wheel
Run tests
Create tests/setups/tests_setup.py file with configuration file.
This file is ignored by git and won’t be uploaded to the repository. Example of a setup:
from pathlib import Path
from summit_testing_framework.setups import LocalDriveConfigSpecifier
DEN_NET_E_SETUP = LocalDriveConfigSpecifier.from_ethercat_configuration(
identifier="den-net-e",
dictionary=Path("C://Users//some.user//Downloads//den-net-e_eoe_2.7.3.xdf"),
config_file=Path("C://Users//some.user//Downloads//den_net_e.xcf"),
firmware_file=Path("C://Users//some.user//Downloads//den-net-e_2.7.3.lfu"),
ifname="\\Device\\NPF_{675921D7-B64A-4997-9211-D18E2A6DC96A}",
slave=1,
boot_in_app=False,
)
For more information, check summit-testing-framework documentation.
Run tests selecting the markers that you want and are appropriate for your setup. Beware that some tests may not be appropriate for the setup that you have and may fail.
Run the tests:
poetry run poe tests -m {markers}
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 Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ingenialink-7.6.0.tar.gz.
File metadata
- Download URL: ingenialink-7.6.0.tar.gz
- Upload date:
- Size: 10.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf0cb3d426ca01d46c11bc095fc3d0bdbfb8a14bab8adff194af34fb24db7d26
|
|
| MD5 |
fa7797655b31a221fcd179a0e43adff4
|
|
| BLAKE2b-256 |
6193e9903e11223ede2320276e9f4a10c1e2e75cbce81c7cb7b39274559cc22b
|
File details
Details for the file ingenialink-7.6.0-py3-none-any.whl.
File metadata
- Download URL: ingenialink-7.6.0-py3-none-any.whl
- Upload date:
- Size: 198.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd4b8a6458fed3f4cb777f2f4296b0c80aa8a3c0420bca2d7435866538cf9dec
|
|
| MD5 |
4c413c480ffb8efa4a341646dfe793df
|
|
| BLAKE2b-256 |
736437fc63c1d8a58555c6fbfa683f5d1b13ce85693df032114006106ad4a7d7
|
File details
Details for the file ingenialink-7.6.0-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: ingenialink-7.6.0-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 635.5 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3e4c524beb2b05ae5d83e846291fdf4bb6d6cfcf798da5243a79ca98a743dbe
|
|
| MD5 |
2078563984c838d71aa8aed5f9270bf9
|
|
| BLAKE2b-256 |
555501e6df6b9974ed4a2e3eac17ce26707f21dbdf72c16c1af7cd1bc74cdcce
|
File details
Details for the file ingenialink-7.6.0-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: ingenialink-7.6.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 634.2 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdffb29fd10926c832e8ab2536debbe5bcf6ab476c0afb7fa55208dde0d6b280
|
|
| MD5 |
ee88aeb4678b3e473aa896c9841d6355
|
|
| BLAKE2b-256 |
6b5791cdbb48d485c5d3c8e332badf3aa38d49d9f5e358c2922fafb016fbd434
|
File details
Details for the file ingenialink-7.6.0-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: ingenialink-7.6.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 633.0 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce209406a9c437b69e27451aaabfdbf61cd8125a0cf704121d8b5fbc0ae8072e
|
|
| MD5 |
74c46f5689384d383878cf50cef37012
|
|
| BLAKE2b-256 |
9e7c70dc51ccaf9d6301c29688d07aae6e567e25492d63a88dcebe93c80692df
|
File details
Details for the file ingenialink-7.6.0-cp39-cp39-win_amd64.whl.
File metadata
- Download URL: ingenialink-7.6.0-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 633.1 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bdce3859f96d20771308f93d2c996c026a36ddc53b34b0975e8f5eed092bf92
|
|
| MD5 |
4f8f162f69955cfb6d172363be386a5d
|
|
| BLAKE2b-256 |
b1b56a869c62fc036611fd7e71e07ce3a46c844d9c81c6ec74f97375a7c25f53
|