A command line utility to generate SVG diagrams for control register-style data formats.
Project description
regfmt
This project is a work in progress.
regfmt is a command line utility to generate SVG diagrams for control register-style data formats. It is inspired by the dformat command from the troff family of tools, however re-imagined using contemporary (circa 2022) file formats.
Example output SVG:
Features
- SVG output
- Modern configuration input file formats
- YAML for register configuration
- CSS for styling SVG output
Usage
usage: regfmt [-h] [-v] [-o OUTPUT] [-s STYLE] [input]
regfmt - generate SVG diagrams of control register-style data formats
positional arguments:
input input register format YAML file (default: input.yaml)
optional arguments:
-h, --help show this help message and exit
-v, --version print version information and exit
-o OUTPUT, --output OUTPUT
output file (default: '-' for stdout)
-s STYLE, --style STYLE
CSS style file
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
regfmt-0.1.10a1.tar.gz
(14.6 kB
view hashes)
Built Distribution
regfmt-0.1.10a1-py3-none-any.whl
(24.9 kB
view hashes)
Close
Hashes for regfmt-0.1.10a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a213a554c424c789146e3c533293a8b3b4e724440c5841faf2a1f91742facce |
|
MD5 | 396e3787b8588b49a0daf178b582e64e |
|
BLAKE2b-256 | 3d9d744040ea863278b37a9ae9ae3e08d48bdbe12d8c90c81c31b32d9514b689 |