be-modbus-wrapper-0.3.0
توضیحات
Custom brainelectronics python modbus wrapper
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | be-modbus-wrapper-0.3.0 |
| نام | be-modbus-wrapper |
| نسخه کتابخانه | 0.3.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | brainelectronics |
| ایمیل نویسنده | info@brainelectronics.de |
| آدرس صفحه اصلی | https://github.com/brainelectronics/be-helpers |
| آدرس اینترنتی | https://pypi.org/project/be-modbus-wrapper/ |
| مجوز | - |
# BE Modbus Wrapper
[](https://pepy.tech/project/be-modbus-wrapper)


[](https://opensource.org/licenses/MIT)
[](https://app.codecov.io/github/brainelectronics/be-modbus-wrapper)
Custom brainelectronics python modbus wrapper
---------------
## General
Custom brainelectronics specific python modbus wrapper.
<!-- MarkdownTOC -->
- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [Unittests](#unittests)
- [Credits](#credits)
<!-- /MarkdownTOC -->
## Installation
```bash
pip install be-modbus-wrapper
```
## Usage
```python
from be_modbus_wrapper import ModbusWrapper
```
## Contributing
### Unittests
Run the unittests locally with the following command after installing this
package in a virtual environment
```bash
# run all tests
nose2 --config tests/unittest.cfg
# run only one specific tests
nose2 tests.test_modbus_wrapper.TestModbusWrapper.test_load_modbus_registers_file
```
Generate the coverage files with
```bash
python create_report_dirs.py
coverage html
```
The coverage report is placed at `be-modbus-wrapper/reports/coverage/html/index.html`
## Credits
Based on the [PyPa sample project][ref-pypa-sample].
<!-- Links -->
[ref-pypa-sample]: https://github.com/pypa/sampleproject
نیازمندی
| مقدار | نام |
|---|---|
| <3,>=2.4.0 | pymodbus |
| <1,>=0.1.0 | be-helpers |
| <4,>=3.25.1 | tox |
| <6,>=5.0.0 | flake8 |
| <7,>=6.4.2 | coverage |
| <1,>=0.12.0 | nose2 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7, <4 | Python |
نحوه نصب
نصب پکیج whl be-modbus-wrapper-0.3.0:
pip install be-modbus-wrapper-0.3.0.whl
نصب پکیج tar.gz be-modbus-wrapper-0.3.0:
pip install be-modbus-wrapper-0.3.0.tar.gz