Skip to main content

Nidec Unidrive M motor control drives inventory generator.

Project description

nidec-inventory

Inventory generator for Nidec Unidrive M and Commander C drives.

Description

nidec-inventory allows you to generate an inventory for Nidec Unidrive M and Commander C drives, by analyzing the *.parfile parameter files located in a repository.

Features

  • Recursive tracing on a given path.

  • Collection of basic information from all drives in the repository:

    • Product name.
    • Device model.
    • Device serial number.
    • Device firmware version.
    • Device rated voltage.
    • Device rated current.
    • Name assigned to the device.
    • Device operating mode.
    • IP or node (if using Modbus communication).
    • Contents of slot 1.
    • Contents of slot 2.
    • Contents of slot 3.
    • Contents of slot 4.
    • Path of the parameter file.
  • Generation of output file in csv or excel format.

Getting Started

Dependencies

  • pandas~=2.2.3
  • PyYAML~=6.0.2
  • setuptools~=76.0.0
  • openpyxl~=3.1.5

Installing

pip install nidec-inventory

Usage

Examples of execution:

# Examples of output in csv format
$ python nidec-inventory.py -p "../REPO/Unidrive M Connect/" -f log
$ python nidec-inventory.py -p "../REPO/Unidrive M Connect/" -o csv -f log
# Example of output in Excel format
$ python nidec-inventory.py -p "../REPO/Unidrive M Connect/" -o excel -f log

By default, if only the path of the parameter repository is specified, an inventory will be generated in a csv file.

Common arguments

  • --help (-h): show this help and exit.
  • --path_repo (-p): path of the parameter file repository.
  • --file_out (-f): output file name (without extension).
  • --output_format (-o): output file format, csv or excel.

Author

  • Carlos Alonso Martín

Contributors and Maintainers

The main contributor to this repository is Carlos Alonso Martín. You can reach out to them for more information and guidance on contributing to the project.

Changelog

  • 0.0b1
    • Bugs fixed

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

nidec_inventory-0.0b1.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

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

nidec_inventory-0.0b1-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file nidec_inventory-0.0b1.tar.gz.

File metadata

  • Download URL: nidec_inventory-0.0b1.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for nidec_inventory-0.0b1.tar.gz
Algorithm Hash digest
SHA256 d570fcdf1e21b1fd2a67cd6274182a7f83dfd642554c3e373c7adf17e45f129b
MD5 b5f61e3274a94c176d9b452d04f796af
BLAKE2b-256 23e67949e072af37c671e536a2685870f6bae6ef668b4af0d63e9f8228ce4b95

See more details on using hashes here.

File details

Details for the file nidec_inventory-0.0b1-py3-none-any.whl.

File metadata

File hashes

Hashes for nidec_inventory-0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 f7b8e1396a008dfc0deb6f3be970b51e73f528d0f5f2d7768345e58e7a476e71
MD5 38f38c814677ab59e5c7b0356ce19e98
BLAKE2b-256 44f927cdb28f9be32afca9388207ded3a64c0e0c5a959e65a195854d565af3a1

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