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.tomlfor optional dependencies
Documentation
- Main Documentation: https://neuralib2.readthedocs.io/
- GitHub Repository: https://github.com/ytsimon2004/neuralib2
- Issue Tracker: https://github.com/ytsimon2004/neuralib2/issues
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:
- Fork the repository
- Create a feature branch
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file neuralib_parser-0.7.0.tar.gz.
File metadata
- Download URL: neuralib_parser-0.7.0.tar.gz
- Upload date:
- Size: 39.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6d617e9236bf47966c45bb4657bb3a7efd8a0ccede4499ad091f75307138eba
|
|
| MD5 |
8640e15bb90225678c3d45aabe6ee120
|
|
| BLAKE2b-256 |
99a74e62fa1a1d731dcdcf5ae2dc0b5a88b645f50ba34f216f26793eeb45c303
|
File details
Details for the file neuralib_parser-0.7.0-py3-none-any.whl.
File metadata
- Download URL: neuralib_parser-0.7.0-py3-none-any.whl
- Upload date:
- Size: 43.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd3a359ee0996cbbc3c3c9116e2d5678556e31892a13777ea414f7b54ce9c8a7
|
|
| MD5 |
8719cfccb5c303cb7f5dc8505989ed31
|
|
| BLAKE2b-256 |
5c41111aafe0a0a4ec44796e17bbfcc2890d5a17e106089c14b7b88a5437d44a
|