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.

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 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 Join the chat at https://gitter.im/brian-team/brian2 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.7

  • NumPy >=1.17

  • SymPy >= 1.2

  • Cython >= 0.29

  • PyParsing

  • Jinja2 >= 2.7

  • setuptools >= 24.2

  • 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

Metadata

Release files for Brian2 2.5.4

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.5.4
File Size Uploaded Provenance Actions
Brian2-2.5.4.tar.gz 1.6 MB Without provenance Details for Brian2-2.5.4.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for Brian2 2.5.4
File Actions
Brian2-2.5.4-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for Brian2-2.5.4-cp311-cp311-win_amd64.whl
Brian2-2.5.4-cp311-cp311-musllinux_1_1_x86_64.whl CPython 3.11 CPython 3.11 Linux musl 1.1+ x86-64 Details for Brian2-2.5.4-cp311-cp311-musllinux_1_1_x86_64.whl
Brian2-2.5.4-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.5.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Brian2-2.5.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ ARM64 Details for Brian2-2.5.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Brian2-2.5.4-cp311-cp311-macosx_10_9_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.9+ x86-64 Details for Brian2-2.5.4-cp311-cp311-macosx_10_9_x86_64.whl
Brian2-2.5.4-cp311-cp311-macosx_10_9_universal2.whl CPython 3.11 CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64) Details for Brian2-2.5.4-cp311-cp311-macosx_10_9_universal2.whl
Brian2-2.5.4-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for Brian2-2.5.4-cp310-cp310-win_amd64.whl
Brian2-2.5.4-cp310-cp310-musllinux_1_1_x86_64.whl CPython 3.10 CPython 3.10 Linux musl 1.1+ x86-64 Details for Brian2-2.5.4-cp310-cp310-musllinux_1_1_x86_64.whl
Brian2-2.5.4-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.5.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Brian2-2.5.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ ARM64 Details for Brian2-2.5.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Brian2-2.5.4-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details for Brian2-2.5.4-cp310-cp310-macosx_10_9_x86_64.whl
Brian2-2.5.4-cp310-cp310-macosx_10_9_universal2.whl CPython 3.10 CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) Details for Brian2-2.5.4-cp310-cp310-macosx_10_9_universal2.whl
Brian2-2.5.4-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details for Brian2-2.5.4-cp39-cp39-win_amd64.whl
Brian2-2.5.4-cp39-cp39-musllinux_1_1_x86_64.whl CPython 3.9 CPython 3.9 Linux musl 1.1+ x86-64 Details for Brian2-2.5.4-cp39-cp39-musllinux_1_1_x86_64.whl
Brian2-2.5.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details for Brian2-2.5.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Brian2-2.5.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ ARM64 Details for Brian2-2.5.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Brian2-2.5.4-cp39-cp39-macosx_10_9_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.9+ x86-64 Details for Brian2-2.5.4-cp39-cp39-macosx_10_9_x86_64.whl
Brian2-2.5.4-cp39-cp39-macosx_10_9_universal2.whl CPython 3.9 CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64) Details for Brian2-2.5.4-cp39-cp39-macosx_10_9_universal2.whl

Total release size: 28.3 MB

Release files / Brian2-2.5.4.tar.gz

Download URL Brian2-2.5.4.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
5cc5d23b0707f1f2e0cd709c4fe82b8d8c6105db45e07fd5afe4bb278198652c
BLAKE2b-256 checksum
How to use checksums
0b917d2dc966a91c4915fc6d1164103758083808bec7686f6995f09c4986f6c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.4

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

Download URL Brian2-2.5.4-cp311-cp311-win_amd64.whl
Size 1.1 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
1f11c48e22e3d0823c1400bbd82f7f3b8789865947b2819718a3439af126f9fd
BLAKE2b-256 checksum
How to use checksums
7cf277a4f4b254ba414db413f03a6c366e5934a1861244289205634bb81a1306
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.4

Release files / Brian2-2.5.4-cp311-cp311-musllinux_1_1_x86_64.whl

Download URL Brian2-2.5.4-cp311-cp311-musllinux_1_1_x86_64.whl
Size 2.2 MB
Tags CPython 3.11 Linux musl 1.1+ x86-64
SHA-256 checksum
How to use checksums
493495b7df830fb063f2e33cfea4dc5f3b382df2f8851d3450f4ffe9642fd591
BLAKE2b-256 checksum
How to use checksums
060e956a511bd32a61a091d6f3157827aee72b37b27dd31d10c0053459a539a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.4

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

Download URL Brian2-2.5.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.7 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
1b5edc34bf1a449d575ebed54b10dbd2c99a97e4c10c20c759a1b714f06e1de8
BLAKE2b-256 checksum
How to use checksums
74aadca3ae77c40fe8a4ca5066036e664097a256dc25904dece15ff35ca33e19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.4

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

Download URL Brian2-2.5.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 1.7 MB
Tags CPython 3.11 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
74f69f678647e3896f62b52512b8d764203915cdd736f30757c49d3f468842a3
BLAKE2b-256 checksum
How to use checksums
1bff8f838be1bc3fd066845d47754d6795c5d8b7e9f5f0c8f04dad646a3c17db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.4

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

Download URL Brian2-2.5.4-cp311-cp311-macosx_10_9_x86_64.whl
Size 1.1 MB
Tags CPython 3.11 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
be72f724312471e23fea9bd89312bf957ecf631f1e4d47ac1886150838ac06b3
BLAKE2b-256 checksum
How to use checksums
50364daa87a846b224a7dd7dfb1cd2c75db559bc10dfcc8316d65699937fcaef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.4

Release files / Brian2-2.5.4-cp311-cp311-macosx_10_9_universal2.whl

Download URL Brian2-2.5.4-cp311-cp311-macosx_10_9_universal2.whl
Size 1.2 MB
Tags CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
bb6b1aee9d04f5da1f74a422c3a99d32418d8e4c343e58bd60994e072ae9a518
BLAKE2b-256 checksum
How to use checksums
a1bb06490ebf430acf48cfdd1a88b9bff6aaba3e50f1982364996fff68ec2668
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.4

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

Download URL Brian2-2.5.4-cp310-cp310-win_amd64.whl
Size 1.1 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
1bd612d54dc5434b36f5836c1c47312c4d49b1d7fc6af5a1dd422b31e4d0ce19
BLAKE2b-256 checksum
How to use checksums
200484b582c9bb1cafaa39595aa6c5ade7cc6a81862a8602222b031037a30f92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.4

Release files / Brian2-2.5.4-cp310-cp310-musllinux_1_1_x86_64.whl

Download URL Brian2-2.5.4-cp310-cp310-musllinux_1_1_x86_64.whl
Size 2.2 MB
Tags CPython 3.10 Linux musl 1.1+ x86-64
SHA-256 checksum
How to use checksums
aa48573a94a0823c8b6b988c372544bf592b8762dd1239e98f12a8328648d503
BLAKE2b-256 checksum
How to use checksums
b2250f6c6fbacf35baa8927b895c1180696a46cc90c5e2d62179c54d69bb4938
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.4

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

Download URL Brian2-2.5.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.6 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
e4cfd9288bed27873fb2ba615c6108519431ecbc6cb974379be4f44a7f29a7ad
BLAKE2b-256 checksum
How to use checksums
7fdd7402ec525217ee4069ecf0cd8c1d88a5894783bbaa4e3517d8cd22dc77b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.4

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

Download URL Brian2-2.5.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 1.6 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
692c0d477806c10045076a7d486880773ff76ed3f6220c53c52b53bbedb4ae72
BLAKE2b-256 checksum
How to use checksums
d76d4fbe23423431751ea68a78aadba71c69782b674f3c05760d0bf0431ad39a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.4

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

Download URL Brian2-2.5.4-cp310-cp310-macosx_10_9_x86_64.whl
Size 1.1 MB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
fe29cbe88796f11355139dc78b90e2f8693ea40a8330bbad38f68f2567447fa8
BLAKE2b-256 checksum
How to use checksums
fd39fdf48f84ac12ecc5c07b0c83abd49cc34dbf9ca741f42b967511bd44b84b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.4

Release files / Brian2-2.5.4-cp310-cp310-macosx_10_9_universal2.whl

Download URL Brian2-2.5.4-cp310-cp310-macosx_10_9_universal2.whl
Size 1.2 MB
Tags CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
2328316a981de0a41c05b5c80cb0bc025ced4700cedf8771b68fcf1a3f356144
BLAKE2b-256 checksum
How to use checksums
4701251a34362839bda05b3610ff79291ee1c9bfef540a452eb863847b25492c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.4

Release files / Brian2-2.5.4-cp39-cp39-win_amd64.whl

Download URL Brian2-2.5.4-cp39-cp39-win_amd64.whl
Size 1.1 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
deba40d3cbf869ea94534cdc5f1f7c2fd333d1dd777d49090f753c352fe047da
BLAKE2b-256 checksum
How to use checksums
642116443d750be3ce6f46b372dd8ccfeb3392570e4cd3c531aa1bced690a174
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.4

Release files / Brian2-2.5.4-cp39-cp39-musllinux_1_1_x86_64.whl

Download URL Brian2-2.5.4-cp39-cp39-musllinux_1_1_x86_64.whl
Size 2.2 MB
Tags CPython 3.9 Linux musl 1.1+ x86-64
SHA-256 checksum
How to use checksums
d0e64d841ed4bc55ea1df728a0a372130562894031b3860716e730befd91d049
BLAKE2b-256 checksum
How to use checksums
40de310dd2b7ddb528466663eb599f7db002856692c8ca0cd75eb89a77018819
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.4

Release files / Brian2-2.5.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL Brian2-2.5.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.6 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
7810131b7f95f37cafb7caf4af6782e927395b87934636f5e5daa44666df1dc4
BLAKE2b-256 checksum
How to use checksums
9235252112c1a778f5e43863dddddc58be13057527b287d8961dac125b80df39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.4

Release files / Brian2-2.5.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL Brian2-2.5.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 1.6 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
d541b07679739287cfed36361e51f66fe7ddddb28c00bd02e3d613d14305353b
BLAKE2b-256 checksum
How to use checksums
b4c06a7523a3353c00ef76178722f7c4d12fc3155f16a6540865ad21c6d32c6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.4

Release files / Brian2-2.5.4-cp39-cp39-macosx_10_9_x86_64.whl

Download URL Brian2-2.5.4-cp39-cp39-macosx_10_9_x86_64.whl
Size 1.1 MB
Tags CPython 3.9 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
695fb19411849a986a16b54e1cf608c05433dd30fa29cda0b59618e746812e3a
BLAKE2b-256 checksum
How to use checksums
ae7e93861077c2ae90c09d67a382c266931234441e724f7b9002d72c1eb051b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.4

Release files / Brian2-2.5.4-cp39-cp39-macosx_10_9_universal2.whl

Download URL Brian2-2.5.4-cp39-cp39-macosx_10_9_universal2.whl
Size 1.2 MB
Tags CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
5ee5e3f069e3a4727dca41d882111fbbb869c84eade5d446f15c4e2c09711d53
BLAKE2b-256 checksum
How to use checksums
0ae8af1f37dd0aaa560ab8884228709f83b18edfc0d77a9009aca8fa8c0020a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.4

Security for Brian2 2.5.4

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