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.7.0.tar.gz (1.5 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.7.0-py3-none-any.whl (801.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pybnf-1.7.0.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pybnf-1.7.0.tar.gz
Algorithm Hash digest
SHA256 755ad2a7ee31e5d88125821832fa25b773d3149fc4bb58449acd289a89b1e97d
MD5 b8d5cf3eb02259e9a2debe95c0142bce
BLAKE2b-256 843cebace950e1ddeaea829d3a7ddc374b9f7515b051d40d4b414e810d515cd9

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybnf-1.7.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.7.0-py3-none-any.whl.

File metadata

  • Download URL: pybnf-1.7.0-py3-none-any.whl
  • Upload date:
  • Size: 801.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pybnf-1.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2c2c84c78d0a6bed8f8921a449731695cc05dcb854a52db58865c56e7c314f68
MD5 01c6613ec80ad980d640e7a41669ad81
BLAKE2b-256 5b010fa1afb941679be0408586065c959be28ad65dfafcc59cb9dce6ed4ba391

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybnf-1.7.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

This release

1.7.0 This release

2 files

1.6.0

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