Skip to main content

BrainPy: Brain Dynamics Programming in Python

Project description

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.

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.

Ongoing development plans

We highlight the key features and functionalities that are currently under active development.

We also welcome your contributions (see Contributing to BrainPy).

  • model and data parallelization on multiple devices for dense connection models
  • model parallelization on multiple devices for sparse spiking network models
  • data parallelization on multiple devices for sparse spiking network models
  • pipeline parallelization on multiple devices for sparse spiking network models
  • multi-compartment modeling
  • measurements, analysis, and visualization methods for large-scale spiking data
  • Online learning methods for large-scale spiking network models
  • Classical plasticity rules for large-scale spiking network models

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

brainpy-2.6.0.post20240918-py3-none-any.whl (756.4 kB view details)

Uploaded Python 3

File details

Details for the file brainpy-2.6.0.post20240918-py3-none-any.whl.

File metadata

File hashes

Hashes for brainpy-2.6.0.post20240918-py3-none-any.whl
Algorithm Hash digest
SHA256 a589d629bda9c464fe4cb658381ea91e834a3ba1db163879d4cf323682937736
MD5 a934e33bf18c4883185b3b3c267b76a4
BLAKE2b-256 4e242e1fef2665162854ae3c7f53bee64c3388b927c94b51118ddcfcda4c66a0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page