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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pybnf-1.6.0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pybnf-1.6.0-py3-none-any.whl (606.8 kB view details)

Uploaded Python 3

File details

Details for the file pybnf-1.6.0.tar.gz.

File metadata

  • Download URL: pybnf-1.6.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pybnf-1.6.0.tar.gz
Algorithm Hash digest
SHA256 8bcde37de4af96c87f0adeefbcb7017902b6fca87b72fa33398f67ea822e4f50
MD5 52d79edace3c87725763249725f5d383
BLAKE2b-256 47e55fe380dfcc0ab49dc534cf5078d96d45b38963aeb4f43659f7e42101e78a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybnf-1.6.0.tar.gz:

Publisher: publish.yml on lanl/PyBNF

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pybnf-1.6.0-py3-none-any.whl.

File metadata

  • Download URL: pybnf-1.6.0-py3-none-any.whl
  • Upload date:
  • Size: 606.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pybnf-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e25e23f52fc61c2da88aa93f7e887e8c362f5d70496263ae95def7120fe01269
MD5 00ea1343a666f4aa6902deeb54a85964
BLAKE2b-256 cd2094b50a6846cbacc123291b7eec858e80a118511257326d114381fdba2259

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybnf-1.6.0-py3-none-any.whl:

Publisher: publish.yml on lanl/PyBNF

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

1.7.0

2 files

This release

1.6.0 This release

2 files

1.2.2

2 files

1.2.1

2 files

1.2.0

2 files

1.1.9

2 files

1.1.8

2 files

1.1.7

2 files

1.1.6

2 files

1.1.5

2 files

1.1.4

2 files

1.1.3

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.1

2 files

1.0.0

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page