Skip to main content

Brian2

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.

PyPI version Conda version Debian package Fedora package Spack AUR version

Docker Pulls DOI Software Heritage (repository) Software Heritage (release)

Contributor Covenant Discourse topics Discourse chat code style: black

Quickstart

Try out Brian on the mybinder service:

mybinder

Dependencies

The following packages need to be installed to use Brian 2 (cf. pyproject.toml):

  • Python >= 3.10
  • NumPy >=1.23
  • 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 Publish status on GitHub Actions Test coverage Documentation Status

Metadata

Release files for Brian2 2.7.1

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.7.1
File Size Uploaded Provenance Actions
brian2-2.7.1.tar.gz 1.7 MB Without provenance Details for brian2-2.7.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for Brian2 2.7.1
File Actions
Brian2-2.7.1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for Brian2-2.7.1-cp312-cp312-win_amd64.whl
Brian2-2.7.1-cp312-cp312-musllinux_1_2_x86_64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ x86-64 Details for Brian2-2.7.1-cp312-cp312-musllinux_1_2_x86_64.whl
Brian2-2.7.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details for Brian2-2.7.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Brian2-2.7.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ ARM64 Details for Brian2-2.7.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Brian2-2.7.1-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for Brian2-2.7.1-cp312-cp312-macosx_11_0_arm64.whl
Brian2-2.7.1-cp312-cp312-macosx_10_9_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.9+ x86-64 Details for Brian2-2.7.1-cp312-cp312-macosx_10_9_x86_64.whl
Brian2-2.7.1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for Brian2-2.7.1-cp311-cp311-win_amd64.whl
Brian2-2.7.1-cp311-cp311-musllinux_1_2_x86_64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ x86-64 Details for Brian2-2.7.1-cp311-cp311-musllinux_1_2_x86_64.whl
Brian2-2.7.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details for Brian2-2.7.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Brian2-2.7.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ ARM64 Details for Brian2-2.7.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Brian2-2.7.1-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for Brian2-2.7.1-cp311-cp311-macosx_11_0_arm64.whl
Brian2-2.7.1-cp311-cp311-macosx_10_9_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.9+ x86-64 Details for Brian2-2.7.1-cp311-cp311-macosx_10_9_x86_64.whl
Brian2-2.7.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for Brian2-2.7.1-cp310-cp310-win_amd64.whl
Brian2-2.7.1-cp310-cp310-musllinux_1_2_x86_64.whl CPython 3.10 CPython 3.10 Linux musl 1.2+ x86-64 Details for Brian2-2.7.1-cp310-cp310-musllinux_1_2_x86_64.whl
Brian2-2.7.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details for Brian2-2.7.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Brian2-2.7.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ ARM64 Details for Brian2-2.7.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Brian2-2.7.1-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for Brian2-2.7.1-cp310-cp310-macosx_11_0_arm64.whl
Brian2-2.7.1-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details for Brian2-2.7.1-cp310-cp310-macosx_10_9_x86_64.whl

Total release size: 31.4 MB

Release files / brian2-2.7.1.tar.gz

Download URL brian2-2.7.1.tar.gz
Size 1.7 MB
Tags Source
SHA-256 checksum
How to use checksums
9a9d71a3aa28626db5b3a15871e81076c1e65601fcd6eb15f487c833418cee57
BLAKE2b-256 checksum
How to use checksums
7bbff191f929d6ca493765edb770950c73f202298f832c10d677c9c8cc66590b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / Brian2-2.7.1-cp312-cp312-win_amd64.whl

Download URL Brian2-2.7.1-cp312-cp312-win_amd64.whl
Size 1.2 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
3753cefe997c75fb879c42e4d91b9c359e37df001e3a7344e86b571da513d80d
BLAKE2b-256 checksum
How to use checksums
7a5fcac2f7882e0c78d6a4ba09e84f9f537ee8711317184fa4a47555abe4c593
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / Brian2-2.7.1-cp312-cp312-musllinux_1_2_x86_64.whl

Download URL Brian2-2.7.1-cp312-cp312-musllinux_1_2_x86_64.whl
Size 2.8 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
e59571f75b35a8ffc94ea3ca8ebf60ab3be5486d2e1c3d65a5e5e9f1a9f47405
BLAKE2b-256 checksum
How to use checksums
98c9986980b26002a3550eee2ba2846650d2a38f69a3f72f7d2305dc83e229e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / Brian2-2.7.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL Brian2-2.7.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.8 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
3646dd8cd85bb89b9ebcac33a2f653b12b7ce09ddbebfbabc102ffaa74de249d
BLAKE2b-256 checksum
How to use checksums
6c2074dd3f31dbe9c01ffb7715aaedf9941cc5f1599ff9c969b69a81f6e76f4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / Brian2-2.7.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL Brian2-2.7.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 1.8 MB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
21c5aa2a6b094acf9d62df27d14a031f5627272831bce38589573053446793d6
BLAKE2b-256 checksum
How to use checksums
d0f3d420a5a82934a4b2c0fa76738f6917b79ede1dca0cd4b25ab3557bc98e8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / Brian2-2.7.1-cp312-cp312-macosx_11_0_arm64.whl

Download URL Brian2-2.7.1-cp312-cp312-macosx_11_0_arm64.whl
Size 1.2 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b355691d2fcb0549d007021c66cdb0e9e71bda7bdac0baf3f04f2707288ea988
BLAKE2b-256 checksum
How to use checksums
5121e7c1c8ad45aa363c6c716bf64cd9b28ac4a4ab722f7a3e4410dc60dab532
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / Brian2-2.7.1-cp312-cp312-macosx_10_9_x86_64.whl

Download URL Brian2-2.7.1-cp312-cp312-macosx_10_9_x86_64.whl
Size 1.2 MB
Tags CPython 3.12 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
63a0a1048319724deb2d6d05197d35608faaff5584f779df06174cc6631582c2
BLAKE2b-256 checksum
How to use checksums
42c5484768d3b07d0116777f5870aa30cc3a4787535d29df95f1806681c37def
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / Brian2-2.7.1-cp311-cp311-win_amd64.whl

Download URL Brian2-2.7.1-cp311-cp311-win_amd64.whl
Size 1.2 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
0243ed3da5f33e7caebc445aa3654d1457a25fa4c698ecc73af4ffcf184ac82c
BLAKE2b-256 checksum
How to use checksums
34a8634277f22039f95be9a38dfa6a071b66cf49d4b63a2c7590dee243f6317b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / Brian2-2.7.1-cp311-cp311-musllinux_1_2_x86_64.whl

Download URL Brian2-2.7.1-cp311-cp311-musllinux_1_2_x86_64.whl
Size 2.8 MB
Tags CPython 3.11 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
71893d30d6d7b4476ece96260ab4669ba3289fa74e1840ef8e49dc39a5f6a45c
BLAKE2b-256 checksum
How to use checksums
7048eb33d19b9d689c84e6c391c42faf46cf95ecc81c3038ec41f7d7ec68dda7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / Brian2-2.7.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL Brian2-2.7.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.8 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
6108471f2bd10b43d8050e4db733e2768d290f1a769466169fb65d779e854a92
BLAKE2b-256 checksum
How to use checksums
e0b240e564f391bfcf324dd17ad6bc0c7325f3d392035bd7f5468597dd07b206
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / Brian2-2.7.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL Brian2-2.7.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 1.8 MB
Tags CPython 3.11 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
8bdb537efaf27589268512bf5cb730a47617869e3f7acc5294c73059479516dd
BLAKE2b-256 checksum
How to use checksums
dfd486e48cde9fe6ce0f5f3d8a41bc077ebb7c273e966e7413ff51fa8a1f9a1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / Brian2-2.7.1-cp311-cp311-macosx_11_0_arm64.whl

Download URL Brian2-2.7.1-cp311-cp311-macosx_11_0_arm64.whl
Size 1.2 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9c8337f931348b61a71e84142c88301e96c360f6ad9f1e749b0c1e6a33d092ab
BLAKE2b-256 checksum
How to use checksums
6d49e5c01c3ab1f0966d5025e92e3e1138b4d897031318b575622f58105e2e43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / Brian2-2.7.1-cp311-cp311-macosx_10_9_x86_64.whl

Download URL Brian2-2.7.1-cp311-cp311-macosx_10_9_x86_64.whl
Size 1.2 MB
Tags CPython 3.11 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
02e80ea2179ae6aeabdd7cc04080d7cba5245791bd06b6c98d016e10b965ea7c
BLAKE2b-256 checksum
How to use checksums
46f5c4618d16b3c0d696c3041f13cd40aa66fdf568323a6ba74a81f6778495f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / Brian2-2.7.1-cp310-cp310-win_amd64.whl

Download URL Brian2-2.7.1-cp310-cp310-win_amd64.whl
Size 1.2 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
204ef9eb8f81312ba8da2e75b4f40a7503804daab2fad7474a346b4e52e9f4b6
BLAKE2b-256 checksum
How to use checksums
1552b8ab02f6b09355d07e59ca5521d77d9d1663ca8443c6d66417a2fe95ce46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / Brian2-2.7.1-cp310-cp310-musllinux_1_2_x86_64.whl

Download URL Brian2-2.7.1-cp310-cp310-musllinux_1_2_x86_64.whl
Size 2.8 MB
Tags CPython 3.10 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
39d93b1f22bb228fa268e393688734ed28022905445b2e4b8dd38655683941f4
BLAKE2b-256 checksum
How to use checksums
5c00f47ade6f803e7328461a68ccf612f16f2eb5f3a7f6eecdc7e6657c9986b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / Brian2-2.7.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL Brian2-2.7.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.8 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
2fcf11798e181116f37ab2a5711403459d997cc2d58efcfcddec5773608d3c97
BLAKE2b-256 checksum
How to use checksums
2e68d72710d6fe5180d1c5ebbab87396fe517c23ca7928dca0ab0321a1cd0d86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / Brian2-2.7.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL Brian2-2.7.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 1.8 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
a6ce03844dc966f20b3a5c1358e9e01298c845fd9640b2ac71b90076a47916aa
BLAKE2b-256 checksum
How to use checksums
59059066a78914b2d52ceeb67309db8e48fba5619ad39d7d8c948c074dd26220
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / Brian2-2.7.1-cp310-cp310-macosx_11_0_arm64.whl

Download URL Brian2-2.7.1-cp310-cp310-macosx_11_0_arm64.whl
Size 1.2 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
90dd0b23d0c5bba933c088de73fc7cc4d00b694fd365963b6a0d698af0e6b4eb
BLAKE2b-256 checksum
How to use checksums
83c87bad7f42dd467227364a3fc9e086dbff910fa6efb08606f3cf23c7c2a4ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / Brian2-2.7.1-cp310-cp310-macosx_10_9_x86_64.whl

Download URL Brian2-2.7.1-cp310-cp310-macosx_10_9_x86_64.whl
Size 1.2 MB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
b8eee027ee8cac36455fce30365b1b7eca286ce70fd96acbd8ffe929978c9557
BLAKE2b-256 checksum
How to use checksums
09dc279b54065d849ce56c2c96401d8d4514205639646b35f112d8cdec1c3f43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Security for Brian2 2.7.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.7.1 This release

19 release files No provenance

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