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.2.tar.gz (110.1 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.2-py3-none-any.whl (137.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ingeniamotion-0.10.2.tar.gz
  • Upload date:
  • Size: 110.1 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.2.tar.gz
Algorithm Hash digest
SHA256 7a5cfb76ab5662a85b966ccc204df51c7a0e7b5059313c83716c5d70333dbc54
MD5 1f2e66c42334cc4d005a13689db5d4f2
BLAKE2b-256 4bf17f3ad0523e90a32f1ce670cc6da41e1da7af2c0add63ee26c7c0b5d59f1c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ingeniamotion-0.10.2-py3-none-any.whl
  • Upload date:
  • Size: 137.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d5cbd4a90c10039bf6af7b9ffe8313beb5d6b1ac9484fac7c5b397474cddb3fa
MD5 4b9bbc279bf17a84b3fefdf87c537a33
BLAKE2b-256 26a92f76e11a46365590fd8db80b12e431e7216a26c12fdc07efe50c24a52319

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