semvec/pypi-packages huggingface dataset:
brainscale 0.1.0
Enabling Scalable Online Learning for Brain Dynamics.
License: Apache-2.0 license
Requires Python: >=3.10
Keywords: computational neuroscience, brain-inspired computing, brain modeling, online learning

<h1 align="center">BrainScale</h1>
<h2 align="center">Scalable Online Learning for Brain Dynamics</h2>

<p align="center">
  	<img alt="Header image of brainscale." src="https://raw.githubusercontent.com/chaobrain/brainscale/main/docs/_static/brainscale.png" width=40%>
</p>

<p align="center">
	<a href="https://pypi.org/project/brainscale/"><img alt="Supported Python Version" src="https://img.shields.io/pypi/pyversions/brainscale"></a>
	<a href="https://github.com/chaobrain/brainscale/blob/main/LICENSE"><img alt="LICENSE" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a>
  	<a href="https://brainscale.readthedocs.io/?badge=latest"><img alt="Documentation" src="https://readthedocs.org/projects/brainscale/badge/?version=latest"></a>
  	<a href="https://badge.fury.io/py/brainscale"><img alt="PyPI version" src="https://badge.fury.io/py/brainscale.svg"></a>
    <a href="https://github.com/chaobrain/brainscale/actions/workflows/CI.yml"><img alt="Continuous Integration" src="https://github.com/chaobrain/brainscale/actions/workflows/CI.yml/badge.svg"></a>
</p>

[``brainscale``](https://github.com/chaobrain/brainscale) provides online learning algorithms for biological neural networks.
It has been integrated into our establishing [brain modeling ecosystem](https://brainmodeling.readthedocs.io/).

## Installation

``brainscale`` can run on Python 3.10+ installed on Linux, MacOS, and Windows. You can install ``brainscale`` via pip:

```bash
pip install brainscale --upgrade
```

Alternatively, you can install `BrainX`, which bundles `brainscale` with other compatible packages for a comprehensive brain modeling ecosystem:

```bash
pip install BrainX -U
```

## Documentation

The official documentation is hosted on Read the Docs: [https://brainscale.readthedocs.io](https://brainscale.readthedocs.io)

## Citation

If you use this package in your research, please cite:

```bibtex
@article {Wang2024.09.24.614728,
	author = {Wang, Chaoming and Dong, Xingsi and Ji, Zilong and Jiang, Jiedong and Liu, Xiao and Wu, Si},
	title = {BrainScale: Enabling Scalable Online Learning in Spiking Neural Networks},
	elocation-id = {2024.09.24.614728},
	year = {2025},
	doi = {10.1101/2024.09.24.614728},
	publisher = {Cold Spring Harbor Laboratory},
	URL = {https://www.biorxiv.org/content/early/2025/07/27/2024.09.24.614728},
	eprint = {https://www.biorxiv.org/content/early/2025/07/27/2024.09.24.614728.full.pdf},
	journal = {bioRxiv}
}
```

## See also the ecosystem

``brainscale`` is one part of our brain simulation ecosystem: https://brainmodeling.readthedocs.io/