Skip to main content

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

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.2.tar.gz (1.8 kB view details)

Uploaded Source

File details

Details for the file sqlstate-0.0.2.tar.gz.

File metadata

  • Download URL: sqlstate-0.0.2.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.3

File hashes

Hashes for sqlstate-0.0.2.tar.gz
Algorithm Hash digest
SHA256 105b7edb28cf22e8f619346e36c732071b0011bd32856466246235e6fb73e148
MD5 7273ce36aea70517a7838762ecb05377
BLAKE2b-256 21614f5d5c0bdfd535d18b23ce3d09d8e6cf7fc3254c05689021a93b437ca39d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 file

0.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page