{"id":37067191,"url":"https://github.com/chaobrain/brainpy.state","last_synced_at":"2026-02-21T09:06:25.960Z","repository":{"id":331115458,"uuid":"1116026750","full_name":"chaobrain/brainpy.state","owner":"chaobrain","description":"Moderize BrainPy simulation with `brainstate` syntax. ","archived":false,"fork":false,"pushed_at":"2026-02-15T15:10:13.000Z","size":2888,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-15T21:31:55.547Z","etag":null,"topics":["brainpy","brainstate","jax","spiking-neural-network"],"latest_commit_sha":null,"homepage":"https://brainpy-state.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chaobrain.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-14T03:28:17.000Z","updated_at":"2026-02-15T15:10:17.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/chaobrain/brainpy.state","commit_stats":null,"previous_names":["chaobrain/brainpy.state"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/chaobrain/brainpy.state","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaobrain%2Fbrainpy.state","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaobrain%2Fbrainpy.state/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaobrain%2Fbrainpy.state/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaobrain%2Fbrainpy.state/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chaobrain","download_url":"https://codeload.github.com/chaobrain/brainpy.state/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaobrain%2Fbrainpy.state/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29677881,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T06:23:40.028Z","status":"ssl_error","status_checked_at":"2026-02-21T06:23:39.222Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["brainpy","brainstate","jax","spiking-neural-network"],"created_at":"2026-01-14T07:53:10.897Z","updated_at":"2026-02-21T09:06:25.546Z","avatar_url":"https://github.com/chaobrain.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \t\u003cimg alt=\"Header image of brainpy.state - brain dynamics programming in Python.\" src=\"https://raw.githubusercontent.com/chaobrain/brainpy.state/main/docs/_static/brianpystate_horizontal.png\" width=80%\u003e\n\u003c/p\u003e\n\n\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://pypi.org/project/brainpy_state/\"\u003e\u003cimg alt=\"Supported Python Version\" src=\"https://img.shields.io/pypi/pyversions/brainpy_state\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://github.com/chaobrain/brainpy.state\"\u003e\u003cimg alt=\"LICENSE\" src=\"https://img.shields.io/badge/license-Apache%202.0-green?style=plastic\"\u003e\u003c/a\u003e\n  \t\u003ca href=\"https://brainpy-state.readthedocs.io/?badge=latest\"\u003e\u003cimg alt=\"Documentation\" src=\"https://readthedocs.org/projects/brainpy-state/badge/?version=latest\"\u003e\u003c/a\u003e\n  \t\u003ca href=\"https://badge.fury.io/py/brainpy_state\"\u003e\u003cimg alt=\"PyPI version\" src=\"https://badge.fury.io/py/brainpy_state.svg\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/chaobrain/brainpy.state/actions/workflows/CI.yml\"\u003e\u003cimg alt=\"Continuous Integration\" src=\"https://github.com/chaobrain/brainpy.state/actions/workflows/CI.yml/badge.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n``brainpy.state`` modernizes [BrainPy](https://github.com/brainpy/BrainPy) simulator of spiking neural networks with state-based syntax in [brainstate](https://github.com/chaobrain/brainstate).\nMoreover, ``brainpy.state`` provides more features compared to ``BrainPy``, including:\n\n\n\n\n## Links\n\n\n- **Source**: https://github.com/chaobrain/brainpy.state\n- **Documentation**: https://brainpy-state.readthedocs.io/\n- **Bug reports**: https://github.com/chaobrain/brainpy.state/issues\n- **Ecosystem**: https://brainmodeling.readthedocs.io/\n\n\n## Installation\n\n``brainpy.state`` is based on Python (\u003e=3.10) and can be installed on Linux (Ubuntu 16.04 or later), macOS (10.12 or later), and Windows platforms. \n\n```bash\npip install brainpy brainpy_state -U\n```\n\nIf you want to use ``brainpy.state`` with different hardware support, please install the corresponding version:\n\n```bash\npip install brainpy brainpy_state[cpu] -U  # install with CPU support only\npip install brainpy brainpy_state[cuda12] -U  # install with CUDA 12.x support\npip install brainpy brainpy_state[cuda13] -U  # install with CUDA 13.x support\npip install brainpy brainpy_state[tpu] -U  # install with TPU support\n```\n\n\nInstall the ``brainpy.state`` with the ecosystem packages:\n\n```bash\npip install BrainX -U\n```\n\n\n\n## Citing \n\nIf you are using ``brainpy.state``, please consider citing the corresponding paper:\n\n```bibtex\n@article {10.7554/eLife.86365,\n    article_type = {journal},\n    title = {BrainPy, a flexible, integrative, efficient, and extensible framework for general-purpose brain dynamics programming},\n    author = {Wang, Chaoming and Zhang, Tianqiu and Chen, Xiaoyu and He, Sichao and Li, Shangyang and Wu, Si},\n    editor = {Stimberg, Marcel},\n    volume = 12,\n    year = 2023,\n    month = {dec},\n    pub_date = {2023-12-22},\n    pages = {e86365},\n    citation = {eLife 2023;12:e86365},\n    doi = {10.7554/eLife.86365},\n    url = {https://doi.org/10.7554/eLife.86365},\n    abstract = {Elucidating the intricate neural mechanisms underlying brain functions requires integrative brain dynamics modeling. To facilitate this process, it is crucial to develop a general-purpose programming framework that allows users to freely define neural models across multiple scales, efficiently simulate, train, and analyze model dynamics, and conveniently incorporate new modeling approaches. In response to this need, we present BrainPy. BrainPy leverages the advanced just-in-time (JIT) compilation capabilities of JAX and XLA to provide a powerful infrastructure tailored for brain dynamics programming. It offers an integrated platform for building, simulating, training, and analyzing brain dynamics models. Models defined in BrainPy can be JIT compiled into binary instructions for various devices, including Central Processing Unit (CPU), Graphics Processing Unit (GPU), and Tensor Processing Unit (TPU), which ensures high running performance comparable to native C or CUDA. Additionally, BrainPy features an extensible architecture that allows for easy expansion of new infrastructure, utilities, and machine-learning approaches. This flexibility enables researchers to incorporate cutting-edge techniques and adapt the framework to their specific needs},\n    journal = {eLife},\n    issn = {2050-084X},\n    publisher = {eLife Sciences Publications, Ltd},\n}\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaobrain%2Fbrainpy.state","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchaobrain%2Fbrainpy.state","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaobrain%2Fbrainpy.state/lists"}