Skip to main content

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


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page