Skip to content

LukJA/python-spydagram

Repository files navigation

python-spydagram - Read The Docs

PyPI - Python Version GitHub PyPI PyPI - Downloads

GitHub tag (latest by date) Documentation Status Tests


Features

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

Basic Installation

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

Contributions are welcome, given the early stage of development please get in touch on the discussions board or via email directly.

License

This projects is licensed under the MIT license, se LICENSE for more details.

About

WIP: Python sketching library and toolset

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published