Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.1.post0.dev5

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.1.post0.dev5
File Size Uploaded
Brian2-2.5.0.1.post0.dev5.tar.gz 1.2 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for Brian2 2.5.0.1.post0.dev5
File
Brian2-2.5.0.1.post0.dev5-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
Brian2-2.5.0.1.post0.dev5-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.1.post0.dev5-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details
Brian2-2.5.0.1.post0.dev5-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.1.post0.dev5-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
Brian2-2.5.0.1.post0.dev5-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.1.post0.dev5-cp39-cp39-macosx_10_9_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.9+ x86-64 Details
Brian2-2.5.0.1.post0.dev5-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.1.post0.dev5-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
Brian2-2.5.0.1.post0.dev5-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.1.post0.dev5-cp38-cp38-macosx_10_9_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.9+ x86-64 Details
Brian2-2.5.0.1.post0.dev5-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.1.post0.dev5-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
Brian2-2.5.0.1.post0.dev5-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.1.post0.dev5-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.1.post0.dev5.tar.gz

Download URL Brian2-2.5.0.1.post0.dev5.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
a5728080af83f88427ba6f7ec67fbb703bebd7265c63cf633a09d057f5da08af
BLAKE2b-256 checksum
How to use checksums
1551c2d3218f503575f5d2bc14fc5b6316e61266d4cf539d5e52604ed9b7be93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

Release files / Brian2-2.5.0.1.post0.dev5-cp310-cp310-win_amd64.whl

Download URL Brian2-2.5.0.1.post0.dev5-cp310-cp310-win_amd64.whl
Size 960.8 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
25a6d16ce4c77264115e74bac8d168dd1ff95615bef9d52ec2c86dd589181f82
BLAKE2b-256 checksum
How to use checksums
c5cf71feba3011e634d92512fe5206c87ea6e0dedc38218353687b61d8575429
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Release files / Brian2-2.5.0.1.post0.dev5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL Brian2-2.5.0.1.post0.dev5-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
d47f2a83e5729458859f99751d83972c1daf01954d3ea42cd8b7c0cdea019bd2
BLAKE2b-256 checksum
How to use checksums
a5f1da5043e425137a03123f039350738be1c8bb0d876a83f30761451b6f4dd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

Release files / Brian2-2.5.0.1.post0.dev5-cp310-cp310-macosx_10_9_x86_64.whl

Download URL Brian2-2.5.0.1.post0.dev5-cp310-cp310-macosx_10_9_x86_64.whl
Size 960.5 kB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
76e99a4275d2e10c19075acd56c877a3576467a7824811e90c48c670c950b646
BLAKE2b-256 checksum
How to use checksums
cf9a8f8b4aa4579e504afd49c25decd6f3b1cf1ce1bdc7254bb126644ba1ebf8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Release files / Brian2-2.5.0.1.post0.dev5-cp310-cp310-macosx_10_9_universal2.whl

Download URL Brian2-2.5.0.1.post0.dev5-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
bd0ebf0d2f17b08776e9caae11d822b227ee4b10cbef88a3b03ab4ccc2cd94f3
BLAKE2b-256 checksum
How to use checksums
9a01c7d6776e87cf385829913e24dea4ed7803d456c3815f3b794b363ca38cd6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Release files / Brian2-2.5.0.1.post0.dev5-cp39-cp39-win_amd64.whl

Download URL Brian2-2.5.0.1.post0.dev5-cp39-cp39-win_amd64.whl
Size 960.7 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
70430177212361b740d78c01bdaf3568d5f2b8b686234a427827bd927b6b4274
BLAKE2b-256 checksum
How to use checksums
778e78cc19a6a12995beffa8a3f937bb9283ea6fdc9749f0d4177dab42c137ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Release files / Brian2-2.5.0.1.post0.dev5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL Brian2-2.5.0.1.post0.dev5-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
257fb4cf2413ba5dea98aa55203aeab6f583f2a1e36b4106ff5300764869f14e
BLAKE2b-256 checksum
How to use checksums
04b694adeec3006f64fe78ed71cfc64769f77e8481e595c56b842036f9ec8675
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

Release files / Brian2-2.5.0.1.post0.dev5-cp39-cp39-macosx_10_9_x86_64.whl

Download URL Brian2-2.5.0.1.post0.dev5-cp39-cp39-macosx_10_9_x86_64.whl
Size 960.5 kB
Tags CPython 3.9 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
fdf430da995fdb9c889e756acd1e257bb6486362ca7b318d37c549fe0dcce96b
BLAKE2b-256 checksum
How to use checksums
5962dfff6ebe0af9d03ea10a76d24a2891d33d0307a6f37f2d181c24f258e6fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Release files / Brian2-2.5.0.1.post0.dev5-cp39-cp39-macosx_10_9_universal2.whl

Download URL Brian2-2.5.0.1.post0.dev5-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
c43aca9d4d1cfb0d4a9a5eed9d5cdf56192a5cc2a4a170bde80b75fb7981c173
BLAKE2b-256 checksum
How to use checksums
0e527e857a292f5d5b6da84e8c9e50cd43f45433d31e09199c34aabd03ba491b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Release files / Brian2-2.5.0.1.post0.dev5-cp38-cp38-win_amd64.whl

Download URL Brian2-2.5.0.1.post0.dev5-cp38-cp38-win_amd64.whl
Size 961.2 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
c83145b0c1b563e98fa91d0ddcfafc8063a8fde8ad93aeec169c05dd81decba0
BLAKE2b-256 checksum
How to use checksums
7b51b12a5b51084070724e04b9e69af3b697f23545a5036c76c9a7d0df0d9d06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Release files / Brian2-2.5.0.1.post0.dev5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL Brian2-2.5.0.1.post0.dev5-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
cba9e3abdb9baa1957f79992932a12648ab78259221dcfa310162c702a507b94
BLAKE2b-256 checksum
How to use checksums
82fb643fbe22a33d800338130946e633316fc24fd36071f84b38d1e24c2386d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

Release files / Brian2-2.5.0.1.post0.dev5-cp38-cp38-macosx_10_9_x86_64.whl

Download URL Brian2-2.5.0.1.post0.dev5-cp38-cp38-macosx_10_9_x86_64.whl
Size 958.6 kB
Tags CPython 3.8 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
415f0ac89834a074aafa66af448d54ba3afbf6f5fd6c99403d6b1df4e9beaadb
BLAKE2b-256 checksum
How to use checksums
c712b0c01a7765343300958c574dbc8d64fdf5c7cb6f246fe922ea06561a0117
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Release files / Brian2-2.5.0.1.post0.dev5-cp38-cp38-macosx_10_9_universal2.whl

Download URL Brian2-2.5.0.1.post0.dev5-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
3cb213468970a6834ba3ae1402407c43fb2755f05d4412b5a7b3e049efe9850b
BLAKE2b-256 checksum
How to use checksums
a00275f5e3f53fa01d4a545c4009a7c58d132e17843b30066652c35e64b98928
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Release files / Brian2-2.5.0.1.post0.dev5-cp37-cp37m-win_amd64.whl

Download URL Brian2-2.5.0.1.post0.dev5-cp37-cp37m-win_amd64.whl
Size 958.8 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
aed9d26408941d2f70e79cfc75709ccaa47f820de05e81eeadaa099dcd320cf8
BLAKE2b-256 checksum
How to use checksums
a02a1701079001c8e8b9eefbcdc772546e8e523c789a39831653fee9b6caac7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Release files / Brian2-2.5.0.1.post0.dev5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL Brian2-2.5.0.1.post0.dev5-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
32ecf0124f07f33ae18a9d85c269bbc9cca10957d590012c6feacc2d9a86f188
BLAKE2b-256 checksum
How to use checksums
c2ee3498a9d587ed80d924e220629e226951781ef4e09fd308309d0c3713111f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

Release files / Brian2-2.5.0.1.post0.dev5-cp37-cp37m-macosx_10_9_x86_64.whl

Download URL Brian2-2.5.0.1.post0.dev5-cp37-cp37m-macosx_10_9_x86_64.whl
Size 958.5 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
a7e21200a71b1bd9a5ba6381d0f762c6c903f6c7ae95d35fa5665122b3ea8419
BLAKE2b-256 checksum
How to use checksums
0dac888055306f28a58806124bc26f1ff16920945581fdeea66c1b32017b18aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

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

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