Skip to main content

Provides the implementation of a configurable state machine

Project description

Travis CI build status (Linux) Latest PyPI version Documentation Status Code Health


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


>>> 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


To install state_machine, simply run:

$ pip install state_machine_db

state_machine_db is compatible with Python 2.6+

Source Code

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



GPLv3 licensed.

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for state-machine-db, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size state_machine_db-0.1.tar.gz (5.5 kB) File type Source Python version None Upload date Hashes View
Filename, size state_machine_db-0.1-py2.7.egg (5.0 kB) File type Egg Python version 2.7 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page