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 :class:`systems ` from Kappa strings;
* manipulation of systems such as by :class:`adding ` and :class:`removing ` agents and :class:`editing ` rules;
* :class:`monitoring ` the history of observables;
* cached :class:`tracking ` of rule embeddings for algorithmically efficient simulation :class:`updates `; and
* :class:`passing systems` to `KaSim `_ for faster compiled execution.
Visit the :doc:`examples ` gallery to see how PyKappa can be used to simulate systems of molecular interactions such as :doc:`polymerization ` and :doc:`gene regulation `.
See the `language manual `_ for a detailed description of the Kappa language.
PyKappa is available via pip:
.. code-block:: bash
pip install pykappa
.. toctree::
:maxdepth: 2
:hidden:
tutorial
examples/index
api/index