Skip to main content

Motion library for Novanta servo drives

Project description

Ingeniamotion

GitHub branch status PyPi PyPI - Python Version

CC by-nc-sa

Ingeniamotion is a library that works over ingenialink and aims to simplify the interaction with Ingenia's drives.

Ingenia Servodrives

Requirements

  • Python 3.9 or higher
  • WinPcap 4.1.3

Installation

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

pip install ingeniamotion

Virtual environment management with Poetry

Install poetry:

pip install poetry

Use an environment with a certain Python version:

poetry env use 3.12

Install the required dependencies:

poetry install --all-groups

To install FSoE (optional):

poetry install --extras fsoe

Generate documentation

To produce the documentation, run the following command:

poetry run poe docs

Run PyTest

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=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,
)

TESTS_SETUP = DEN_NET_E_SETUP

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.

poetry run poe tests -m {markers}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ingeniamotion-0.10.3.tar.gz (110.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ingeniamotion-0.10.3-py3-none-any.whl (137.6 kB view details)

Uploaded Python 3

File details

Details for the file ingeniamotion-0.10.3.tar.gz.

File metadata

  • Download URL: ingeniamotion-0.10.3.tar.gz
  • Upload date:
  • Size: 110.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.18

File hashes

Hashes for ingeniamotion-0.10.3.tar.gz
Algorithm Hash digest
SHA256 9c20f7634ef19091b97ab67034c472059fa71681ee19c5b36aeb430a987d4517
MD5 1e8a7663577742b47daed747a37bff67
BLAKE2b-256 04974180b9b60855c94a6a3ce80ab1e14265bb4cc0ec46781ef0a90b1811f359

See more details on using hashes here.

File details

Details for the file ingeniamotion-0.10.3-py3-none-any.whl.

File metadata

  • Download URL: ingeniamotion-0.10.3-py3-none-any.whl
  • Upload date:
  • Size: 137.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.18

File hashes

Hashes for ingeniamotion-0.10.3-py3-none-any.whl
Algorithm Hash digest
SHA256 66a6fa995bf5c89396b95ac11f43c245eafc76764c467c26d492310e21108bcc
MD5 c18e61ae6d0c95fe338a6a3a0ef29f77
BLAKE2b-256 fe84f070c42f0e649858d08927713d025506315bc9ac75e50b31e6c0504c8818

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page