ndjsonTosvg

Logo GitHub Actions CI status Test coverage Documentation Status

Author: Stephen Thompson

ndjsonTosvg is a utility to convert data from Google’s Quickdraw dataset to scalable vector graphics format. The input data should be in Google’s simplified ndjson format.

ndjsonTosvg is part of the SciKit-Surgery software project, developed at the Wellcome EPSRC Centre for Interventional and Surgical Sciences, part of University College London (UCL).

ndjsonTosvg supports Python 3.x.

Usage

ndjsonTosvg --filein FILEIN -n NUMBEROFSAMPLES

For more usage run

ndjsonTosvg --help

Please explore the project structure, and implement your own functionality.

Developing

Cloning

You can clone the repository using the following command:

git clone https://github.com/thompson318/ndjsonTosvg

Running tests

Pytest is used for running unit tests:

pip install pytest
python -m pytest

Linting

This code conforms to the PEP8 standard. Pylint can be used to analyse the code:

pip install pylint
pylint --rcfile=tests/pylintrc ndjsontosvg

Installing

You can pip install directly from the repository as follows:

pip install git+https://github.com/thompson318/ndjsonTosvg

Contributing

Please see the contributing guidelines.