PyKappa is a Python package for simulating and analyzing rule-based models of the variety specified by the Kappa language. It supports
programatic construction of
systemsfrom Kappa strings;manipulation of systems such as by
addingandremovingagents andeditingrules;
monitoringthe history of observables;cached
trackingof rule embeddings for algorithmically efficient simulationupdates; and
passing systemsto KaSim for faster compiled execution.
Visit the examples gallery to see how PyKappa can be used to simulate systems of molecular interactions such as polymerization and gene regulation. See the language manual for a detailed description of the Kappa language.
PyKappa is available via pip:
pip install pykappa