Skip to main content

Parsers for output from open-source packages or specific devices

Project description

neuralib-parser

Data parsers for neuroscience research tools and file formats, providing unified interfaces for segmentation, morphology, imaging, tracking, and confocal microscopy data.

Overview

neuralib-parser provides Python parsers and data structures for output from open-source packages and specific imaging devices. It includes:

  • Segmentation: Cellpose, StarDist cell segmentation
  • Morphology: SWC neuron morphology files
  • Imaging: Suite2p, Scanbox data formats
  • Tracking: DeepLabCut, Facemap behavioral tracking
  • Confocal Scans: Zeiss CZI, LSM file formats

Installation

From PyPI

pip install neuralib-parser

With Optional Dependencies

# StarDist support (requires numpy<2.0)
pip install neuralib-parser[stardist]

# Suite2p integration
pip install neuralib-parser[suite2p]

# Zeiss CZI format support
pip install neuralib-parser[czi]

# Scanbox reader
pip install neuralib-parser[sbx]

# All features (excludes stardist due to numpy<2.0 constraint)
pip install neuralib-parser[all]

From Source (uv recommended)

git clone https://github.com/ytsimon2004/neuralib2.git
cd neuralib2/packages/neuralib-parser
uv pip install -e .        # Basic installation
uv pip install -e ".[all]" # With optional features

Requirements

  • Python 3.11 or 3.12
  • Core dependencies: neuralib-utils, numpy
  • See pyproject.toml for optional dependencies

Documentation

Important Notes

StarDist and NumPy 2.0

StarDist requires numpy<2.0 due to upstream compatibility. The stardist extra explicitly pins this constraint:

License

BSD 3-Clause License. See LICENSE file for details.

Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Submit a pull request with clear description

For bug reports and feature requests, use the GitHub issue tracker.

Acknowledgments

This package provides interfaces to:

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

neuralib_parser-0.7.1.tar.gz (40.2 kB view details)

Uploaded Source

Built Distribution

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

neuralib_parser-0.7.1-py3-none-any.whl (43.3 kB view details)

Uploaded Python 3

File details

Details for the file neuralib_parser-0.7.1.tar.gz.

File metadata

  • Download URL: neuralib_parser-0.7.1.tar.gz
  • Upload date:
  • Size: 40.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for neuralib_parser-0.7.1.tar.gz
Algorithm Hash digest
SHA256 0d7151dd3d40a88f8357261e856d302541123fadcc0990dadfee31dfcec65402
MD5 f440d9a6f7d08f42aef9214a2a3ad201
BLAKE2b-256 85b32dc9c574239a926b339895ded7bbd804b7bf42d3cc2f6144a3828cd0aaf0

See more details on using hashes here.

File details

Details for the file neuralib_parser-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: neuralib_parser-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 43.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for neuralib_parser-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8ba8e425c198d3526a933885a946bb482b13b7ad167b698641f84665b8414828
MD5 10aca56e49ebe6e325dee6c74524bad2
BLAKE2b-256 2f97cb28ecb1594d88136f33a8da6730b4f137a81052a77bb66fe998b580677b

See more details on using hashes here.

Supported by

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