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.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

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.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-cp39-cp39-win_amd64.whl (960.2 kB view details)

Uploaded CPython 3.9Windows x86-64

Brian2-2.5-cp39-cp39-manylinux2010_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.12+ x86-64

Brian2-2.5-cp39-cp39-manylinux1_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.9

Brian2-2.5-cp39-cp39-macosx_10_9_x86_64.whl (960.1 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

Brian2-2.5-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-cp38-cp38-win_amd64.whl (960.8 kB view details)

Uploaded CPython 3.8Windows x86-64

Brian2-2.5-cp38-cp38-manylinux2010_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

Brian2-2.5-cp38-cp38-manylinux1_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.8

Brian2-2.5-cp38-cp38-macosx_10_9_x86_64.whl (958.1 kB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

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

Uploaded CPython 3.7mWindows x86-64

Brian2-2.5-cp37-cp37m-manylinux2010_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

Brian2-2.5-cp37-cp37m-manylinux1_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.7m

Brian2-2.5-cp37-cp37m-macosx_10_9_x86_64.whl (958.0 kB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: Brian2-2.5.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.tar.gz
Algorithm Hash digest
SHA256 782e9e73304064a8a26d846c9ddd532452265394ed260ce9413725961b1081d3
MD5 54725598c2858b75bfb95822412feb7c
BLAKE2b-256 137447e7f13e35b7fee0368620ad39a3eb29c3cce4038ef96d0279858ec48a7a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 960.2 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-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 3b387e0a34db4c07ad73a86ac220057894dbadbeba535aa575ed9552abf451a7
MD5 9b708d213405055f6c5d2a60c7b32e7d
BLAKE2b-256 148a5d5baf102cf73f7a7259c4d885a76d6b7d5e6f079430113276ab1dd06e73

See more details on using hashes here.

File details

Details for the file Brian2-2.5-cp39-cp39-manylinux2010_x86_64.whl.

File metadata

  • Download URL: Brian2-2.5-cp39-cp39-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.9, manylinux: glibc 2.12+ 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-cp39-cp39-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 c8dfae15bbfda11b0d53dc1a3d0d447a3f39ba6c82b45a1eabf2bcf3b53e7b8b
MD5 c94d03bd6abb909daf6c2dfce77f13ee
BLAKE2b-256 fadf0da60ecae6a9030ebaab45e17effe788314173cd06380a978363a71ce772

See more details on using hashes here.

File details

Details for the file Brian2-2.5-cp39-cp39-manylinux1_x86_64.whl.

File metadata

  • Download URL: Brian2-2.5-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.9
  • 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-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 49dea9621a8fdb457434929e9453bdd1ca0621f3c4ed6ec480195a90ebedbc41
MD5 85767e7484c6406b506812454b6302ed
BLAKE2b-256 99a3d5123a320fa81526a4b7408afea68bc5652854c5f2b3a47f96c62572239e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 960.1 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-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5a866bdd56e3ff99daef46b73dce7e10e02e78ac249e038e9a7cb1a76a5b6e54
MD5 c52bdbd6ecf4ceb19c7ae4b88360a68b
BLAKE2b-256 9c0201932bd963ceca79a93c56f38b91603e88181a0f5b3f31f518545b3c5f2b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5-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-cp39-cp39-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 2c4e2c56ff6fc2351861984d8d7959c224fe609adfce9900293a2529b8db678e
MD5 ee99f460d43bae30f2321619eae5b979
BLAKE2b-256 c9b935293814e86432539b1aaee5dc074cc8e59f625ab5352f90188127273ccc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 960.8 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-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 7222032201b40accf4d7d4fa1453bbdf497971d49c1727652d29599886a71f99
MD5 0aecea92f4111265983d5f818a8b2812
BLAKE2b-256 f543cbf3b6e2565446643872e041f05e08d8f09f20e032fd2d03e4db4c4eaebd

See more details on using hashes here.

File details

Details for the file Brian2-2.5-cp38-cp38-manylinux2010_x86_64.whl.

File metadata

  • Download URL: Brian2-2.5-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ 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-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 2b8f9e1ad0d2dbefaeb018506f0cdf118034c6c4cd35d9f4dd682fc1196ebbc1
MD5 645b8a26860a3ff8e8139684cd655f8e
BLAKE2b-256 ac59aac32eb2debd7357bb6b6b90550395df8047fb31aef087ad7c97ea67a0a1

See more details on using hashes here.

File details

Details for the file Brian2-2.5-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: Brian2-2.5-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.8
  • 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-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b60882eef9f7a381945588be36394f13ead9f062fc3b9069942f3341d99e9f37
MD5 ae0d07a7bc9e21a189bbbbe92ec6b7f2
BLAKE2b-256 f89d71f995c438c2d3c550b885e6a3b70d2f8820ceff89b5b9bf915eb3be6e0a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 958.1 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-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9759c4a635cc150a55c5af51b00a6449b09cd2817f9bc71a3dd2c0f6dc77e90b
MD5 97ae265d966342c8613ffd2502f29d70
BLAKE2b-256 07c8921c4cfce8995cd01da01db23287fe3ea28bd3e1abd2ffe534a2925392e6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5-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-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 c4e2c4645618433dc20a01dafe100688f76d208420309eaefc04b272e8b9a04c
MD5 3fce02ac600133734a669cf91ed44b46
BLAKE2b-256 79d635b77bedda5ef5baaca569e07934be928947600def6a587a4f40d02aa196

See more details on using hashes here.

File details

Details for the file Brian2-2.5-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: Brian2-2.5-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ 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-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 6806b7ef5389bc2b174daa3552c8dc719b2d5d859be7c8dec21247edd50fd663
MD5 3d2eecad20f1f04be51412e6f1f31e4b
BLAKE2b-256 a497fa537933420d788b6acca6085820c0187e653be019e24e167a57d512136c

See more details on using hashes here.

File details

Details for the file Brian2-2.5-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: Brian2-2.5-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.7m
  • 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-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ffb48a0c1197780a8546ba25b897a0bdda73ec2865fa375170020a332a466449
MD5 db48e5eed7861aed297b3052016d0659
BLAKE2b-256 21e81679ec778f5e4637f9f62117717670391aaba771240ca411b60e512aca48

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 958.0 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-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7975b4d9b932730db6c4c13480c1553536bb46a24f1deb7ac83dfbe9dd60952b
MD5 e5a70e4df3c7a5457593e084f7ed5cb1
BLAKE2b-256 6bd7d04ff118750836f9517e0fc1f187fc0c581b197bf347bb44d785df16544f

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