python-spydagram - Read The Docs
Diagram and scientific sketch .SVG vector image generator, designed to be as fast as free-hand drawing. Available as a Python library, or as a scripting language and command-line compiler.
[ Code ] -> [ Image ] TBD
Install Python library (requires >= python 3.7):
pip install spydagram
Use library as such (TBD):
import spydagram as spy
sketch = spy.new(spy.graph.2D())
sketch.print("sketch.svg")
The CLI is included and installed alongside the Python library:
spydagram -i "script.txt" -o "sketch.svg"
Alternatively, a pre-packaged AppImage version with a Python interpreter included can be obtained from the releases page, for systems where a python3 interpreter is not available.
./spydagram-x86_64.AppImage -i "script.txt" -o "sketch.svg"
Note: you may need to make the AppImage file executable on your system.
Contributions are welcome, given the early stage of development please get in touch on the discussions board or via email directly.
This projects is licensed under the MIT license, se LICENSE for more details.