BSD Ports

textproc/py-wavedrom 2.0.3.p3_2 DragonFly

WaveDrom compatible Python command line

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
python, textproc
Package size
65.5 KiB, 581.8 KiB installed

Description

This is a Python module and command line fully compatible with WaveDrom, which is originally implemented in JavaScript. It is useful if you want to generate wavedrom diagrams from a Python environment or simply don't want to install the Node.js environment just to use WaveDrom as simple command line.

WaveDromPy is for example used in sphinxcontrib-wavedrom to render wavedrom for Sphinx documentation. While the original project renders the diagrams in JavaScript in the browser, WaveDromPy renders them to SVG files.

This tool is a direct translation of original Javascript file WaveDrom.js to Python. No extra feature added. We seek to have it fully compatible.

The tool WaveDromPy directly converts WaveDrom compatible JSON files into SVG format.

In the other systems

SystemPortVersion
DragonFlytextproc/py-wavedrom2.0.3.p3_2
FreeBSDtextproc/py-wavedrom2.0.3.p3_2
HardenedBSDtextproc/py-wavedrom2.0.3.p3_2
GhostBSDtextproc/py-wavedrom2.0.3.p3_2

Install

Binary package:

pkg install py311-wavedrom

From DPorts:

cd /usr/dports/textproc/py-wavedrom && make install clean

Dependencies

Run dependencies 4
Required by 1