Skip to main content

neuroglancer-scripts

Tools for converting volumetric images and surface meshes to the pre-computed format of Neuroglancer.

PyPI Version Build Status Coverage Status Documentation Status

Installation

The easiest way to install the latest stable version of neuroglancer-scripts is through pip. Using a virtual environment is recommended:

python3 -m venv venv/
. venv/bin/activate
pip install neuroglancer-scripts

Usage

See the documentation.

Development

The code is hosted on https://github.com/HumanBrainProject/neuroglancer-scripts.

Useful commands for development:

git clone https://github.com/HumanBrainProject/neuroglancer-scripts.git

# Install in a virtual environment
cd neuroglancer-scripts
python3 -m venv venv/
. venv/bin/activate
pip install -e .[dev]

# Tests
pytest  # run tests
pytest --cov=neuroglancer_scripts --cov-report=html  # detailed test coverage report
tox  # run tests under all supported Python versions

# Please install pre-commit if you intend to contribute
pre-commit install  # install the pre-commit hook

Contributing

This repository uses pre-commit to ensure that all committed code follows minimal quality standards. Please install it and configure it to run as a pre-commit hook in your local repository (see above). Also, please note that the code quality checks may need a more recent version of Python than that required by neuroglancer_scripts itself (> 3.8 at the time of this writing).

Acknowledgments

cloud-volume (BSD 3-Clause licensed) for compressed morton code and shard/minishard mask implementation.

Metadata

Release files for neuroglancer-scripts 1.2.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 neuroglancer-scripts 1.2.0
File Size Uploaded
neuroglancer_scripts-1.2.0.tar.gz 82.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for neuroglancer-scripts 1.2.0
File Interpreter ABI Platform
neuroglancer_scripts-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 149.6 kB

Release files / neuroglancer_scripts-1.2.0.tar.gz

Download URL neuroglancer_scripts-1.2.0.tar.gz
Size 82.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a84d255f0ec360a97dff438ea83d781803c206dfbf882c3b0168a483cbd5960c
BLAKE2b-256 checksum
How to use checksums
8327bf0fa0a0a731a7a281568fa1b3357ff2cac5d66ce934bec6cdedb5eaefe1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.9

Release files / neuroglancer_scripts-1.2.0-py3-none-any.whl

Download URL neuroglancer_scripts-1.2.0-py3-none-any.whl
Size 66.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9dccdba74d2c10504b0863a1c3f419201c7e84ff3b69211cb07b81fa58b1f43
BLAKE2b-256 checksum
How to use checksums
9037c5f5036b7c1b0cb62892d96769baf082cca7c9aa89d79db3cccfe7c9c072
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.9

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

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