regfmt
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] [-t {yaml,css,yamlcss}] [input]
regfmt - generate SVG diagrams of control register-style data formats
positional arguments:
input input register format YAML file (default: input.yaml)
options:
-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
-t {yaml,css,yamlcss}, --template {yaml,css,yamlcss}
Generate template YAML and/or CSS files
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.9.1.tar.gz
(14.3 kB
view details)
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
regfmt-0.9.1-py3-none-any.whl
(23.9 kB
view details)
File details
Details for the file regfmt-0.9.1.tar.gz.
File metadata
- Download URL: regfmt-0.9.1.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.1 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ff99eef442c1c9789aedd007813c97ebcdfdf2855b296904a73861ae7ba5287
|
|
| MD5 |
1f2e62a5dc3fbe261aa4925102894dc0
|
|
| BLAKE2b-256 |
3fa79831439a2cc613d759dbc02034010098ebc52cd92274f85e876825315825
|
File details
Details for the file regfmt-0.9.1-py3-none-any.whl.
File metadata
- Download URL: regfmt-0.9.1-py3-none-any.whl
- Upload date:
- Size: 23.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.1 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4c155a3c9eb63b1e70b756302642be174d28ff4463625d5f745bc9e21dd2b26
|
|
| MD5 |
04cb64fff6d85342f020453e13024ab4
|
|
| BLAKE2b-256 |
17e602d9007946e8e8e5624a140f86729aad1f1e087d9dde5e1ecdd9d2d18439
|