Skip to content

brainpy/BrainPy

Folders and files

NameName
Last commit message
Last commit date
Apr 20, 2025
Apr 20, 2025
Dec 5, 2024
Dec 14, 2024
Oct 25, 2024
Dec 31, 2021
Oct 24, 2023
Sep 10, 2023
Sep 9, 2023
Jul 9, 2023
Oct 9, 2023
Sep 9, 2023
Sep 9, 2023
Dec 13, 2022
Apr 20, 2025
Sep 9, 2023
Oct 25, 2024
Mar 5, 2024
May 14, 2023
Apr 20, 2025
Apr 20, 2025
Apr 20, 2025
Apr 20, 2025

Header image of BrainPy - brain dynamics programming in Python.

Supported Python Version LICENSE Documentation PyPI version Continuous Integration Continuous Integration with Models

BrainPy is a flexible, efficient, and extensible framework for computational neuroscience and brain-inspired computation based on the Just-In-Time (JIT) compilation (built on top of JAX, Taichi, Numba, and others). It provides an integrative ecosystem for brain dynamics programming, including brain dynamics building, simulation, training, analysis, etc.

Installation

BrainPy is based on Python (>=3.8) and can be installed on Linux (Ubuntu 16.04 or later), macOS (10.12 or later), and Windows platforms.

BrainPy requires jax<0.6.0.

For detailed installation instructions, please refer to the documentation: Quickstart/Installation

Using BrainPy with docker

We provide a docker image for BrainPy. You can use the following command to pull the image:

$ docker pull brainpy/brainpy:latest

Then, you can run the image with the following command:

$ docker run -it --platform linux/amd64 brainpy/brainpy:latest

Using BrainPy with Binder

We provide a Binder environment for BrainPy. You can use the following button to launch the environment:

Binder

Ecosystem

Citing

BrainPy is developed by a team in Neural Information Processing Lab at Peking University, China. Our team is committed to the long-term maintenance and development of the project.

If you are using brainpy, please consider citing the corresponding papers.