Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Provides the implementation of a configurable state machine

Project description

Travis CI build status (Linux) Latest PyPI version Documentation Status https://coveralls.io/repos/github/jonDel/state_machine_db/badge.svg?branch=master 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+

Source Code

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

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

License

GPLv3 licensed.

Project details


Release history Release notifications

This version
History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
state_machine_db-0.1-py2.7.egg (5.0 kB) Copy SHA256 hash SHA256 Egg 2.7
state_machine_db-0.1.tar.gz (5.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page