A python library for Random Boolean Networks.
Designed to be simple and fast, works particularly well with PyPy.
Install using pip including development extras
pip install -e .[dev]
Enable pre-commit hooks with:
pre-commit install
Freeze dependencies with:
pip-compile
Run tests with:
pytest
Test coverage with:
coverage run --source=pyrbn -m pytest
coverage report -m
performance comparison of backends
- networkx
- python-igraph
- graph-tool
- numpy
- done, slower than pure python or pypy