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. Install from PyPI:
pip install py-reg-map
pip install "py-reg-map[xlsx]" # with Excel import
The latest development version comes straight from GitHub:
pip install "py-reg-map @ git+https://github.com/LogicElements/py-reg-map"
Usage
Start a new register map:
regmap init MyDevice # -> mydevice.yaml
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
Start at doc/index.md: YAML format, command line, outputs and development guide.
License
MIT © 2026 Logic Elements s.r.o
Metadata
Release files for py-reg-map 0.1.2
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.2.tar.gz | 407.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_reg_map-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 450.2 kB
Release files / py_reg_map-0.1.2.tar.gz
| Download URL | py_reg_map-0.1.2.tar.gz |
|---|---|
| Size | 407.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b8b60230f13903e136da2d99379492c73a3774e0b8875909e6eadce1193d30a
|
|
BLAKE2b-256 checksum How to use checksums |
3e24afeea7736b90dac991854a3fee55544a2fdc3e36a27cf60a17b8628c5398
|
| 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.2-py3-none-any.whl
| Download URL | py_reg_map-0.1.2-py3-none-any.whl |
|---|---|
| Size | 42.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3ef344efc65308eada363ab47491da18ed3007a5be9dc3d5683559cb304d3f56
|
|
BLAKE2b-256 checksum How to use checksums |
b5c478f29294a95f050af7bbb41560ebaa6fa55b352c987bacbe6056f842e09f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|