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

Metadata

Release files for Brian2 2.5

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

Built distributions (wheels)

Table of built distributions (wheels) for Brian2 2.5
File Actions
Brian2-2.5-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details for Brian2-2.5-cp39-cp39-win_amd64.whl
Brian2-2.5-cp39-cp39-manylinux2010_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.12+ x86-64 Details for Brian2-2.5-cp39-cp39-manylinux2010_x86_64.whl
Brian2-2.5-cp39-cp39-manylinux1_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.5+ x86-64 Details for Brian2-2.5-cp39-cp39-manylinux1_x86_64.whl
Brian2-2.5-cp39-cp39-macosx_10_9_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.9+ x86-64 Details for Brian2-2.5-cp39-cp39-macosx_10_9_x86_64.whl
Brian2-2.5-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-cp39-cp39-macosx_10_9_universal2.whl
Brian2-2.5-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details for Brian2-2.5-cp38-cp38-win_amd64.whl
Brian2-2.5-cp38-cp38-manylinux2010_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.12+ x86-64 Details for Brian2-2.5-cp38-cp38-manylinux2010_x86_64.whl
Brian2-2.5-cp38-cp38-manylinux1_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.5+ x86-64 Details for Brian2-2.5-cp38-cp38-manylinux1_x86_64.whl
Brian2-2.5-cp38-cp38-macosx_10_9_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.9+ x86-64 Details for Brian2-2.5-cp38-cp38-macosx_10_9_x86_64.whl
Brian2-2.5-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details for Brian2-2.5-cp37-cp37m-win_amd64.whl
Brian2-2.5-cp37-cp37m-manylinux2010_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64 Details for Brian2-2.5-cp37-cp37m-manylinux2010_x86_64.whl
Brian2-2.5-cp37-cp37m-manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details for Brian2-2.5-cp37-cp37m-manylinux1_x86_64.whl
Brian2-2.5-cp37-cp37m-macosx_10_9_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 Details for Brian2-2.5-cp37-cp37m-macosx_10_9_x86_64.whl

Total release size: 16.7 MB

Release files / Brian2-2.5.tar.gz

Download URL Brian2-2.5.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
782e9e73304064a8a26d846c9ddd532452265394ed260ce9413725961b1081d3
BLAKE2b-256 checksum
How to use checksums
137447e7f13e35b7fee0368620ad39a3eb29c3cce4038ef96d0279858ec48a7a
Upload date
Uploaded using Trusted Publishing?
What is 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

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

Download URL Brian2-2.5-cp39-cp39-win_amd64.whl
Size 960.2 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
3b387e0a34db4c07ad73a86ac220057894dbadbeba535aa575ed9552abf451a7
BLAKE2b-256 checksum
How to use checksums
148a5d5baf102cf73f7a7259c4d885a76d6b7d5e6f079430113276ab1dd06e73
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / Brian2-2.5-cp39-cp39-manylinux2010_x86_64.whl

Download URL Brian2-2.5-cp39-cp39-manylinux2010_x86_64.whl
Size 1.5 MB
Tags CPython 3.9 Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
c8dfae15bbfda11b0d53dc1a3d0d447a3f39ba6c82b45a1eabf2bcf3b53e7b8b
BLAKE2b-256 checksum
How to use checksums
fadf0da60ecae6a9030ebaab45e17effe788314173cd06380a978363a71ce772
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / Brian2-2.5-cp39-cp39-manylinux1_x86_64.whl

Download URL Brian2-2.5-cp39-cp39-manylinux1_x86_64.whl
Size 1.5 MB
Tags CPython 3.9 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
49dea9621a8fdb457434929e9453bdd1ca0621f3c4ed6ec480195a90ebedbc41
BLAKE2b-256 checksum
How to use checksums
99a3d5123a320fa81526a4b7408afea68bc5652854c5f2b3a47f96c62572239e
Upload date
Uploaded using Trusted Publishing?
What is 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

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

Download URL Brian2-2.5-cp39-cp39-macosx_10_9_x86_64.whl
Size 960.1 kB
Tags CPython 3.9 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
5a866bdd56e3ff99daef46b73dce7e10e02e78ac249e038e9a7cb1a76a5b6e54
BLAKE2b-256 checksum
How to use checksums
9c0201932bd963ceca79a93c56f38b91603e88181a0f5b3f31f518545b3c5f2b
Upload date
Uploaded using Trusted Publishing?
What is 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

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

Download URL Brian2-2.5-cp39-cp39-macosx_10_9_universal2.whl
Size 1.0 MB
Tags CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
2c4e2c56ff6fc2351861984d8d7959c224fe609adfce9900293a2529b8db678e
BLAKE2b-256 checksum
How to use checksums
c9b935293814e86432539b1aaee5dc074cc8e59f625ab5352f90188127273ccc
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / Brian2-2.5-cp38-cp38-win_amd64.whl

Download URL Brian2-2.5-cp38-cp38-win_amd64.whl
Size 960.8 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
7222032201b40accf4d7d4fa1453bbdf497971d49c1727652d29599886a71f99
BLAKE2b-256 checksum
How to use checksums
f543cbf3b6e2565446643872e041f05e08d8f09f20e032fd2d03e4db4c4eaebd
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / Brian2-2.5-cp38-cp38-manylinux2010_x86_64.whl

Download URL Brian2-2.5-cp38-cp38-manylinux2010_x86_64.whl
Size 1.5 MB
Tags CPython 3.8 Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
2b8f9e1ad0d2dbefaeb018506f0cdf118034c6c4cd35d9f4dd682fc1196ebbc1
BLAKE2b-256 checksum
How to use checksums
ac59aac32eb2debd7357bb6b6b90550395df8047fb31aef087ad7c97ea67a0a1
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / Brian2-2.5-cp38-cp38-manylinux1_x86_64.whl

Download URL Brian2-2.5-cp38-cp38-manylinux1_x86_64.whl
Size 1.5 MB
Tags CPython 3.8 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
b60882eef9f7a381945588be36394f13ead9f062fc3b9069942f3341d99e9f37
BLAKE2b-256 checksum
How to use checksums
f89d71f995c438c2d3c550b885e6a3b70d2f8820ceff89b5b9bf915eb3be6e0a
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / Brian2-2.5-cp38-cp38-macosx_10_9_x86_64.whl

Download URL Brian2-2.5-cp38-cp38-macosx_10_9_x86_64.whl
Size 958.1 kB
Tags CPython 3.8 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
9759c4a635cc150a55c5af51b00a6449b09cd2817f9bc71a3dd2c0f6dc77e90b
BLAKE2b-256 checksum
How to use checksums
07c8921c4cfce8995cd01da01db23287fe3ea28bd3e1abd2ffe534a2925392e6
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / Brian2-2.5-cp37-cp37m-win_amd64.whl

Download URL Brian2-2.5-cp37-cp37m-win_amd64.whl
Size 958.5 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
c4e2c4645618433dc20a01dafe100688f76d208420309eaefc04b272e8b9a04c
BLAKE2b-256 checksum
How to use checksums
79d635b77bedda5ef5baaca569e07934be928947600def6a587a4f40d02aa196
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / Brian2-2.5-cp37-cp37m-manylinux2010_x86_64.whl

Download URL Brian2-2.5-cp37-cp37m-manylinux2010_x86_64.whl
Size 1.4 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
6806b7ef5389bc2b174daa3552c8dc719b2d5d859be7c8dec21247edd50fd663
BLAKE2b-256 checksum
How to use checksums
a497fa537933420d788b6acca6085820c0187e653be019e24e167a57d512136c
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / Brian2-2.5-cp37-cp37m-manylinux1_x86_64.whl

Download URL Brian2-2.5-cp37-cp37m-manylinux1_x86_64.whl
Size 1.4 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
ffb48a0c1197780a8546ba25b897a0bdda73ec2865fa375170020a332a466449
BLAKE2b-256 checksum
How to use checksums
21e81679ec778f5e4637f9f62117717670391aaba771240ca411b60e512aca48
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / Brian2-2.5-cp37-cp37m-macosx_10_9_x86_64.whl

Download URL Brian2-2.5-cp37-cp37m-macosx_10_9_x86_64.whl
Size 958.0 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
7975b4d9b932730db6c4c13480c1553536bb46a24f1deb7ac83dfbe9dd60952b
BLAKE2b-256 checksum
How to use checksums
6bd7d04ff118750836f9517e0fc1f187fc0c581b197bf347bb44d785df16544f
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for Brian2 2.5

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 This release

14 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