It is mainly a Python wrapper of the libBbMm elements. PyBbMm also introduces some user-friendly Python classes to better manage BbMm concepts.
Attention: Actually, only x86 machin under Linux OS are supported.
The pyBbMm package does not rely on any dependencies. Installation is performed with pip after cloning this repository:
git clone https://bitbucket.org/ktorz/wraps-python.git
pip install ./wraps-pythonThe 'example-421.py' file provides a simple example for pyBbMm inspired by the 421 game. The command python3 example-421.py should instantiate a model for 421 and test 2 transitions.
pyBbMm is developed according to the test-driven method based on the pytest framework.
pip install pytest
pytest