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
pathof the parameter repository is specified, an inventory will be generated in acsvfile.
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
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 Distribution
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d570fcdf1e21b1fd2a67cd6274182a7f83dfd642554c3e373c7adf17e45f129b
|
|
| MD5 |
b5f61e3274a94c176d9b452d04f796af
|
|
| BLAKE2b-256 |
23e67949e072af37c671e536a2685870f6bae6ef668b4af0d63e9f8228ce4b95
|
File details
Details for the file nidec_inventory-0.0b1-py3-none-any.whl.
File metadata
- Download URL: nidec_inventory-0.0b1-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7b8e1396a008dfc0deb6f3be970b51e73f528d0f5f2d7768345e58e7a476e71
|
|
| MD5 |
38f38c814677ab59e5c7b0356ce19e98
|
|
| BLAKE2b-256 |
44f927cdb28f9be32afca9388207ded3a64c0e0c5a959e65a195854d565af3a1
|