# bmtool
A collection of modules to make developing [Neuron](https://www.neuron.yale.edu/neuron/) and [BMTK](https://alleninstitute.github.io/bmtk/) models easier.
[](https://github.com/cyneuro/bmtool/blob/master/LICENSE)
## In depth documentation and examples can be found [here](https://cyneuro.github.io/bmtool/)
## Getting Started
**Installation**
```bash
pip install bmtool
```
For developers who will be pulling down additional updates to this repository regularly use the following instead.
```bash
git clone https://github.com/cyneuro/bmtool.git
cd bmtool
python setup.py develop
```
Then download updates (from this directory) with
```bash
git pull
```
BMTool provides several modules to simplify the development of computational neuroscience models with NEURON and the Brain Modeling Toolkit (BMTK). It offers functionality for:
- **Single Cell Modeling**: Analyze passive properties, current injection, FI curves, and impedance profiles
- **Synapse Development**: Tools for tuning synaptic properties and gap junctions
- **Network Construction**: Connectors for building complex network structures
- **Visualization**: Plot connection matrices, network positions, and more
- **Simulation Management**: Run simulations on SLURM clusters with parameter sweeps
- **Analysis**: Process simulation results efficiently
## Development
### Code Quality Tools
BMTool now uses modern Python code quality tools to maintain high standards:
- **Ruff**: A fast Python linter for code style and error checking
- **Pyright**: Static type checker to catch type-related bugs early
To install development dependencies in your conda environment:
```bash
# Activate your conda environment
conda activate bmtk
# Install development dependencies
pip install -e ".[dev]"
```
To run the tools:
```bash
# Run Ruff linter
ruff check bmtool/
# Run Ruff with auto-fix
ruff check --fix bmtool/
# Run Pyright type checker
pyright
```
Raw data
{
"_id": null,
"home_page": "https://github.com/cyneuro/bmtool",
"name": "bmtool",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": null,
"author": "Neural Engineering Laboratory at the University of Missouri",
"author_email": "gregglickert@mail.missouri.edu",
"download_url": "https://files.pythonhosted.org/packages/7a/90/89e14923a540424a5927cd33a3b3126ca2b749100509fee250b423dfcc4c/bmtool-0.7.4.1.tar.gz",
"platform": null,
"description": "# bmtool\nA collection of modules to make developing [Neuron](https://www.neuron.yale.edu/neuron/) and [BMTK](https://alleninstitute.github.io/bmtk/) models easier.\n\n[](https://github.com/cyneuro/bmtool/blob/master/LICENSE)\n\n## In depth documentation and examples can be found [here](https://cyneuro.github.io/bmtool/)\n\n## Getting Started\n\n**Installation**\n```bash\npip install bmtool\n```\nFor developers who will be pulling down additional updates to this repository regularly use the following instead.\n```bash\ngit clone https://github.com/cyneuro/bmtool.git\ncd bmtool\npython setup.py develop\n```\nThen download updates (from this directory) with\n```bash\ngit pull\n```\n\nBMTool provides several modules to simplify the development of computational neuroscience models with NEURON and the Brain Modeling Toolkit (BMTK). It offers functionality for:\n\n- **Single Cell Modeling**: Analyze passive properties, current injection, FI curves, and impedance profiles\n- **Synapse Development**: Tools for tuning synaptic properties and gap junctions\n- **Network Construction**: Connectors for building complex network structures\n- **Visualization**: Plot connection matrices, network positions, and more\n- **Simulation Management**: Run simulations on SLURM clusters with parameter sweeps\n- **Analysis**: Process simulation results efficiently\n\n## Development\n\n### Code Quality Tools\n\nBMTool now uses modern Python code quality tools to maintain high standards:\n\n- **Ruff**: A fast Python linter for code style and error checking\n- **Pyright**: Static type checker to catch type-related bugs early\n\nTo install development dependencies in your conda environment:\n\n```bash\n# Activate your conda environment\nconda activate bmtk\n\n# Install development dependencies\npip install -e \".[dev]\"\n```\n\nTo run the tools:\n\n```bash\n# Run Ruff linter\nruff check bmtool/\n\n# Run Ruff with auto-fix\nruff check --fix bmtool/\n\n# Run Pyright type checker\npyright\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "BMTool",
"version": "0.7.4.1",
"project_urls": {
"Homepage": "https://github.com/cyneuro/bmtool"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "706b2db088cba44c4748393afe44cf551cb4b75ebe154e793f7b5d371f72df97",
"md5": "4c422a9ccad8957f84a0fbd19188cac0",
"sha256": "bfd2964568ab07e2320f055e47cd24101b143bc76715a06275c3c89039f72e37"
},
"downloads": -1,
"filename": "bmtool-0.7.4.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4c422a9ccad8957f84a0fbd19188cac0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 156001,
"upload_time": "2025-08-21T18:30:58",
"upload_time_iso_8601": "2025-08-21T18:30:58.115510Z",
"url": "https://files.pythonhosted.org/packages/70/6b/2db088cba44c4748393afe44cf551cb4b75ebe154e793f7b5d371f72df97/bmtool-0.7.4.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "7a9089e14923a540424a5927cd33a3b3126ca2b749100509fee250b423dfcc4c",
"md5": "e517041593e3a969d0d638b9bcf20af2",
"sha256": "17ff8dc227d927f2eb822b72a6e51933ffde5ba2838f741890d29b3045e73345"
},
"downloads": -1,
"filename": "bmtool-0.7.4.1.tar.gz",
"has_sig": false,
"md5_digest": "e517041593e3a969d0d638b9bcf20af2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 148700,
"upload_time": "2025-08-21T18:30:59",
"upload_time_iso_8601": "2025-08-21T18:30:59.561773Z",
"url": "https://files.pythonhosted.org/packages/7a/90/89e14923a540424a5927cd33a3b3126ca2b749100509fee250b423dfcc4c/bmtool-0.7.4.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-21 18:30:59",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "cyneuro",
"github_project": "bmtool",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "bmtool"
}