Skip to main content

alt text

PyBioNetFit (PyBNF) is a general-purpose program for parameterizing biological models specified using the BioNetGen rule-based modeling language (BNGL) or the Systems Biology Markup Language (SBML). PyBioNetFit offers a suite of parallelized metaheuristic algorithms (differential evolution, particle swarm optimization, scatter search) for parameter optimization. In addition to model parameterization, PyBNF supports uncertainty quantification by bootstrapping or Bayesian approaches, and model checking. PyBNF includes an adaptive Markov chain Monte Carlo (MCMC) sampling algorithm, which supports Bayesian inference. PyBNF includes the Biological Property Specification Language (BPSL) for defining qualitative data for use in parameterization or checking. It runs on most Linux and macOS workstations as well on computing clusters.

For documentation, refer to the online documentation at https://lanl.github.io/PyBNF/ or Documentation_PyBioNetFit.pdf.

Installation

PyBNF requires Python 3.11 or higher.

python3 -m pip install pybnf

With uv, PyBNF can also be installed as a command-line tool:

uv tool install pybnf

PyBNF installs its Python dependencies, including BNGsim and libRoadRunner, through the package metadata. BNGL workflows can still require a BioNetGen installation for BNG2.pl; see the installation documentation for simulator setup details.

Development

After cloning, run once:

make bootstrap

This installs the pre-push git hook (via pre-commit) so the bngsim test subset runs locally before any git push.

pytest runs the fast suite by default. Two opt-in tiers are deselected unless requested: pytest -m slow (statistical recovery against analytical targets) and pytest -m recovery (parameter recovery through the real bngsim backend; needs bngsim + BNG2.pl). Run pytest --markers for the full list, or see tests/README_integration.md.

PyBioNetFit is released under the BSD-3 license. For more information, refer to the LICENSE. LANL code designation: C18062

Metadata

Release files for pybnf 1.8.0

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

Source distribution (sdist)

Source distribution for pybnf 1.8.0
File Size Uploaded
pybnf-1.8.0.tar.gz 1.9 MB Details

Built distribution (wheel)

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

Total release size: 2.9 MB

Release files / pybnf-1.8.0.tar.gz

Download URL pybnf-1.8.0.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
e3a06a82b24db34e6bd5b44806d8b3c485edb6dbe65bead40de0fb5b3fd5ed5b
BLAKE2b-256 checksum
How to use checksums
f7316e78510180e47c27056b582a17bc6a1fc49ee9e45bbb5df945050e9607ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 24, 2026.

Transparency log

Release files / pybnf-1.8.0-py3-none-any.whl

Download URL pybnf-1.8.0-py3-none-any.whl
Size 1.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
70699014618d97a3b40db738ecf168249da7a5ca56ea08941736eea1ec01fdca
BLAKE2b-256 checksum
How to use checksums
391062c369c10f66bb8e3e4b5f12dc5e11546a3ce0e8b8fe30a070a2ffcf1cf5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 24, 2026.

Transparency log

Release history Release notifications | RSS feed

1.8.1

2 release files

This release

1.8.0 This release

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.9

2 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

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