Skip to main content

The mpbn Python module offers a simple implementation of reachability and attractor analysis (minimal trap spaces) in Most Permissive Boolean Networks (doi:10.1038/s41467-020-18112-5). The mpbn Python module also offers a Most Permissive simulator, which provides trajectory sampling and computes attractor propensities (see paper Variable-Depth Simulation of Most Permissive Boolean Networks for more details).

It is built on the minibn module from colomoto-jupyter which allows importation of Boolean networks in many formats. See http://colomoto.org/notebook.

Installation

CoLoMoTo Notebook environment

mpbn is distributed in the CoLoMoTo docker.

Using pip

pip install mpbn

Using conda

conda install -c colomoto -c potassco -c daemontus mpbn

Usage

Command line

  • Enumeration of fixed points and attractors:
mpbn -h
  • Simulation:
mpbn-sim -h

Python interface

Documentation is available at https://mpbn.readthedocs.io.

Example notebooks:

For the simulation:

Metadata

Release files for mpbn 4.4

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

Source distribution (sdist)

Source distribution for mpbn 4.4
File Size Uploaded Provenance
mpbn-4.4.tar.gz 18.9 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 42.5 kB

Release files / mpbn-4.4.tar.gz

Download URL mpbn-4.4.tar.gz
Size 18.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f190175a93f5c495b701e9f5ea6bf905ed66210a4d744923e5935ee6a0148412
BLAKE2b-256 checksum
How to use checksums
e5b752a3a85009fdb63b1187418f17f7dfa567e27f39af78efc2ca93b2e8bdfd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / mpbn-4.4-py3-none-any.whl

Download URL mpbn-4.4-py3-none-any.whl
Size 23.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e92935c519916ea436ac0e458a39b09e488801cccd11ea36060a5a39e2a39c0e
BLAKE2b-256 checksum
How to use checksums
49e15c26cc6457b9ce6e626633313bc9668ade3fef3fc32f29febd0a2e87218e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Security for mpbn 4.4

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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