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

Download files

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

Source Distribution

neuroqp-0.1.0.tar.gz (390.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

neuroqp-0.1.0-py3-none-any.whl (48.8 kB view details)

Uploaded Python 3

File details

Details for the file neuroqp-0.1.0.tar.gz.

File metadata

  • Download URL: neuroqp-0.1.0.tar.gz
  • Upload date:
  • Size: 390.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for neuroqp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 23d5f6881312f60bcd8f36ef430702b6b6bf2ec1187495d3fa482a7964a4247a
MD5 8f48f93c99770d0858a8a98d399e290a
BLAKE2b-256 2853c61cd4e354ddb3675aade3628da7379c5441c7d789d01953915ebc6dee45

See more details on using hashes here.

Provenance

The following attestation bundles were made for neuroqp-0.1.0.tar.gz:

Publisher: release.yml on neuroqp/neuroqp-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file neuroqp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: neuroqp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 48.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for neuroqp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2706cb72326db40c3669b14df4b718086d97007a532d528961449a3da7c56b80
MD5 0c9c5d9624f19d1b4e3fecbe9c2ace0b
BLAKE2b-256 96c2a54bcc0d4fd830e25082eb45950fdc304e52004fff9e48a5824b7913336e

See more details on using hashes here.

Provenance

The following attestation bundles were made for neuroqp-0.1.0-py3-none-any.whl:

Publisher: release.yml on neuroqp/neuroqp-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 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