Skip to main content

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 (https://github.com/brian-team/brian2/issues) or in the Brian forum (https://brian.discourse.group).

Documentation for Brian2 can be found at http://brian2.readthedocs.org

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.

https://img.shields.io/pypi/v/Brian2.svg https://img.shields.io/conda/vn/conda-forge/brian2.svg https://zenodo.org/badge/DOI/10.5281/zenodo.5735559.svg https://archive.softwareheritage.org/badge/swh:1:rel:43cda4fffc3c8365dd676b98f2eca2195510174a/ Contributor Covenant Join the chat at https://gitter.im/brian-team/brian2

Quickstart

Try out Brian on the mybinder service:

http://mybinder.org/badge.svg

Dependencies

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

Test status on GitHub Actions Test coverage Documentation Status

Metadata

Release files for Brian2 2.5.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Brian2 2.5.0.3
File Size Uploaded
Brian2-2.5.0.3.tar.gz 1.2 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for Brian2 2.5.0.3
File
Brian2-2.5.0.3-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
Brian2-2.5.0.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
Brian2-2.5.0.3-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details
Brian2-2.5.0.3-cp310-cp310-macosx_10_9_universal2.whl CPython 3.10 CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) Details
Brian2-2.5.0.3-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
Brian2-2.5.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
Brian2-2.5.0.3-cp39-cp39-macosx_10_9_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.9+ x86-64 Details
Brian2-2.5.0.3-cp39-cp39-macosx_10_9_universal2.whl CPython 3.9 CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64) Details
Brian2-2.5.0.3-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
Brian2-2.5.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details
Brian2-2.5.0.3-cp38-cp38-macosx_10_9_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.9+ x86-64 Details
Brian2-2.5.0.3-cp38-cp38-macosx_10_9_universal2.whl CPython 3.8 CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64) Details
Brian2-2.5.0.3-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
Brian2-2.5.0.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 Details
Brian2-2.5.0.3-cp37-cp37m-macosx_10_9_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 Details

Total release size: 18.0 MB

Release files / Brian2-2.5.0.3.tar.gz

Download URL Brian2-2.5.0.3.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
12a661d8e4fe13ede2c5b8e866ccad635a7339ee518096dfeaabd0ffa55f3b4d
BLAKE2b-256 checksum
How to use checksums
f5c8d34b8829d71c1f6d9f013fd471d82e009768c463d7eef9a1bbf54871710d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

Release files / Brian2-2.5.0.3-cp310-cp310-win_amd64.whl

Download URL Brian2-2.5.0.3-cp310-cp310-win_amd64.whl
Size 960.9 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
529eca3c9f4a0ef9cbc0632f74b16f6e9bed6a88fdd44b438c3ab047815197b1
BLAKE2b-256 checksum
How to use checksums
d849b6728489924dcfbf24a2ae0aad19474f4527b66e9002248cbaf47776a27e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

Release files / Brian2-2.5.0.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL Brian2-2.5.0.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.5 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
4d84213d7ba6613c74176116a31e5ab80efa4a51ab03d7139defacb8ddd09843
BLAKE2b-256 checksum
How to use checksums
ee78e498a966f9cd53fed3f2d03f57ebf8bba317145b2a31415e51cc61ff040d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

Release files / Brian2-2.5.0.3-cp310-cp310-macosx_10_9_x86_64.whl

Download URL Brian2-2.5.0.3-cp310-cp310-macosx_10_9_x86_64.whl
Size 960.6 kB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
3769f1d1395f8c8be78cbadd1114383e733f2674dc472c75b233e9c7882ef41e
BLAKE2b-256 checksum
How to use checksums
c14f6d7790cfcded2130004202f620ce78646a14479a2d7c6a0fe3ed8e6da2d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

Release files / Brian2-2.5.0.3-cp310-cp310-macosx_10_9_universal2.whl

Download URL Brian2-2.5.0.3-cp310-cp310-macosx_10_9_universal2.whl
Size 1.0 MB
Tags CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
39836b6098a4f3a0f2ed5a2299e597fee915f591c0ee599c60611766a0046e21
BLAKE2b-256 checksum
How to use checksums
697b14a747d54370243179d92d22201fd00c3e6cb939520c68ce9ae91efc8326
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

Release files / Brian2-2.5.0.3-cp39-cp39-win_amd64.whl

Download URL Brian2-2.5.0.3-cp39-cp39-win_amd64.whl
Size 960.5 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
90937931c2bc3907b26b648ea079aca59b4596f963cc773c70fd7d63e42aa02e
BLAKE2b-256 checksum
How to use checksums
a5d0a7b0a5ad6b0db7a4b0aec4956636c590cf370895cfc66b7218284cb65bf7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

Release files / Brian2-2.5.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL Brian2-2.5.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.5 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
78cabc406dead2bd8eb1a2cbe87f5ef9f847ecfef045da9689630203d49bd0d9
BLAKE2b-256 checksum
How to use checksums
838a6b6744b8d2edeb69b2c2cae560e7c05ea5d6fbe7e2b30cb94dd140087ccc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

Release files / Brian2-2.5.0.3-cp39-cp39-macosx_10_9_x86_64.whl

Download URL Brian2-2.5.0.3-cp39-cp39-macosx_10_9_x86_64.whl
Size 960.2 kB
Tags CPython 3.9 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
5afa2eeb93a735c23514803e507572c63b8c1bfa74a4b1878b5b3b9b9a5f81c4
BLAKE2b-256 checksum
How to use checksums
0db0af4c20ce93d177d8f046b9daac122c773d37cbbad276304e82c171c1f6c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

Release files / Brian2-2.5.0.3-cp39-cp39-macosx_10_9_universal2.whl

Download URL Brian2-2.5.0.3-cp39-cp39-macosx_10_9_universal2.whl
Size 1.0 MB
Tags CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
ba09f6587f8b8b1d8897a0533103cd335ec18608359cf99638165072cae6c104
BLAKE2b-256 checksum
How to use checksums
96f01216b75ebe132484f39ca9b5535cec1350fdec65fef43b0600c064af82d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

Release files / Brian2-2.5.0.3-cp38-cp38-win_amd64.whl

Download URL Brian2-2.5.0.3-cp38-cp38-win_amd64.whl
Size 961.4 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
2e3bad75ad78b4fbfeb7b141f47ade02f5db9d0c43d522b2b9641ff94afb9725
BLAKE2b-256 checksum
How to use checksums
a797c32613ede0f4af77835a945c17374f28b046fd483dedc1f0c13cf1bf120b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

Release files / Brian2-2.5.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL Brian2-2.5.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.5 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
79afcef603f980a3d72c0d235a0822d51aa6f6929b2cdb5c917763fc7d670c76
BLAKE2b-256 checksum
How to use checksums
05f0fa121487ba3f36dcd29b696810807c8ab1f8b9625f5b3eb98a97b35510ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

Release files / Brian2-2.5.0.3-cp38-cp38-macosx_10_9_x86_64.whl

Download URL Brian2-2.5.0.3-cp38-cp38-macosx_10_9_x86_64.whl
Size 958.8 kB
Tags CPython 3.8 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
c58cafdac54150e50e542379b3bd2a3175bb9c49cd840d0c5fe64956f0fe2dcc
BLAKE2b-256 checksum
How to use checksums
1a542e2d011d7a7bfb0c1864aa61fa7b2abb035d3468b3a62cc1302c31f52c25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

Release files / Brian2-2.5.0.3-cp38-cp38-macosx_10_9_universal2.whl

Download URL Brian2-2.5.0.3-cp38-cp38-macosx_10_9_universal2.whl
Size 1.0 MB
Tags CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
6d1ea91c8c64e5ca408f9374c6c74ff690b8e3f4939903d91e5d170a49c812fe
BLAKE2b-256 checksum
How to use checksums
7ef9e2d9e1ef2233ef4138eb267b834c532c470a2603dc313c3ec6bb237f3278
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

Release files / Brian2-2.5.0.3-cp37-cp37m-win_amd64.whl

Download URL Brian2-2.5.0.3-cp37-cp37m-win_amd64.whl
Size 959.0 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
006640d2c1728625db079d999426255b7c17280cca8045e20c670203a27bb4d9
BLAKE2b-256 checksum
How to use checksums
a19a13a64a4376f14a779e2f33d1fd790e58893d8356cdec409edc5f6ed01ae2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

Release files / Brian2-2.5.0.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL Brian2-2.5.0.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.5 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
426925f0664dd59cc158f9c072d79cac125524a5a81cbaea7cfb6cbe115b4295
BLAKE2b-256 checksum
How to use checksums
bdb0ada73a4059d761d55ab514dff0fb1d6d91d9a1c3fb4b7fbe802b5ca05a72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

Release files / Brian2-2.5.0.3-cp37-cp37m-macosx_10_9_x86_64.whl

Download URL Brian2-2.5.0.3-cp37-cp37m-macosx_10_9_x86_64.whl
Size 958.7 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
5751523943bc77bd46abfbe854a0eb14860381cfbb8f06edbaa7ab2e40e61518
BLAKE2b-256 checksum
How to use checksums
544bed086dc64549c06bb350f09de2ff97cf70f2fa71bbc2388a26b621349133
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

Release history Release notifications | RSS feed

2.9.0

19 release files

2.8.0

25 release files

2.6.0

25 release files

2.5.3

16 release files

2.5.2

16 release files

2.5.1

16 release files

This release

2.5.0.3 This release

16 release files

2.5

14 release files

2.4.2

1 release file

2.4.1

1 release file

2.4

1 release file

2.3

1 release file

2.2.2.1

1 release file

2.2.2

1 release file

2.2.1

1 release file

2.2

1 release file

2.1.3

10 release files

2.1

1 release file

2.0.2

1 release file

2.0.1

15 release files

2.0

15 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page