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.


NOTE

Starting from our experimental BrainPy package, a better and mature ecosystem for brain dynamics programming is emerging. Please see the Brain Dynamics Programming Ecosystem for more details.

If you are heavily using BrainPy, please consider using brainstate for a more stable, efficient, concise, and powerful experience.

brainstate is and will be active maintained and developed by our team. We highly recommend transferring your code to brainstate for a better performance.


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.

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

If you're not sure about the file name format, learn more about wheel file names.

brainpy-2.6.0.post20241204-py3-none-any.whl (715.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for brainpy-2.6.0.post20241204-py3-none-any.whl
Algorithm Hash digest
SHA256 0f71ccd2791df5674f1c843cbc7150ba01fac51dadc24c4f8bca7fc105b77375
MD5 c90c9886bf06844a4a930d7d3fb6f0df
BLAKE2b-256 1c9af35d5545acd51d446d2b98be54369567ccb4e6cce6073293ebf426b2abba

See more details on using hashes here.

Supported by

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