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.
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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file state_machine_db-0.1.tar.gz.
File metadata
- Download URL: state_machine_db-0.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b449eb650bfc17b590477ad87c6b1fdf526ba369ddb9afc12480af2dfb756ad
|
|
| MD5 |
897e746be686ad4fc988552b7b6713d2
|
|
| BLAKE2b-256 |
4436531124a9fcafbd90fa2c0bd1f4d1e651c0981d572a89e4d75627551d740f
|
File details
Details for the file state_machine_db-0.1-py2.7.egg.
File metadata
- Download URL: state_machine_db-0.1-py2.7.egg
- Upload date:
- Size: 5.0 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c22775378399f6056ea79a65bf86ff45b327fd5af4d8a9406c74eb51f06c87c2
|
|
| MD5 |
8c615a415692bfdc00ee08572ac00c72
|
|
| BLAKE2b-256 |
c13d997bf3e8fe7161e5b0f4d4f3944b2d0fb2a529d80552a93a0c2c4a92e223
|