Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Simple persistence for Python dictionaries
Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
ledge
.gitignore
LICENSE
README.md
setup.py
tests.py

README.md

ledge

Simple serialized persistence for Python dictionaries. With backends for Amazon S3 and the filesystem.

Pre-alpha quality, probably not a good idea to use this yet.

>>> my_ledge = Ledge('my_ledge', backend=S3('some-bucket', 'some-key'), readonly=False)
>>> my_ledge['name'] = 'my_ledge'
>>> my_ledge['age'] = 42
>>> my_ledge.sync()
>>>
>>> # ... time passes
>>>
>>> my_ledge = Ledge('my_ledge', backend=S3('some-bucket', 'some-key'))
>>> print my_ledge['name']
"my_ledge"
Something went wrong with that request. Please try again.