Skip to main content

A simple file data store

Project description

https://travis-ci.org/kryptn/Pantry.svg?branch=master

A simple context manager based file store that uses the pickle module

Use:

from pantry import pantry

shelves = {'first': ['cereal', 'rice', 'beans'],
           'second': ['spam', 'spam', 'baked beans', 'spam']}

with pantry('pantry.txt') as db:
    db['shelves'] = shelves

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

Pantry-0.3.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distributions

Pantry-0.3-py3.5.egg (2.6 kB view hashes)

Uploaded Source

Pantry-0.3-py2.7.egg (2.5 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