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.5735559.svg https://archive.softwareheritage.org/badge/swh:1:rel:43cda4fffc3c8365dd676b98f2eca2195510174a/ 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.0.2

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

Built distributions (wheels)

Table of built distributions (wheels) for Brian2 2.5.0.2
File Actions
Brian2-2.5.0.2-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for Brian2-2.5.0.2-cp310-cp310-win_amd64.whl
Brian2-2.5.0.2-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.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Brian2-2.5.0.2-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details for Brian2-2.5.0.2-cp310-cp310-macosx_10_9_x86_64.whl
Brian2-2.5.0.2-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.0.2-cp310-cp310-macosx_10_9_universal2.whl
Brian2-2.5.0.2-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details for Brian2-2.5.0.2-cp39-cp39-win_amd64.whl
Brian2-2.5.0.2-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.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Brian2-2.5.0.2-cp39-cp39-macosx_10_9_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.9+ x86-64 Details for Brian2-2.5.0.2-cp39-cp39-macosx_10_9_x86_64.whl
Brian2-2.5.0.2-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.0.2-cp39-cp39-macosx_10_9_universal2.whl
Brian2-2.5.0.2-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details for Brian2-2.5.0.2-cp38-cp38-win_amd64.whl
Brian2-2.5.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details for Brian2-2.5.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Brian2-2.5.0.2-cp38-cp38-macosx_10_9_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.9+ x86-64 Details for Brian2-2.5.0.2-cp38-cp38-macosx_10_9_x86_64.whl
Brian2-2.5.0.2-cp38-cp38-macosx_10_9_universal2.whl CPython 3.8 CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64) Details for Brian2-2.5.0.2-cp38-cp38-macosx_10_9_universal2.whl
Brian2-2.5.0.2-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details for Brian2-2.5.0.2-cp37-cp37m-win_amd64.whl
Brian2-2.5.0.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 Details for Brian2-2.5.0.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Brian2-2.5.0.2-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.0.2-cp37-cp37m-macosx_10_9_x86_64.whl

Total release size: 18.0 MB

Release files / Brian2-2.5.0.2.tar.gz

Download URL Brian2-2.5.0.2.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
70e6f88fb26f04ccafb91e0a29999774e45899771357aff7043951c853919a0f
BLAKE2b-256 checksum
How to use checksums
a1c5f090582e66c27e56a982ecca8ba4850948daa4b3f14bef48cfa0951b25ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

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

Download URL Brian2-2.5.0.2-cp310-cp310-win_amd64.whl
Size 960.6 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
636a8b4a1581aa5063b1dd727fa4e098d94de98f5e5a9fd4f858007441bdad20
BLAKE2b-256 checksum
How to use checksums
0ea4021290dd7688d64a9553bbdff7004e8e615e20e36f5aa73148d101cda6e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

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

Download URL Brian2-2.5.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.5 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
d6ddc66df287dad26d5fc67102819e4d07015a93f1a5f5cb161a9db321ed06cd
BLAKE2b-256 checksum
How to use checksums
2ad9cda9ac3666d5eefa18446b8dfd1f8541ada6139129e2eb8950f93ee9687f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

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

Download URL Brian2-2.5.0.2-cp310-cp310-macosx_10_9_x86_64.whl
Size 960.4 kB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
79fd7575320f66eebec83d7a6e4aeb061cacd1762d3b76126ff27a50f992b24d
BLAKE2b-256 checksum
How to use checksums
a7c989fc8f60ff886fc809470d65344c7e3d1028116c5f3d7468bfa7e5ff5ee6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

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

Download URL Brian2-2.5.0.2-cp310-cp310-macosx_10_9_universal2.whl
Size 1.0 MB
Tags CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
727b0e5b2d8631b64ff758ad11baa2eff77a12ba4caff484ee01b5e0e75a8184
BLAKE2b-256 checksum
How to use checksums
981be760b5abc326221162ee754b9431a788b953bcff199f75558140178b9dd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

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

Download URL Brian2-2.5.0.2-cp39-cp39-win_amd64.whl
Size 960.5 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
10d97c86e26ed645064ae0eca38c1114e86677863d59bb1628fb10fc1cd15d54
BLAKE2b-256 checksum
How to use checksums
a2c4b0aace5e3444bfb8b9909896b041e994f21cd02af4eed03321de4505d417
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

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

Download URL Brian2-2.5.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.5 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
9fbe71d4a8b1de3ce55af09fd3e19937e04825b937b525ad8a7777b5a80bff1a
BLAKE2b-256 checksum
How to use checksums
2e4dda361814facb2297ed60e8ddacff12ab54b81146dec0c57d1802837a8f43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

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

Download URL Brian2-2.5.0.2-cp39-cp39-macosx_10_9_x86_64.whl
Size 960.4 kB
Tags CPython 3.9 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
8b34be796c4faa0ed3cde89653d1d93d4508716bb9a0f88c6a943c3355be3862
BLAKE2b-256 checksum
How to use checksums
8ef1bce90cf73237031b438539efa6f26205394303bdf9fb414335a2b7b8e256
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

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

Download URL Brian2-2.5.0.2-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
edfbfba800c89797e64798db21db7335420d54dd0aa93c08d4b8c57665f7b20b
BLAKE2b-256 checksum
How to use checksums
bcff7aa94829081806323b2764f50f826250be4c5cb47f341091f6443b5836d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

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

Download URL Brian2-2.5.0.2-cp38-cp38-win_amd64.whl
Size 961.0 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
2a9664074776c0fe4a4f091ad9cca0fd07315c326620fee264fab1462f54b11e
BLAKE2b-256 checksum
How to use checksums
939523f155c659e22724f579000fee708c64074d7cef3c7b2ab3b3becf9b26bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

Release files / Brian2-2.5.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL Brian2-2.5.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.5 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
a8608a623624868b3ed4f614ba050c361efd48003af59ef9bc5a789ca245c610
BLAKE2b-256 checksum
How to use checksums
70ff1b4b36b7d9591d04cf0b7d68cf76415221db88f467d7d1917c8d3a68aa39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

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

Download URL Brian2-2.5.0.2-cp38-cp38-macosx_10_9_x86_64.whl
Size 958.4 kB
Tags CPython 3.8 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
254f3aff0bbce153e91ab4cd0f979fd8610c544e55eafdf08ff4e077290be342
BLAKE2b-256 checksum
How to use checksums
dd5618783613bf5d9b482295d376464edf8cf9f091c69d8e2553f94119534484
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Release files / Brian2-2.5.0.2-cp38-cp38-macosx_10_9_universal2.whl

Download URL Brian2-2.5.0.2-cp38-cp38-macosx_10_9_universal2.whl
Size 1.0 MB
Tags CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
29d1572a9e44a2fdb445b66e82d80ec90ba264d098a2e8546ad5e544fd37afff
BLAKE2b-256 checksum
How to use checksums
e21eb0ee49950c9afc645f7f5e40ec50f70f200ad433dff9cfc966de7f0a7302
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

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

Download URL Brian2-2.5.0.2-cp37-cp37m-win_amd64.whl
Size 958.7 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
34fc351e637466c9ee77eb38dab6890c8fdb9226d306a52d9f84f4792c9a9639
BLAKE2b-256 checksum
How to use checksums
660d1eb6bee78bb60c9d3c3bd404f3a4975605303755cd27a94aac4432a95aba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

Release files / Brian2-2.5.0.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL Brian2-2.5.0.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.5 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
9fc080d2ced3ab417303f68ac4ee0edd6f3c7a80040accf1295bce4f8f6f3a0d
BLAKE2b-256 checksum
How to use checksums
87be083d53f057d864d85ee75d28502a5967fb88a6e261609d1780473377a9c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

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

Download URL Brian2-2.5.0.2-cp37-cp37m-macosx_10_9_x86_64.whl
Size 958.4 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
d6c3a3a187030480ea0c6fd550903fbb29be27b4027cc391d1b04757ef1a5cfc
BLAKE2b-256 checksum
How to use checksums
7f8de3a798e78d3757500f22df06522f51f8ceab41935a9062e3e9255b51647d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Security for Brian2 2.5.0.2

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

16 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