BrainPy icon indicating copy to clipboard operation
BrainPy copied to clipboard

Brain Dynamics Programming in Python

Header image of BrainPy - brain dynamics programming in Python.

Supported Python Version LICENSE Documentation PyPI version Linux CI Linux CI Linux CI

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). It provides an integrative ecosystem for brain dynamics programming, including brain dynamics simulation, training, analysis, etc.

  • Website (documentation and APIs): https://brainpy.readthedocs.io/en/latest
  • Source: https://github.com/PKU-NIP-Lab/BrainPy
  • Bug reports: https://github.com/PKU-NIP-Lab/BrainPy/issues
  • Source on OpenI: https://git.openi.org.cn/OpenI/BrainPy
  • Examples from literature: https://brainpy-examples.readthedocs.io/

Install

BrainPy is based on Python (>=3.7) and can be installed on Linux (Ubuntu 16.04 or later), macOS (10.12 or later), and Windows platforms. Install the latest version of BrainPy:

$ pip install brainpy -U

The following packages are required for BrainPy:

numpy >= 1.15 and jax >= 0.3.0 (how to install jax?)

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

License

GNU General Public License v3.0