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.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 pybnf 1.8.1
File Size Uploaded
pybnf-1.8.1.tar.gz 1.9 MB Details

Built distribution (wheel)

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

Total release size: 2.9 MB

Release files / pybnf-1.8.1.tar.gz

Download URL pybnf-1.8.1.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
8c5ced0f478b02aee375c6443406c771ae8e5c7c4e201b53fe8a2e59d81665c2
BLAKE2b-256 checksum
How to use checksums
788409ef7b84f616cf13e1b865d68b377cf69e2d3f4c43f7d7c2fd020623b955
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.1-py3-none-any.whl

Download URL pybnf-1.8.1-py3-none-any.whl
Size 1.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
2a83413a0a9fbbb00604fef303f6e6c23ab268547568450318e2023de492d83f
BLAKE2b-256 checksum
How to use checksums
8a4e0d518cbc1ee0f208549dcde0e509c77bed88b1b891ee5b37c9bf0f793792
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

This release

1.8.1 This release

2 release files

1.8.0

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