Provides the implementation of a configurable state machine
Project description
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+
Documentation
Source Code
Feel free to fork, evaluate and contribute to this project.
License
GPLv3 licensed.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
state_machine_db-0.1.tar.gz
(5.5 kB
view hashes)