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 Debian package Fedora package Spack AUR version Publish status on GitHub Actions Docker Pulls https://zenodo.org/badge/DOI/10.5281/zenodo.8099373.svg https://archive.softwareheritage.org/badge/origin/https://github.com/brian-team/brian2/ https://archive.softwareheritage.org/badge/swh:1:rel:e4d609023553bfbd62bf57960dd6f9d342a1d0e8/ Contributor Covenant Discourse topics Discourse chat code style: black

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 (cf. setup.py):

  • Python >= 3.9

  • NumPy >=1.21

  • SymPy >= 1.2

  • Cython >= 0.29.21

  • PyParsing

  • Jinja2 >= 2.7

  • setuptools >= 61

  • 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 (>=7)

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.6.0.tar.gz (1.7 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.6.0-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

Brian2-2.6.0-cp312-cp312-musllinux_1_1_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.12musllinux: musl 1.1+ x86-64

Brian2-2.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

Brian2-2.6.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

Brian2-2.6.0-cp312-cp312-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

Brian2-2.6.0-cp312-cp312-macosx_10_9_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 10.9+ x86-64

Brian2-2.6.0-cp311-cp311-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11Windows x86-64

Brian2-2.6.0-cp311-cp311-musllinux_1_1_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.11musllinux: musl 1.1+ x86-64

Brian2-2.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

Brian2-2.6.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

Brian2-2.6.0-cp311-cp311-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

Brian2-2.6.0-cp311-cp311-macosx_10_9_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

Brian2-2.6.0-cp310-cp310-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.10Windows x86-64

Brian2-2.6.0-cp310-cp310-musllinux_1_1_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.10musllinux: musl 1.1+ x86-64

Brian2-2.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

Brian2-2.6.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

Brian2-2.6.0-cp310-cp310-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

Brian2-2.6.0-cp310-cp310-macosx_10_9_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

Brian2-2.6.0-cp39-cp39-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.9Windows x86-64

Brian2-2.6.0-cp39-cp39-musllinux_1_1_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.9musllinux: musl 1.1+ x86-64

Brian2-2.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

Brian2-2.6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.8 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

Brian2-2.6.0-cp39-cp39-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

Brian2-2.6.0-cp39-cp39-macosx_10_9_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: Brian2-2.6.0.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for Brian2-2.6.0.tar.gz
Algorithm Hash digest
SHA256 a98788327f25d95d829298f9018ed35a28459df67ffc970fe5569c5147d809fe
MD5 2aa647a19edc3e326e29851b9b3bce45
BLAKE2b-256 1c3b05963b406914604f930183e69a53fa9259b2580c2e953f257c39842b9e9f

See more details on using hashes here.

File details

Details for the file Brian2-2.6.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: Brian2-2.6.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for Brian2-2.6.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e5220f9c642299227541359a48fb27ab6d3cef81aa45703a67a9d076a52adc55
MD5 bd647da6eb6a2e4d2ae2ba5a15db66b2
BLAKE2b-256 a23737b49f264366593ce3a29a300955fd265b84acfb08d1242b9db038234100

See more details on using hashes here.

File details

Details for the file Brian2-2.6.0-cp312-cp312-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.6.0-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 841307275ab50ce30d86e39429a68bfc3911013c69d3ca215643994f6e8c1496
MD5 e0ed82b72922f5b028ce44bd18b9d049
BLAKE2b-256 6f62639762492e4eaadd645e3210e3cb8ed9abc623b43989fc65d9a56a4e0bed

See more details on using hashes here.

File details

Details for the file Brian2-2.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cea6b465eddbadaf643e19b38eb9360e3595455f9efba4c8631687e64bbd271d
MD5 589fed750051aaf0d31ea7ca2d58bca1
BLAKE2b-256 ac75ea07f9e9353c035d7b83de9b7bf034bceb245ec561138b3d3be607ea36a9

See more details on using hashes here.

File details

Details for the file Brian2-2.6.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for Brian2-2.6.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a260197be3229aa690c82253be8f435d68e95ed338d6a757c54cadebe22b9567
MD5 cfca60df5317a6e05abfb2fc6a934e86
BLAKE2b-256 bdef7462938dc59e8fbee8995bd1378a2c8f7373f69a3602e7bbbf3f1c5687f4

See more details on using hashes here.

File details

Details for the file Brian2-2.6.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for Brian2-2.6.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4dbc10027f8c0668ff58bf8bf6a55ce480cc5e6c7ffdce7732ff92c823001b94
MD5 37497524a95ecb56e614b297a0d3f373
BLAKE2b-256 223fb0f5acaac4e5a16db7225f62b4e74ce836644027f1630e0d93a3d2b2ea1f

See more details on using hashes here.

File details

Details for the file Brian2-2.6.0-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.6.0-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 50fa9dd8af1a9a8bffb853e5c99113d2be92bbbf252a175e3102dbdf46c561af
MD5 39cab3fb760c82dfe7ffc54500f6ba0f
BLAKE2b-256 f0f19c0f0510e9110d411d4766d745f10af8d830b1eeb580b33b05c0988a935f

See more details on using hashes here.

File details

Details for the file Brian2-2.6.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: Brian2-2.6.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for Brian2-2.6.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 47b49a90e6e4fc1d5a65173d704d3545a6c52ec6b60b79f2e1fd096922011114
MD5 d7505bbce28933edda3d3e22d36bd0e6
BLAKE2b-256 23dc84f4f086f684c4b10736c2dd00814f51be82c50be25fbbaefbf6b7b83bed

See more details on using hashes here.

File details

Details for the file Brian2-2.6.0-cp311-cp311-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.6.0-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 5fb712fd2e036d9a64a908d371b8193bf85a54c04c9f42bed8617ba74789e8fc
MD5 0a84e1398c79fdf991cfea6e82d5981a
BLAKE2b-256 2101ed2ddf2ea5152e8185f9747cf02ef9dbf5d5c26dbcd3e0306511c4a46a0a

See more details on using hashes here.

File details

Details for the file Brian2-2.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4a88f6daa741477cb539773dce5d6bf2d05a6eee553c40296cacbff2baae8ccc
MD5 576de6962f9c1a3474e3d6a168087197
BLAKE2b-256 af46324703a47323968db2746dd7ed9010489d1d3cc80afac9d2f4a7b11d6b63

See more details on using hashes here.

File details

Details for the file Brian2-2.6.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for Brian2-2.6.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bd917a1437ff6b303e0398eee3ce9c63c0c36969194fae332137d957ceaa7e3e
MD5 64e0c76fde0e7905ce7277bcef5e035f
BLAKE2b-256 b034c0c32f0256a1968942b52eab8da3a6c62a7f85a87e440494d577e8ef1738

See more details on using hashes here.

File details

Details for the file Brian2-2.6.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for Brian2-2.6.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f2225e7cf091a1104a5b79ad883256bd9b78ccf7c0c18c5f8aea0c6e96ca98be
MD5 0af02888b43dd1626d428e684de0c09c
BLAKE2b-256 ebe0a37c4a781b14db9677dd641a4d6ba2c7fc9d1d272bf8ccd0e261a584d383

See more details on using hashes here.

File details

Details for the file Brian2-2.6.0-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.6.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6b0eceba4373fb3328a5b609efd93bdb4ff30e2cba343aaf76f2b7e4089c3c34
MD5 5dd89580d08b12b411681c103a1a01bd
BLAKE2b-256 ce67a1830f1848f38c384b5e8a0fe430e2df11846229ec4522686e55c846938a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.6.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for Brian2-2.6.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 b85171da739b0b68f60aa96886cd22f33a26b0399734bd3a5030a4fd3b2a87b1
MD5 1d2fa54dab7aaefc0e59c5353de51069
BLAKE2b-256 9fd048e78575a2965741f55bceb82a501c6314f1d10a9d49795bd6cd3fb80d19

See more details on using hashes here.

File details

Details for the file Brian2-2.6.0-cp310-cp310-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.6.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 2d8a95dbd17b2e89d22028d68b853b3cea1fc9e88c853108d36af0fc9bfb9679
MD5 710fa2bc4f88c071cf94c0c690fca032
BLAKE2b-256 3eb1e931cc0f4327f2a79ed3387d2cbadb8f265ce81dc950c49cf4210be2c128

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d504e3feb104f27791b41aaac2557db303af78fb868978f49ba51934707a1fa2
MD5 46b367caf70f7d32fd464319d20bcc1b
BLAKE2b-256 24decf47d809012a1131e0ff7fd96a55ba64ce59f99b0a50407555b936a6b8e6

See more details on using hashes here.

File details

Details for the file Brian2-2.6.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for Brian2-2.6.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8963c04ee416933e0bb00dec286bd3bd1ec2cfdb2f59e7276fa631b5ffb590de
MD5 caa839b779f742337fcb7dc69422bfd2
BLAKE2b-256 04cb85a55a7f07713cfa8d815ca69b4e1a9fbc726ffb0915975dca8938c3a661

See more details on using hashes here.

File details

Details for the file Brian2-2.6.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for Brian2-2.6.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6ffbd16e7a90834ff6c8821fd2220a7423c7783b945e22bea25ddd01a5998926
MD5 cec8f9cd59b171db0467a9f8615b5e28
BLAKE2b-256 ffcbb340963fe3290f3e1232092ecda9fe821dd75c47ef1c11d9ebda12358cf3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.6.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a3588e3d6f073f518f12afee7a316ded3796178e3e1e5c42cd75986cf7e60013
MD5 48108062f42404ac658cba96615794d6
BLAKE2b-256 3c06106497434b28b11e5a41f446b60c707ce677fc4381a8111bb70227fbcd7c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.6.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for Brian2-2.6.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 6b1f1b07e30a15d20c8c8763fc7053d3f2a4cf82e54e3bebd62f90439abeb0b8
MD5 c81d932c16b9cd9bc1ba6bb832bb61b7
BLAKE2b-256 3ad49e9f6e5d8da84102ec2fa0f31aff86653d47fb2020895d7afb1c6feca760

See more details on using hashes here.

File details

Details for the file Brian2-2.6.0-cp39-cp39-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.6.0-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 8a64abde3d45a61e297170c9f6c4e26bdd9cb7e3ae3c795c9d6e6bf18126ce86
MD5 e2c2bafc1a0839e6fdf769db85aade2d
BLAKE2b-256 589ce96e5e0ba7955600a2c8b1ce94bdfdc28afed2060517046a7bb8ee5f1f1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 50a225aa87d1f7a6377e3176fa0fa49bea8f22cc04e721a14e3dceb46d3c949d
MD5 2a833157a2f53247170b01095c595b95
BLAKE2b-256 0d49597faf6edc571b73e39d94855b8b8d9d35b62f7ea0f9f066f7ea4ff8df2f

See more details on using hashes here.

File details

Details for the file Brian2-2.6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for Brian2-2.6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 730e74784d508f1438ef667444cc753700c0a92f1c76c255bf123d04da8143f4
MD5 7362538947abb3aab016442179e2877f
BLAKE2b-256 4c32e64144a1cad6c29a78d15922f26e579a38906c286827fd5604012d44130a

See more details on using hashes here.

File details

Details for the file Brian2-2.6.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for Brian2-2.6.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6e8c74457d896d7ce950c7fa9d2739db6b4e298dbd2ddd7d59b6d44a1dbdb785
MD5 bd8268929e35abe1ce6dd598e4595715
BLAKE2b-256 31532ca2af517063c2a16a95fa1337d13c3b18e4d19717853bcc84e7a780154d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.6.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2e440ce0954cb4b2c938d89ae6b301f9ef0e8e71d4c4922d207fc1f682c696dd
MD5 dcc35ac3c106b59671cf3f08dba5c603
BLAKE2b-256 470a5eadbfe8c1c1998b02ce4c5250866105f754e416860f8fe686a35be3ab00

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