py-reg-map
Register map generator for embedded firmware. A YAML file describes the device registers;
regmap generates the C storage and Modbus RTU sources for the firmware (reg_map.h/.c,
mb_rtu_app.h/.c) and the JSON definitions for the LeBin and Modbus RTU communication
software.
Installation
Python 3.12 or newer:
pip install "py-reg-map @ git+https://github.com/LogicElements/py-reg-map"
pip install "py-reg-map[xlsx] @ git+https://github.com/LogicElements/py-reg-map" # with Excel import
Usage
Migrate an existing Excel register map (once):
regmap import-xlsx Documents/Vms1511.xlsm # -> Documents/vms1511.yaml
Generate all outputs after editing the map, then commit them:
regmap generate Documents/vms1511.yaml
regmap generate Documents/vms1511.yaml --check # CI: are the committed outputs current?
regmap generate Documents/vms1511.yaml --allow-id-change # accept intended ID/Modbus changes
Editor completion for the YAML format:
regmap schema -o Documents/regmap.schema.json
Documentation: doc/index.md.
License
MIT © 2026 Logic Elements s.r.o
Metadata
Release files for py-reg-map 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| py_reg_map-0.1.0.tar.gz | 278.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_reg_map-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 313.6 kB
Release files / py_reg_map-0.1.0.tar.gz
| Download URL | py_reg_map-0.1.0.tar.gz |
|---|---|
| Size | 278.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f31f1667f989e3f69fd4b596dfb81b8183f6b3cfe8e24f2423b543087d791ce
|
|
BLAKE2b-256 checksum How to use checksums |
91182def369ed59ff1718401919c35c97c2b69fb5a4986474a54775aa034761f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / py_reg_map-0.1.0-py3-none-any.whl
| Download URL | py_reg_map-0.1.0-py3-none-any.whl |
|---|---|
| Size | 34.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
23b5ca87e08521494cf9fe90bc1f1d910f8a1c8942e3a1c1e5413cfe536b3648
|
|
BLAKE2b-256 checksum How to use checksums |
2c79bb3f083ebc7075ed121b6572d7dc4714f12c49391e906e4e6581f8bfc2cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|