Re:'New' Python modules of 2015
by GFK_of_xmaspast on Wednesday December 23, 2015 @09:17AM
(#10783354)
You've already got a perfectly fine KVS built into the language.
[ Parent
| on HN ]
Re:'New' Python modules of 2015
by nashequilibrium on Wednesday December 23, 2015 @09:25AM
(#10783391)
Could you name it?
This is probably what he meant:
$ py
Python 2.7.8 |Anaconda 2.1.0 (64-bit) ... on win32
>>> import bsddb
>>> print bsddb.__doc__
Support for Berkeley DB 4.3 through 5.3 with a simple interface.
For the full featured object oriented interface use the bsddb.db module instead. It mirrors the Oracle Berkeley DB C API.
bsddb is deprecated as of python 2.6 and removed in python 3
That particular back-end is deprecated, but the same API is provided by the dbm/gdbm/dumbdbm modules. Those still exist in Python 3, although they've been consolidated under one top-level module.
also, no unicode keys for this or shelve in 2.7 which really causes some coding pain. (not sure about 3.X)
Re:'New' Python modules of 2015
by nashequilibrium on Wednesday December 23, 2015 @09:54AM
(#10783566)
Ahhh... Thanks, never knew that!
Re:'New' Python modules of 2015
by GFK_of_xmaspast on Wednesday December 23, 2015 @10:16AM
(#10783680)
dict