Skip to content

jonDel/state_machine_db

Repository files navigation

Travis CI build status (Linux)

Latest PyPI version

Documentation Status

image

Code Health

state_machine_db

state_machine_db provides the implementation of a recoverable (sqlite3) state machine

Example

>>> import logging
>>> loggin.basicConfig()
>>> from state_machine_db import StateMachine
>>> st = StateMachine('/tmp/db.sqlite', 'first')
>>> st.logger.setLevel('DEBUG')
>>> st.start()
>>> st.update_flag = True

Installation

To install state_machine, simply run:

$ pip install state_machine_db

state_machine_db is compatible with Python 2.6+ and python 3

Documentation

https://state_machine_db.readthedocs.io

Source Code

Feel free to fork, evaluate and contribute to this project.

Source: https://github.com/jonDel/state_machine_db

License

GPLv3 licensed.

Releases

No releases published

Packages

No packages published

Languages