List of Python Object Databases [closed]

喜你入骨 提交于 2019-12-04 08:31:02

问题


I am looking for an object database for Python (no handmade pickles :D).

What are my options (besides the obvious ZODB)?


回答1:


MongoDB perhaps comes close - not object oriented but document-oriented and coming close to object databases.




回答2:


Dobbin. Somewhat similar to ZODB, but much simpler. It looks nice but I haven't tried it myself. I haven't been able to find much information about it. It has been at version 0.2 for over a year. I don't know if it is still being actively maintained, if it is reliable enough for mission-critical applications.

From the description on the site, the main difference between Dobbin and other object databases is that persisted objects are read-only unless they are explicitly "checked out". This may make dealing with objects a little trickier, but it may make the database faster and more memory-efficient.




回答3:


  • handmade shelves? ;-)
  • Durus?
  • SqlAlchemy? it's not an object database, but chances are that you could use it

Check PersistenceTools on the python.org wiki, which mentions a few that might count. (the DatabaseProgramming page also mentions Matisse under "Non-relational Databases", I don't know it, just mention it because for some reason, it's not included on that other page)




回答4:


DyBASE by Konstantin Knizhnik who developed a lot of embedded databases for multiple programming languages. It has transactions and indices. There are tests in the distribution and I use it myself for persisting elements in a Python Queue. My example is also available at github as python-persistence-queue




回答5:


Cog:

Seems not updating for a long time.

itamarst.org/software/cog

And this is a paper on 6th International Python conf. about object database. https://legacy.python.org/workshops/1997-10/proceedings/shprentz.html



来源:https://stackoverflow.com/questions/5106212/list-of-python-object-databases

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!