Skip to main content

Brian2 Atlas

Brian2 Atlas provides native simulation and training backends for the Brian2 modelling interface. Define spiking neural networks in Python, then run supported models with the bundled native CPU engine. Additional backends support model-specialized CPU execution, CUDA, Apple Metal, MPI and browser export.

This is alpha research software. Backend support depends on the model and the installed toolchains; unsupported constructs raise capability errors.

Installation

Requires Python 3.12 or newer. Use a new virtual environment: this distribution includes brian2 and must not be installed alongside the separate upstream Brian2 distribution, which owns the same import paths.

Install version 0.2.0 from PyPI:

python -m venv .venv
. .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install brian2-atlas==0.2.0

Version 0.2.0 provides CPython 3.12–3.14 wheels for Linux x86_64 (glibc 2.28+) and macOS 15+ on Apple Silicon (arm64) and Intel (x86_64), plus a source archive. Windows wheels are not published. A matching platform wheel includes b2-runner, b2-train and the Python extensions. A source installation requires Rust/Cargo 1.98.1 and C/C++ compilers. Specialized AOT execution needs Rust even after installing a wheel. CUDA, Metal and MPI require additional system software. Windows is not currently qualified. See the installation guide for source installation, platform coverage and optional dependencies.

First simulation

import brian2 as b
import brian2_atlas

b.set_device("atlas", engine="reference")
neurons = b.NeuronGroup(
    1, "dv/dt = (1.5-v)/(10*ms) : 1",
    threshold="v>1", reset="v=0", method="euler", dt=0.1*b.ms,
)
spikes = b.SpikeMonitor(neurons)
b.Network(neurons, spikes).run(100*b.ms)
print(spikes.num_spikes)  # 9

Use brian2 for modelling and brian2_atlas for Atlas APIs. The older brian2_rust import remains a compatibility alias. The Atlas distribution version and Brian2 compatibility version are separate values.

Documentation

These links identify the 0.2.0 release. This release includes experimental neuromorphic software conversion; see the repository's versioned guides for the admitted models and evidence. Software conversion results do not establish physical chip execution, power or latency.

License and citation

The combined distribution uses CeCILL-2.1 AND Apache-2.0. Upstream Brian2 and derived code retain their original terms; original Atlas engine work uses Apache-2.0. See the license scope. Use CITATION.cff for Atlas and retain the upstream Brian2 citation when using its frontend. The preprint repository contains the manuscript and historical experiment records.

Metadata

Release files for brian2-atlas 0.2.0

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-atlas 0.2.0
File Size Uploaded Provenance Actions
brian2_atlas-0.2.0.tar.gz 1.9 MB With provenance Details for brian2_atlas-0.2.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for brian2-atlas 0.2.0
File Actions
brian2_atlas-0.2.0-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details for brian2_atlas-0.2.0-cp314-cp314-manylinux_2_28_x86_64.whl
brian2_atlas-0.2.0-cp314-cp314-macosx_15_0_x86_64.whl CPython 3.14 CPython 3.14 macOS 15.0+ x86-64 Details for brian2_atlas-0.2.0-cp314-cp314-macosx_15_0_x86_64.whl
brian2_atlas-0.2.0-cp314-cp314-macosx_15_0_arm64.whl CPython 3.14 CPython 3.14 macOS 15.0+ ARM64 Details for brian2_atlas-0.2.0-cp314-cp314-macosx_15_0_arm64.whl
brian2_atlas-0.2.0-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details for brian2_atlas-0.2.0-cp313-cp313-manylinux_2_28_x86_64.whl
brian2_atlas-0.2.0-cp313-cp313-macosx_15_0_x86_64.whl CPython 3.13 CPython 3.13 macOS 15.0+ x86-64 Details for brian2_atlas-0.2.0-cp313-cp313-macosx_15_0_x86_64.whl
brian2_atlas-0.2.0-cp313-cp313-macosx_15_0_arm64.whl CPython 3.13 CPython 3.13 macOS 15.0+ ARM64 Details for brian2_atlas-0.2.0-cp313-cp313-macosx_15_0_arm64.whl
brian2_atlas-0.2.0-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details for brian2_atlas-0.2.0-cp312-cp312-manylinux_2_28_x86_64.whl
brian2_atlas-0.2.0-cp312-cp312-macosx_15_0_x86_64.whl CPython 3.12 CPython 3.12 macOS 15.0+ x86-64 Details for brian2_atlas-0.2.0-cp312-cp312-macosx_15_0_x86_64.whl
brian2_atlas-0.2.0-cp312-cp312-macosx_15_0_arm64.whl CPython 3.12 CPython 3.12 macOS 15.0+ ARM64 Details for brian2_atlas-0.2.0-cp312-cp312-macosx_15_0_arm64.whl

Total release size: 41.1 MB

Release files / brian2_atlas-0.2.0.tar.gz

Download URL brian2_atlas-0.2.0.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
b8ae135a5ccc8d6341cc6197dadddb80cc9cab7db27ba392c175fe0d0cb43a14
BLAKE2b-256 checksum
How to use checksums
8ef2d480e6943e2f586e29fcd08d79245729e1c2e538243fbb702324bc579510
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Release files / brian2_atlas-0.2.0-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL brian2_atlas-0.2.0-cp314-cp314-manylinux_2_28_x86_64.whl
Size 5.4 MB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
5c5ada93e231bc7f186fed872b81135dfe033df01b6338657dc5dba6be5b61e8
BLAKE2b-256 checksum
How to use checksums
dda0b6941099623c2966e226a3ac1c2d0cf8d9872055aa1c152601fe7cb31901
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Release files / brian2_atlas-0.2.0-cp314-cp314-macosx_15_0_x86_64.whl

Download URL brian2_atlas-0.2.0-cp314-cp314-macosx_15_0_x86_64.whl
Size 3.9 MB
Tags CPython 3.14 macOS 15.0+ x86-64
SHA-256 checksum
How to use checksums
607285af5289da5eab737fd1160eca2d554674223676aa0d1810f385b8e74021
BLAKE2b-256 checksum
How to use checksums
161c3a3c67f31a00665b0300e3c7aee1c0df00fe4ebcf22fd90931ae50e47891
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Release files / brian2_atlas-0.2.0-cp314-cp314-macosx_15_0_arm64.whl

Download URL brian2_atlas-0.2.0-cp314-cp314-macosx_15_0_arm64.whl
Size 3.7 MB
Tags CPython 3.14 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
746937fac98a8b6ac2e36826ae39b79389845ff4b1256f9a492dba62b6753f89
BLAKE2b-256 checksum
How to use checksums
d1bca974f3ca1c85818164080cb0426791bf79df4cee2347a546a29a4c03faa6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Release files / brian2_atlas-0.2.0-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL brian2_atlas-0.2.0-cp313-cp313-manylinux_2_28_x86_64.whl
Size 5.5 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c8240a7113c4a707d205ee7344509f131a907e47cb0eeecb7653a85fae7a514c
BLAKE2b-256 checksum
How to use checksums
6c18111b80f74abb7be53bff18458f7eaf380b56a8eb1244b034bce05fc3bb50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Release files / brian2_atlas-0.2.0-cp313-cp313-macosx_15_0_x86_64.whl

Download URL brian2_atlas-0.2.0-cp313-cp313-macosx_15_0_x86_64.whl
Size 3.9 MB
Tags CPython 3.13 macOS 15.0+ x86-64
SHA-256 checksum
How to use checksums
5040befe880c2fc430b762f4c22d273d09d0cbd8e726b972969d4c6cd83703b1
BLAKE2b-256 checksum
How to use checksums
aa2cf3c31d7710fe9f4ae4cb4297921e17318341766f6b61d4eb4ff377a76df8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Release files / brian2_atlas-0.2.0-cp313-cp313-macosx_15_0_arm64.whl

Download URL brian2_atlas-0.2.0-cp313-cp313-macosx_15_0_arm64.whl
Size 3.7 MB
Tags CPython 3.13 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
4a433c6e295fe0466118bcbe70694046975274f93ef99cdc1e9ca36017d09ab3
BLAKE2b-256 checksum
How to use checksums
a2faebbf14814e20f00e33669e4eba4a31e77870c2c789cdee87f0c5eeb9f88e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Release files / brian2_atlas-0.2.0-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL brian2_atlas-0.2.0-cp312-cp312-manylinux_2_28_x86_64.whl
Size 5.5 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
431870ef89294565d6514f166d582e802c4842b3a599ef46d69ec0b61ebed100
BLAKE2b-256 checksum
How to use checksums
a37d094ce5843ff7f8934551f55991465fd52f7c52b923397f5168978e3be25c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Release files / brian2_atlas-0.2.0-cp312-cp312-macosx_15_0_x86_64.whl

Download URL brian2_atlas-0.2.0-cp312-cp312-macosx_15_0_x86_64.whl
Size 3.9 MB
Tags CPython 3.12 macOS 15.0+ x86-64
SHA-256 checksum
How to use checksums
5a9fccdf41670eaab6e9b4aa663fc77bdeb53f4ccb86c17c9274e411ce3f54b0
BLAKE2b-256 checksum
How to use checksums
fbc6b6c9e9ce8678838105bfde68f953438e0d616768fa91b800d00ebb8822e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Release files / brian2_atlas-0.2.0-cp312-cp312-macosx_15_0_arm64.whl

Download URL brian2_atlas-0.2.0-cp312-cp312-macosx_15_0_arm64.whl
Size 3.7 MB
Tags CPython 3.12 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
8625f3487ccfe06c3d69bcfd3d0c6306f8aa82442bf2cccafa8bdfe49e866e62
BLAKE2b-256 checksum
How to use checksums
31a95a82ba6acd6feb05fe09ff6475be8ae4aee37522cade7bc87943af07149e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Security for brian2-atlas 0.2.0

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.

Full provenance

All 10 files in this release have been uploaded with provenance metadata.

Select from 10 files

Attestation for brian2_atlas-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

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

0.2.0 This release

10 release files Full 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