Skip to main content

ndjsonTosvg to convert Google Quickdraw data set ndjson format to svg images

Project description

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.

Acknowledgements

Supported by Wellcome and EPSRC.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ndjsonTosvg-0.0.2.tar.gz (21.6 kB view details)

Uploaded Source

File details

Details for the file ndjsonTosvg-0.0.2.tar.gz.

File metadata

  • Download URL: ndjsonTosvg-0.0.2.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for ndjsonTosvg-0.0.2.tar.gz
Algorithm Hash digest
SHA256 1210168583face998dcc3d2209b6a11c7d8c08b571bca8a2dadf58a35981072f
MD5 fa3eca1001ebbe484a66f5a9ef731907
BLAKE2b-256 9ea9ca8c8aaa498486f98498ca81725ccaa7a533f5c576b40baf6b9257de91e7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page