Python对象数据库列表[英] List of Python Object Databases

本文是小编为大家收集整理的关于Python对象数据库列表的处理/解决方法,可以参考本文帮助大家快速定位并解决问题,中文翻译不准确的可切换到English标签页查看源文。

问题描述

我正在寻找Python的对象数据库(无手工泡菜:D).

我有什么选择(除了明显的 zodb )?

)?

推荐答案

mongodb也许是接近的 - 不是面向对象,而是面向文档,并靠近对象数据库.

其他推荐答案

dobbin .有点类似于ZODB,但要简单得多.看起来不错,但我自己没有尝试过.我找不到有关它的太多信息.它已在0.2版中使用了一年多.我不知道它是否仍在积极维护中,是否足够可靠地用于关键任务.

从网站上的描述中,多宾和其他对象数据库之间的主要区别在于,除非明确"签出",否则持续的对象是只读取的.这可能会使处理对象变得更加棘手,但是它可能会使数据库更快,更高的内存效率.

其他推荐答案

检查 persistenceTools 在python.org wiki上,其中一些可能很重要. ( databaseprogrammming page page也提到

本文地址:https://www.itbaoku.cn/post/597732.html

问题描述

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

What are my options (besides the obvious ZODB)?

推荐答案

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

其他推荐答案

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.

其他推荐答案

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)

相关标签/搜索