A lightweight state framework for Python applications
Project description
sqlstate
Super simple state manager for Python3
Usage
Define state
import sqlstate
state = sqlstate.State('dog.tmp') # This creates a file called dog.tmp where your state will be saved.
Store
dogs = [{'name': 'Michael Clayton', 'breed': 'Labrador'}]
state.store(key='dogs', payload=dogs)
Get
dogs = state.get(key='dogs')
sqlstate
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
sqlstate-0.0.1.tar.gz
(1.8 kB
view hashes)