Skip to main content

Documentation StatusTests

dvidtools

Python tools to fetch data from DVID servers.

Find the documentation here.

Want to query a neuPrint server instead? Check out neuprint-python.

What can dvidtools do for you?

  • get/set user bookmarks
  • get/set neuron annotations (names)
  • download precomputed meshes, skeletons (SWCs) and ROIs
  • generate meshes or skeletons from scratch
  • get basic neuron info (# of voxels/synapses)
  • fetch synapses
  • fetch connectivity (adjacency matrix, connectivity table)
  • retrieve labels (TODO, to split, etc)
  • map positions to body IDs
  • detect potential open ends (based on a script by Stephen Plaza)

Install

Make sure you have Python 3 (3.8 or later), pip. Then run this:

pip3 install dvidtools

To install the dev version straight from Github:

pip3 install git+https://github.com/flyconnectome/dvid_tools@master

Optional dependencies

Necessary dependencies will be installed automatically.

If you plan to use the tip detector with classifier-derived confidence, you will also need sciki-learn:

pip3 install scikit-learn

For from-scratch skeletonization you need to install skeletor:

pip3 install skeletor

Examples

Please see the documentation for examples.

Testing

For testing you need to have two environment variables set: DVID_TEST_SERVER and DVID_TEST_NODE. These should point to a DVID server/node that contain the Janelia hemibrain dataset. Then run:

$ pytest -v

Metadata

Release files for dvidtools 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dvidtools 0.6.0
File Size Uploaded Provenance Actions
dvidtools-0.6.0.tar.gz 50.6 kB Without provenance Details for dvidtools-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dvidtools 0.6.0
File Interpreter ABI Platform Actions
dvidtools-0.6.0-py3-none-any.whl Python 3 none any Details for dvidtools-0.6.0-py3-none-any.whl

Total release size: 101.2 kB

Release files / dvidtools-0.6.0.tar.gz

Download URL dvidtools-0.6.0.tar.gz
Size 50.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cd26ff15a7912d7ca7a99b3e47a82f0a1803a80d8e7128f6d480d9f6c51d7ef2
BLAKE2b-256 checksum
How to use checksums
3120ce8ea5a3ec49dcf61ff24f6cf6906750cbbb7aefd7ad2fe34b07f4c3a074
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / dvidtools-0.6.0-py3-none-any.whl

Download URL dvidtools-0.6.0-py3-none-any.whl
Size 50.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13db8d50a46f46e054eadd443e7bd4f1053a57b05bd186e95032647e1e210b44
BLAKE2b-256 checksum
How to use checksums
68c9c71bba2d8492d25574ec5b51a542580b94edebcdf9a012c3b0d89b6a026a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for dvidtools 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page