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.
- Website (documentation and APIs): https://brainpy.readthedocs.io/en/latest
- Source: https://github.com/brainpy/BrainPy
- Bug reports: https://github.com/brainpy/BrainPy/issues
- Source on OpenI: https://git.openi.org.cn/OpenI/BrainPy
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:
Ecosystem
- BrainPy: The solution for the general-purpose brain dynamics programming.
- brainpy-examples: Comprehensive examples of BrainPy computation.
- brainpy-datasets: Neuromorphic and Cognitive Datasets for Brain Dynamics Modeling.
- 《神经计算建模实战》 (Neural Modeling in Action)
- 第一届神经计算建模与编程培训班 (First Training Course on Neural Modeling and Programming)
- 第二届神经计算建模与编程培训班 (Second Training Course on Neural Modeling and Programming)
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.
Metadata
Release files for brainpy 2.6.0.post20250420
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| brainpy-2.6.0.post20250420-py3-none-any.whl | Python 3 | none | any | Details |
Release files / brainpy-2.6.0.post20250420-py3-none-any.whl
| Download URL | brainpy-2.6.0.post20250420-py3-none-any.whl |
|---|---|
| Size | 715.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bf94f76814a75e4854a028177bba26ab078ad5657a04134e15a45d25a5a1db05
|
|
BLAKE2b-256 checksum How to use checksums |
4db3634da0948559bcd1d30a37b096dd37f7e8d62984a31cfeb51eccbcf7afe9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.5
|