Skip to main content

A clock-driven simulator for spiking neural networks

Project description

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

Project details


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.3.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.3-cp310-cp310-win_amd64.whl (960.9 kB view details)

Uploaded CPython 3.10Windows x86-64

Brian2-2.5.0.3-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.3-cp310-cp310-macosx_10_9_x86_64.whl (960.6 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

Brian2-2.5.0.3-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.3-cp39-cp39-win_amd64.whl (960.5 kB view details)

Uploaded CPython 3.9Windows x86-64

Brian2-2.5.0.3-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.3-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.3-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.3-cp38-cp38-win_amd64.whl (961.4 kB view details)

Uploaded CPython 3.8Windows x86-64

Brian2-2.5.0.3-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.3-cp38-cp38-macosx_10_9_x86_64.whl (958.8 kB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

Brian2-2.5.0.3-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.3-cp37-cp37m-win_amd64.whl (959.0 kB view details)

Uploaded CPython 3.7mWindows x86-64

Brian2-2.5.0.3-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.3-cp37-cp37m-macosx_10_9_x86_64.whl (958.7 kB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: Brian2-2.5.0.3.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for Brian2-2.5.0.3.tar.gz
Algorithm Hash digest
SHA256 12a661d8e4fe13ede2c5b8e866ccad635a7339ee518096dfeaabd0ffa55f3b4d
MD5 d16816e638529001ca93050608d766de
BLAKE2b-256 f5c8d34b8829d71c1f6d9f013fd471d82e009768c463d7eef9a1bbf54871710d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.3-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 960.9 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using 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

File hashes

Hashes for Brian2-2.5.0.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 529eca3c9f4a0ef9cbc0632f74b16f6e9bed6a88fdd44b438c3ab047815197b1
MD5 4c58208d3a493fc7da6b39af9470293f
BLAKE2b-256 d849b6728489924dcfbf24a2ae0aad19474f4527b66e9002248cbaf47776a27e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.0.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4d84213d7ba6613c74176116a31e5ab80efa4a51ab03d7139defacb8ddd09843
MD5 524d9e9f5b8608372245a064ca031f03
BLAKE2b-256 ee78e498a966f9cd53fed3f2d03f57ebf8bba317145b2a31415e51cc61ff040d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.3-cp310-cp310-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 960.6 kB
  • Tags: CPython 3.10, macOS 10.9+ x86-64
  • Uploaded using 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

File hashes

Hashes for Brian2-2.5.0.3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3769f1d1395f8c8be78cbadd1114383e733f2674dc472c75b233e9c7882ef41e
MD5 91d70912c2e2fa034677d3ededba16b8
BLAKE2b-256 c14f6d7790cfcded2130004202f620ce78646a14479a2d7c6a0fe3ed8e6da2d8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.3-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.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

File hashes

Hashes for Brian2-2.5.0.3-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 39836b6098a4f3a0f2ed5a2299e597fee915f591c0ee599c60611766a0046e21
MD5 e9bc88b16bd3e7db2d6e642f46e40039
BLAKE2b-256 697b14a747d54370243179d92d22201fd00c3e6cb939520c68ce9ae91efc8326

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.3-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 960.5 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using 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

File hashes

Hashes for Brian2-2.5.0.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 90937931c2bc3907b26b648ea079aca59b4596f963cc773c70fd7d63e42aa02e
MD5 9b831f83e4216ad6a363c05bc7846e30
BLAKE2b-256 a5d0a7b0a5ad6b0db7a4b0aec4956636c590cf370895cfc66b7218284cb65bf7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 78cabc406dead2bd8eb1a2cbe87f5ef9f847ecfef045da9689630203d49bd0d9
MD5 cc5ecddf9df6d9a947601a4f74275ace
BLAKE2b-256 838a6b6744b8d2edeb69b2c2cae560e7c05ea5d6fbe7e2b30cb94dd140087ccc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.3-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.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

File hashes

Hashes for Brian2-2.5.0.3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5afa2eeb93a735c23514803e507572c63b8c1bfa74a4b1878b5b3b9b9a5f81c4
MD5 74b6de6460af6f9cb26a661bf93c9007
BLAKE2b-256 0db0af4c20ce93d177d8f046b9daac122c773d37cbbad276304e82c171c1f6c8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.3-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.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

File hashes

Hashes for Brian2-2.5.0.3-cp39-cp39-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 ba09f6587f8b8b1d8897a0533103cd335ec18608359cf99638165072cae6c104
MD5 11cc7f1160a83e758f569490feeb2cd7
BLAKE2b-256 96f01216b75ebe132484f39ca9b5535cec1350fdec65fef43b0600c064af82d1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.3-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 961.4 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using 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

File hashes

Hashes for Brian2-2.5.0.3-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 2e3bad75ad78b4fbfeb7b141f47ade02f5db9d0c43d522b2b9641ff94afb9725
MD5 fbd31c2ded4744bcab6ac27e2c93a742
BLAKE2b-256 a797c32613ede0f4af77835a945c17374f28b046fd483dedc1f0c13cf1bf120b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 79afcef603f980a3d72c0d235a0822d51aa6f6929b2cdb5c917763fc7d670c76
MD5 1da8f00b6543857954b804cb107023e1
BLAKE2b-256 05f0fa121487ba3f36dcd29b696810807c8ab1f8b9625f5b3eb98a97b35510ba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.3-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 958.8 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using 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

File hashes

Hashes for Brian2-2.5.0.3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c58cafdac54150e50e542379b3bd2a3175bb9c49cd840d0c5fe64956f0fe2dcc
MD5 ade95b73cc466aa5707e39db62abc964
BLAKE2b-256 1a542e2d011d7a7bfb0c1864aa61fa7b2abb035d3468b3a62cc1302c31f52c25

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.3-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.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

File hashes

Hashes for Brian2-2.5.0.3-cp38-cp38-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 6d1ea91c8c64e5ca408f9374c6c74ff690b8e3f4939903d91e5d170a49c812fe
MD5 9690de300bc39f62725dcfbf069b1863
BLAKE2b-256 7ef9e2d9e1ef2233ef4138eb267b834c532c470a2603dc313c3ec6bb237f3278

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.3-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 959.0 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using 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

File hashes

Hashes for Brian2-2.5.0.3-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 006640d2c1728625db079d999426255b7c17280cca8045e20c670203a27bb4d9
MD5 c119744f422f516be445857ee5b2f46e
BLAKE2b-256 a19a13a64a4376f14a779e2f33d1fd790e58893d8356cdec409edc5f6ed01ae2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.0.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 426925f0664dd59cc158f9c072d79cac125524a5a81cbaea7cfb6cbe115b4295
MD5 36a304e463d542b2eb61c5ac50bf2784
BLAKE2b-256 bdb0ada73a4059d761d55ab514dff0fb1d6d91d9a1c3fb4b7fbe802b5ca05a72

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.3-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 958.7 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using 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

File hashes

Hashes for Brian2-2.5.0.3-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5751523943bc77bd46abfbe854a0eb14860381cfbb8f06edbaa7ab2e40e61518
MD5 c1426f1e0fe6da27540d9c93a0c52a5b
BLAKE2b-256 544bed086dc64549c06bb350f09de2ff97cf70f2fa71bbc2388a26b621349133

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page