neuromorphopy


Nameneuromorphopy JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
SummaryLightweight python package for downloading neuron morphologies from the NeuroMorpho archives.
upload_time2024-11-01 23:25:26
maintainerNone
docs_urlNone
authorNone
requires_python>=3.11
licenseMIT License Copyright (c) 2022, Kyle Puhger Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords morphology neuromorpho neurons neuroscience
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # neuromorphopy

[![License](https://img.shields.io/github/license/kpeez/neuromorphopy)](https://img.shields.io/github/license/kpeez/neuromorphopy)
[![Documentation](https://img.shields.io/badge/docs-latest-blue.svg)](https://neuromorphopy.readthedocs.io/)

Lightweight python package for downloading neuron morphologies from the [NeuroMorpho archives](https://neuromorpho.org/).

- **Github repository**: <https://github.com/kpeez/neuromorphopy/>

## Features

- Simple and intuitive API for searching NeuroMorpho.org
- Efficient concurrent downloads of neuron morphologies
- Flexible query system with validation
- Automatic metadata handling
- Support for both synchronous and asynchronous operations

## Requirements

- Python >= 3.11

## Installation

You can install neuromorphopy directly from PyPI:

```bash
pip install neuromorphopy
```

### Development

For development work, we recommend using [uv](https://github.com/astral-sh/uv) for faster dependency resolution and better reproducibility:

```bash
# Install uv if you haven't already
curl -LsSf https://astral.sh/uv/install.sh | sh

# Clone and install
git clone https://github.com/kpeez/neuromorphopy.git
cd neuromorphopy
uv venv
uv sync
```

## Usage

Create a query file (YAML or JSON) to specify what neurons you want:

```yaml
# query.yml
filters:
  species: ["mouse"]
  brain_region: ["neocortex"]
  cell_type: ["pyramidal"]
sort: # sorting is optional
  field: "brain_region"
  ascending: true
```

Use the command line interface to search and download neurons:

```bash
neuromorpho search -q query.yml -o ./data
```

For more detailed usage, see our [documentation](getting_started.md).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "neuromorphopy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": null,
    "keywords": "morphology, neuromorpho, neurons, neuroscience",
    "author": null,
    "author_email": "Kyle Puhger <krpuhger@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/08/73/81189763237438c11625d1b9e1a267dc52449300e0a7a7f130a92772eee6/neuromorphopy-0.2.0.tar.gz",
    "platform": null,
    "description": "# neuromorphopy\n\n[![License](https://img.shields.io/github/license/kpeez/neuromorphopy)](https://img.shields.io/github/license/kpeez/neuromorphopy)\n[![Documentation](https://img.shields.io/badge/docs-latest-blue.svg)](https://neuromorphopy.readthedocs.io/)\n\nLightweight python package for downloading neuron morphologies from the [NeuroMorpho archives](https://neuromorpho.org/).\n\n- **Github repository**: <https://github.com/kpeez/neuromorphopy/>\n\n## Features\n\n- Simple and intuitive API for searching NeuroMorpho.org\n- Efficient concurrent downloads of neuron morphologies\n- Flexible query system with validation\n- Automatic metadata handling\n- Support for both synchronous and asynchronous operations\n\n## Requirements\n\n- Python >= 3.11\n\n## Installation\n\nYou can install neuromorphopy directly from PyPI:\n\n```bash\npip install neuromorphopy\n```\n\n### Development\n\nFor development work, we recommend using [uv](https://github.com/astral-sh/uv) for faster dependency resolution and better reproducibility:\n\n```bash\n# Install uv if you haven't already\ncurl -LsSf https://astral.sh/uv/install.sh | sh\n\n# Clone and install\ngit clone https://github.com/kpeez/neuromorphopy.git\ncd neuromorphopy\nuv venv\nuv sync\n```\n\n## Usage\n\nCreate a query file (YAML or JSON) to specify what neurons you want:\n\n```yaml\n# query.yml\nfilters:\n  species: [\"mouse\"]\n  brain_region: [\"neocortex\"]\n  cell_type: [\"pyramidal\"]\nsort: # sorting is optional\n  field: \"brain_region\"\n  ascending: true\n```\n\nUse the command line interface to search and download neurons:\n\n```bash\nneuromorpho search -q query.yml -o ./data\n```\n\nFor more detailed usage, see our [documentation](getting_started.md).\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2022, Kyle Puhger  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "Lightweight python package for downloading neuron morphologies from the NeuroMorpho archives.",
    "version": "0.2.0",
    "project_urls": {
        "documentation": "https://neuromorphopy.readthedocs.io/en/latest/",
        "repository": "https://github.com/kpeez/neuromorphopy"
    },
    "split_keywords": [
        "morphology",
        " neuromorpho",
        " neurons",
        " neuroscience"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "8c7f10e808e7bdb0fce8850e1ce970469cc468c4b1d31f318fe84e1bbaaa3559",
                "md5": "5c826365c65a5e022a5175fbafec97dd",
                "sha256": "01de32904959ebf416642684d4b81df4de27e8eb017b16a56b70596fc9d654a5"
            },
            "downloads": -1,
            "filename": "neuromorphopy-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5c826365c65a5e022a5175fbafec97dd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 16221,
            "upload_time": "2024-11-01T23:25:25",
            "upload_time_iso_8601": "2024-11-01T23:25:25.213846Z",
            "url": "https://files.pythonhosted.org/packages/8c/7f/10e808e7bdb0fce8850e1ce970469cc468c4b1d31f318fe84e1bbaaa3559/neuromorphopy-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "087381189763237438c11625d1b9e1a267dc52449300e0a7a7f130a92772eee6",
                "md5": "05457e176e9fc9897f848e25dfe1b4df",
                "sha256": "0b90ef3cc421997c3d991dba548e568f67c8138cf1fc2c1d2d5601e05442273a"
            },
            "downloads": -1,
            "filename": "neuromorphopy-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "05457e176e9fc9897f848e25dfe1b4df",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 101890,
            "upload_time": "2024-11-01T23:25:26",
            "upload_time_iso_8601": "2024-11-01T23:25:26.729851Z",
            "url": "https://files.pythonhosted.org/packages/08/73/81189763237438c11625d1b9e1a267dc52449300e0a7a7f130a92772eee6/neuromorphopy-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-01 23:25:26",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "kpeez",
    "github_project": "neuromorphopy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "neuromorphopy"
}
        
Elapsed time: 0.33176s