ReferencesBiosimulant LibraryOverview

Reference

API reference for the Biosimulant Python library.

Looking for step-by-step instructions? See the How-To Guides for task-oriented walkthroughs like creating a BioModule, composing simulations, and packaging models.

Installation

pip install "biosimulant @ git+https://github.com/Biosimulant/biosim.git@<ref>"

Optional extras:

pip install "biosimulant[ui] @ git+https://github.com/Biosimulant/biosim.git@<ref>"

For curated model packs, see the companion repo: github.com/Biosimulant/models

Architecture

┌─────────────────────────────────────────────────────────────┐
│                       BioWorld                               │
│           (Orchestrator + Event Queue)                       │
│                                                              │
│  Events: STARTED → TICK* → FINISHED                          │
└─────────────────────────────┬───────────────────────────────┘

         ┌────────────────────┼────────────────────┐
         │                    │                    │
         ▼                    ▼                    ▼
┌─────────────────┐  ┌─────────────────┐  ┌─────────────────┐
│   BioModule     │  │   BioModule     │  │   BioModule     │
│  (Neuron Pop)   │  │  (Monitor)      │  │  (Metabolism)   │
│                 │  │                 │  │                 │
│ in: current     │  │ in: spikes      │  │ in: params      │
│ out: spikes     │──│                 │  │ out: species    │
└─────────────────┘  └─────────────────┘  └─────────────────┘
         │                                         │
         └─────────────── BioSignals ──────────────┘

API Reference

Schemas

Tools & Extensions

  • Visualization Contract: Standard format for module visualization output.
  • Domain Packs: Pre-built modules for neuroscience and ecology.
  • SimUI: Python-declared web interface for local simulations.