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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
755ad2a7ee31e5d88125821832fa25b773d3149fc4bb58449acd289a89b1e97d
|
|
| MD5 |
b8d5cf3eb02259e9a2debe95c0142bce
|
|
| BLAKE2b-256 |
843cebace950e1ddeaea829d3a7ddc374b9f7515b051d40d4b414e810d515cd9
|
Provenance
The following attestation bundles were made for pybnf-1.7.0.tar.gz:
Publisher:
publish.yml on lanl/PyBNF
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pybnf-1.7.0.tar.gz -
Subject digest:
755ad2a7ee31e5d88125821832fa25b773d3149fc4bb58449acd289a89b1e97d - Sigstore transparency entry: 2442391269
- Sigstore integration time:
-
Permalink:
lanl/PyBNF@8e17e7f8e15a26fb033225dfbe95229618ab9619 -
Branch / Tag:
refs/tags/v1.7.0 - Owner: https://github.com/lanl
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8e17e7f8e15a26fb033225dfbe95229618ab9619 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c2c84c78d0a6bed8f8921a449731695cc05dcb854a52db58865c56e7c314f68
|
|
| MD5 |
01c6613ec80ad980d640e7a41669ad81
|
|
| BLAKE2b-256 |
5b010fa1afb941679be0408586065c959be28ad65dfafcc59cb9dce6ed4ba391
|
Provenance
The following attestation bundles were made for pybnf-1.7.0-py3-none-any.whl:
Publisher:
publish.yml on lanl/PyBNF
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pybnf-1.7.0-py3-none-any.whl -
Subject digest:
2c2c84c78d0a6bed8f8921a449731695cc05dcb854a52db58865c56e7c314f68 - Sigstore transparency entry: 2442391584
- Sigstore integration time:
-
Permalink:
lanl/PyBNF@8e17e7f8e15a26fb033225dfbe95229618ab9619 -
Branch / Tag:
refs/tags/v1.7.0 - Owner: https://github.com/lanl
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8e17e7f8e15a26fb033225dfbe95229618ab9619 -
Trigger Event:
release
-
Statement type: