A clock-driven simulator for spiking neural networks

Brian is a free, open source simulator for spiking neural networks. It is written in the Python programming language and is available on almost all platforms. We believe that a simulator should not only save the time of processors, but also the time of scientists. Brian is therefore designed to be easy to learn and use, highly flexible and easily extensible.

Please report issues at the github issue tracker ( or in the Brian forum (

Documentation for Brian2 can be found at

Brian2 is released under the terms of the CeCILL 2.1 license <>_.

If you use Brian for your published research, we kindly ask you to cite our article:

Stimberg, M, Brette, R, Goodman, DFM. β€œBrian 2, an Intuitive and Efficient Neural Simulator.” eLife 8 (2019): e47314. doi: 10.7554/eLife.47314 <>_.

.. image:: :target:

.. image:: :target:

.. image:: :target:

.. image:: :target:;origin=;visit=swh:1:snp:6fc0b0ee08d92ed30604df9cfb9858f7db130f18

.. image:: :target: :alt: Contributor Covenant

.. image:: :alt: Join the chat at :target:


Try out Brian on the mybinder <>_ service:

.. image:: :target:


The following packages need to be installed to use Brian 2:

  • Python >= 3.7
  • NumPy >=1.17
  • SymPy >= 1.2
  • Cython >= 0.29
  • PyParsing
  • Jinja2 >= 2.7
  • setuptools >= 21
  • py-cpuinfo (only required on Windows)

For full functionality, you might also want to install:

  • GSL >=1.16
  • SciPy >=0.13.3
  • Matplotlib >= 2.0

To build the documentation:

  • Sphinx (>=1.8)

To run the test suite:

  • pytest
  • pytest-xdist (optional)

Testing status for master branch

.. image:: :target: :alt: Test status on GitHub Actions

.. image:: :target: :alt: Test coverage

.. image:: :target: :alt: Documentation Status


Brian is a free, open source simulator for spiking neural networks.

Brian2 Info

⭐ Stars 621
πŸ”— Homepage
πŸ”— Source Code
πŸ•’ Last Update 4 months ago
πŸ•’ Created 10 years ago
🐞 Open Issues 188
βž— Star-Issue Ratio 3
😎 Author brian-team