Skip to main content

NeuroQP Python

NeuroQP Python lets neuroscientists open a NeuroQP project export, navigate its animals, slices, stainings, images, and registrations, and analyze classification or cell-match results with Python and NumPy.

Installation

Create and activate a virtual environment for your analysis:

python3.14 -m venv .venv
source .venv/bin/activate
python -m pip install neuroqp

See the installation guide for uv, Windows, JupyterLab, and update instructions.

Getting started

Validate or inspect an exported NeuroQP project:

neuroqp validate path/to/neuroqp_export.zip
neuroqp inspect path/to/neuroqp_export.zip

Open an export from Python:

from neuroqp import open_export

with open_export("neuroqp_export.zip") as export:
    print(export)

    animal = export.animal_by_name("Mouse 1")
    for slice_ in animal.slices:
        print(slice_.name, slice_.slice_coordinate_mm)

    if export.classification is not None:
        classification = export.classification.for_staining("NeuN")
        results = classification.load_results()
        print(results.positive_centroids)

ZIP archives and extracted export directories are both supported. Continue with the quickstart, analysis guide, or example notebooks.

Project links

Supported versions

  • Python 3.12 through 3.14
  • NeuroQP project export format v2

Contributing

See CONTRIBUTING.md if you want to work on the package itself.

License

MIT

Metadata

Release files for neuroqp 0.1.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 neuroqp 0.1.0
File Size Uploaded
neuroqp-0.1.0.tar.gz 390.7 kB Details

Built distribution (wheel)

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

Total release size: 439.6 kB

Release files / neuroqp-0.1.0.tar.gz

Download URL neuroqp-0.1.0.tar.gz
Size 390.7 kB
Tags Source
SHA-256 checksum
How to use checksums
23d5f6881312f60bcd8f36ef430702b6b6bf2ec1187495d3fa482a7964a4247a
BLAKE2b-256 checksum
How to use checksums
2853c61cd4e354ddb3675aade3628da7379c5441c7d789d01953915ebc6dee45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 29, 2026.

Transparency log

Release files / neuroqp-0.1.0-py3-none-any.whl

Download URL neuroqp-0.1.0-py3-none-any.whl
Size 48.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2706cb72326db40c3669b14df4b718086d97007a532d528961449a3da7c56b80
BLAKE2b-256 checksum
How to use checksums
96c2a54bcc0d4fd830e25082eb45950fdc304e52004fff9e48a5824b7913336e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 29, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

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