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.654861.svg https://archive.softwareheritage.org/badge/swh:1:rel:3f86a656a919ae3e6ed6dfc664e121ece3c85d75/ 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Brian2-2.5.0.1.tar.gz (1.2 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

Brian2-2.5.0.1-cp310-cp310-win_amd64.whl (960.4 kB view details)

Uploaded CPython 3.10Windows x86-64

Brian2-2.5.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

Brian2-2.5.0.1-cp310-cp310-macosx_10_9_x86_64.whl (960.2 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

Brian2-2.5.0.1-cp310-cp310-macosx_10_9_universal2.whl (1.0 MB view details)

Uploaded CPython 3.10macOS 10.9+ universal2 (ARM64, x86-64)

Brian2-2.5.0.1-cp39-cp39-win_amd64.whl (960.3 kB view details)

Uploaded CPython 3.9Windows x86-64

Brian2-2.5.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

Brian2-2.5.0.1-cp39-cp39-macosx_10_9_x86_64.whl (960.2 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

Brian2-2.5.0.1-cp39-cp39-macosx_10_9_universal2.whl (1.0 MB view details)

Uploaded CPython 3.9macOS 10.9+ universal2 (ARM64, x86-64)

Brian2-2.5.0.1-cp38-cp38-win_amd64.whl (960.9 kB view details)

Uploaded CPython 3.8Windows x86-64

Brian2-2.5.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

Brian2-2.5.0.1-cp38-cp38-macosx_10_9_x86_64.whl (958.2 kB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

Brian2-2.5.0.1-cp38-cp38-macosx_10_9_universal2.whl (1.0 MB view details)

Uploaded CPython 3.8macOS 10.9+ universal2 (ARM64, x86-64)

Brian2-2.5.0.1-cp37-cp37m-win_amd64.whl (958.5 kB view details)

Uploaded CPython 3.7mWindows x86-64

Brian2-2.5.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

Brian2-2.5.0.1-cp37-cp37m-macosx_10_9_x86_64.whl (958.1 kB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

File details

Details for the file Brian2-2.5.0.1.tar.gz.

File metadata

  • Download URL: Brian2-2.5.0.1.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for Brian2-2.5.0.1.tar.gz
Algorithm Hash digest
SHA256 1f719b563ae38658c4c59bac5aeb06b41970c6eedc52021ddf6d9254913733d3
MD5 d8bacaa5e58edef81641b273ecb41836
BLAKE2b-256 c143013cdfd8066c7129ffc56fcb0f78ba18cd91dc7928af6d1f57d8e23aedf1

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: Brian2-2.5.0.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 960.4 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for Brian2-2.5.0.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 7bb0449cb7bcbf01c7326edc7e5c503d89915352f646cafee821dba205f2fc0a
MD5 9cb35cb4b4f55b4bc6762deb9fdd349a
BLAKE2b-256 d6ec4dd12a246956d907c7a9664b9a87553c7d55dad7611b6bbd864a91541f24

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.5.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 91f3bf0c054768570480b28d47227374c40cc36f540c804be9edb4a9bd97d92e
MD5 b8d86080fcaea80f86c54ff1ab261cdf
BLAKE2b-256 c13dba69957adf43d25e368fd2669937d36a29174b21874438464748c124d8f3

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: Brian2-2.5.0.1-cp310-cp310-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 960.2 kB
  • Tags: CPython 3.10, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for Brian2-2.5.0.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 93b1a2fa554e6827717fa9e8b388f87d1842d9b36e43a12283d4b80f00daf76f
MD5 8ac08185ce98096e2b96ca784dcaf3f5
BLAKE2b-256 21d84522a341b5d6aea28fc0361c98a348a2227613bddeb373c5b8db8258e663

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

  • Download URL: Brian2-2.5.0.1-cp310-cp310-macosx_10_9_universal2.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.10, macOS 10.9+ universal2 (ARM64, x86-64)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for Brian2-2.5.0.1-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 c30aad8655965bde4f16e034a57cb443bfd40a7163d69768a3f9e44c2b8cd1d6
MD5 0825d179d0ddf0e9de712934b056bac3
BLAKE2b-256 4ea08eb268913b59e531303d7a899db0e47371e2869e418b58e1fdeaaa473f8b

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: Brian2-2.5.0.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 960.3 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for Brian2-2.5.0.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 6eb25d50c565d8edb4eb72889d8fadd69e0cf250d793fc5d67b81e74d3f0aded
MD5 257cf7f3e494b0dae3898c80c23dd7a1
BLAKE2b-256 515d8137ec0b423dbfe4fa892473fdb0191b6c7fb77be2587dbd2c7c2338b9ad

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.5.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ae5bee277112d1f98148751679a1d31a30736b0376c6bcc25e84c0bbf59c86b5
MD5 6003badce3b589b77836cacb4f6c10cb
BLAKE2b-256 b45d5141b24506642d55aeed1f591c5f28bd1a45e3760d0e5422e905760a4684

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: Brian2-2.5.0.1-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 960.2 kB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for Brian2-2.5.0.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 08c68ea977591466f66936cdeb4a8d247c5125c7852b653768ab5454ab6ab8c3
MD5 d4a52116eaca7055864a55187d31f30b
BLAKE2b-256 2736f8891c4fec86e4353e0de12738f1ebe46d4c5e7b976fe9b4ef6a06c8b6f4

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1-cp39-cp39-macosx_10_9_universal2.whl.

File metadata

  • Download URL: Brian2-2.5.0.1-cp39-cp39-macosx_10_9_universal2.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.9, macOS 10.9+ universal2 (ARM64, x86-64)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for Brian2-2.5.0.1-cp39-cp39-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 47546dfd6ffbaeb1b4f07678cd91ca6acc73b33e32aace47514c8ce0021c5f9d
MD5 1317627be1f7390cb6438ceeacdf3472
BLAKE2b-256 d516b251bceaf6c1f19422494f0302a5766b58509b0e7828aad16c3d5bf550e7

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: Brian2-2.5.0.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 960.9 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for Brian2-2.5.0.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 91317a2fc2b60ebab9e5af4eb3f9ac7615f4dd0d7f7598b88315577ca2269f98
MD5 022e47e7afb5c1ac74c88e0f2a119568
BLAKE2b-256 b92f8236f365bcc0b222b4cf951372118145387a42b42755e40606898909c8d1

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.5.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 94f7d1ae557afa02c23ba6ad27c8f8cf74011807893ff6674e6053b14b1fdcbf
MD5 e2a763d62ca063b15cf6c4d053cf5dda
BLAKE2b-256 9d72c961e0e7fe7b447ca48ae2bada5395b02b75ecc4e98ab181b10248fca7a4

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: Brian2-2.5.0.1-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 958.2 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for Brian2-2.5.0.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b862bef8b61b458efd80d22bc226fb370dbf2d7d5aa049308b453546cb92dd98
MD5 96495417986a30cf085530a9380e33af
BLAKE2b-256 d6090fecefd1679e9c70fec13c791145e1fc50a1844173253c290d546494a2d6

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1-cp38-cp38-macosx_10_9_universal2.whl.

File metadata

  • Download URL: Brian2-2.5.0.1-cp38-cp38-macosx_10_9_universal2.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.8, macOS 10.9+ universal2 (ARM64, x86-64)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for Brian2-2.5.0.1-cp38-cp38-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 b7f6be4ec6de6b8dedfa846d3bda9e350d3353d13c355ec963ebd6596200691b
MD5 205e69b9303ab92b85c9b4975dee0caf
BLAKE2b-256 863af4a01cf5ee55f8fa9e2b4f3b63eac3ff62abc25ec8ca81a5ad5da98f1327

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: Brian2-2.5.0.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 958.5 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for Brian2-2.5.0.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 5e9a74da47d970eaf8434644c773dcee2aa2f68fa713748642a14cd3b8c648d5
MD5 784cfce021732976b30c91ee07194847
BLAKE2b-256 9d58659a24a17baf66e1b3a95e37e9cfc07e4efd35e2ff67ff66173f955d2e52

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.5.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b853795f2e965422f307f4819598ad5f6061e92d17543aa0e8cee88156bb5300
MD5 610fb9c51587c9f711f4b455792f30c6
BLAKE2b-256 d2866fed1c70827f97ffdd9541e7a7a6f911f0695f94db7e7268ac2e90d605c9

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: Brian2-2.5.0.1-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 958.1 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for Brian2-2.5.0.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b3588afeb44c89c1955ad63abea786ab846687e1c345825ea07011a80ed9170c
MD5 af753da4fc67bada246ba055b3d49bb1
BLAKE2b-256 e40485d9db9d78f1172478453c2c8b09d45cda8a4c33bd7e88d1db7fa15e2fcd

See more details on using hashes here.

Release history Release notifications | RSS feed

2.10.1

25 files

2.10.0

25 files

2.9.0

19 files

2.8.0.4

25 files

2.8.0.1

25 files

2.8.0

25 files

2.7.1

19 files

2.7.0

19 files

2.6.0

25 files

2.5.4

19 files

2.5.3

16 files

2.5.2

16 files

2.5.1

16 files

2.5.0.3

16 files

2.5.0.2

16 files

This release

2.5.0.1 This release

16 files

2.5

14 files

2.4.2

1 file

2.4.1

1 file

2.4

1 file

2.3.0.2

1 file

2.3.0.1

1 file

2.3

1 file

2.2.2.1

1 file

2.2.2

1 file

2.2.1

1 file

2.2

1 file

2.1.3.1

9 files

2.1.3

10 files

2.1.2

13 files

2.1.1

13 files

2.1

1 file

2.0.2.1

1 file

2.0.2

1 file

2.0.1

15 files

2.0

15 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