Skip to main content

perfusio

perfusio is an open, peer-reviewable reference implementation of the self-driving perfusion methodology of Gadiyar et al. (2026) and Hutter et al. (2021), providing stepwise Gaussian Process hybrid models, entity-embedding transfer learning, 11 Bayesian experimental design acquisitions, and a fully-instrumented online digital twin for CHO cell perfusion bioprocesses.

CI Docs PyPI License: Apache-2.0 Python


Quick-start

pip install perfusio
python -c "from perfusio.simulator.cho_perfusion import CHOSimulator; print('OK')"

Reproduce all paper figures

pip install perfusio
python examples/reproduce_paper_figures.py
# → paper_figures/{fig4,fig7,fig8}.{pdf,png,svg}

CLI

# Generates 27 runs (4-factor Box-Behnken design, 3 centre points)
perfusio simulate --clone CloneX --n-days 28 --out runs/
perfusio train   --runs runs/ --model-out model.pt
perfusio run     --model model.pt --connector ambr250 --dashboard
perfusio reproduce-figures --out paper_figures/

What's inside

Module Description
perfusio.mechanistic CHO kinetics ODEs (dual-Monod, Pirt, Warburg, Luedeking–Piret)
perfusio.gp PerfusionKernel, JackknifeEnsemble, StepwiseGP
perfusio.embedding Entity-embedding transfer (Hutter 2021)
perfusio.hybrid Hybrid state-space model + online retraining
perfusio.bed 11 BED acquisitions + Pareto / HV utilities
perfusio.simulator CHOSimulator, Box-Behnken / LHC DoE, noise model
perfusio.twin DigitalTwin, audit, notifications, scheduler
perfusio.connectors OPC UA, SQL, filesystem, ambr®250 emulator
perfusio.metrics rRMSE, PI coverage, CRPS, IGD+, ε-indicator
perfusio.viz Static figures (Matplotlib) + interactive (Plotly/Dash)
perfusio.cli Typer CLI

Installation

CPU (default)

pip install perfusio

GPU

pip install perfusio[gpu]

Dashboard

pip install perfusio[dash]
perfusio run --dashboard

Development

git clone https://github.com/lynchaos/perfusio.git
cd perfusio
pip install -e ".[dev]"
pre-commit install
pytest

Citation

If you use perfusio, please cite:

@article{gadiyar2026,
  author  = {Gadiyar, Chiraag J. and others},
  title   = {Self-Driving Development of Perfusion Processes
             for Monoclonal Antibody Production},
  journal = {Biotechnology and Bioengineering},
  year    = {2026},
  volume  = {123},
  number  = {2},
  pages   = {391--405},
  doi     = {10.1002/bit.28631},
}

@article{hutter2021,
  author  = {Hutter, Clemens and von Stosch, Moritz and Cruz Bournazou, Mariano N. and Butt{\'e}, Alessandro},
  title   = {Knowledge transfer across cell lines using hybrid Gaussian
             process models with entity embedding vectors},
  journal = {Biotechnology and Bioengineering},
  year    = {2021},
  volume  = {118},
  number  = {12},
  pages   = {4710--4725},
  doi     = {10.1002/bit.27907},
}

Limitations

See LIMITATIONS.md for a full list of out-of-scope items, including CQA modelling, GMP validation, and proprietary media formulations.

Contributing

See CONTRIBUTING.md.

Code of Conduct

See CODE_OF_CONDUCT.md.

Maintainer

Kemal Yaylali — kemal.yaylali.uk

Licence

Apache-2.0 — see LICENSE.

Metadata

Release files for perfusio 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for perfusio 0.1.1
File Size Uploaded Provenance Actions
perfusio-0.1.1.tar.gz 119.1 kB With provenance Details for perfusio-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for perfusio 0.1.1
File Interpreter ABI Platform Actions
perfusio-0.1.1-py3-none-any.whl Python 3 none any Details for perfusio-0.1.1-py3-none-any.whl

Total release size: 237.7 kB

Release files / perfusio-0.1.1.tar.gz

Download URL perfusio-0.1.1.tar.gz
Size 119.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3fd0b75bdce846648d3b012f940e33d9fc40c4f35d6233b8796cdafb4636aa0c
BLAKE2b-256 checksum
How to use checksums
135d07be08426f82d7749386a944b716eacb037fe1a0cd15f0a28333c0039570
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 11, 2026.

Transparency log

Release files / perfusio-0.1.1-py3-none-any.whl

Download URL perfusio-0.1.1-py3-none-any.whl
Size 118.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac65b99f11c8539f8b98df6f76ca9e126d3b31755c7135bfdeacc00368958b43
BLAKE2b-256 checksum
How to use checksums
f65f3fb1deca88e25fbc0803bfe7287ddea2b926a09763b3d588694f95bdf55e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 11, 2026.

Transparency log

Security for perfusio 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for perfusio-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page