handeling very large dictionaries

alex23 wuwei23 at gmail.com
Sun Jun 28 23:03:21 EDT 2009

On Jun 29, 9:13 am, mclovin <hanoo... at gmail.com> wrote:
> Is there something like it that is more flexible?

Have you seen the stdlib module 'shelve'? http://docs.python.org/library/shelve.html

It creates a persistent file-based dictionary, which can hold any type
of object as long as it can be pickled.

I really like the 3rd party module 'shove': http://pypi.python.org/pypi/shove

It's similar to shelve but provides many more backend options,
including dbs, svn and Amazon S3. Very handy.

More information about the Python-list mailing list