简体   繁体   English

适用于Python的Google-App-Engine-Like数据存储区

[英]Google-App-Engine-Like Datastore for Python

Is there any software library that provides an interface for storing and querying data like the Google App Engine Datastore, but uses a local file or service instead of running on App Engine? 是否有任何软件库提供用于存储和查询Google App Engine数据存储等数据的界面,但是使用本地文件或服务而不是在App Engine上运行?

The specific features I am looking for are: 我正在寻找的具体功能是:

  • Stores data as Entities with Named Properties 将数据存储为具有命名属性的实体
  • Query support 查询支持
  • Atomic transactions 原子交易
  • Python language bindings Python语言绑定
  • Runs on my local machine 在我的本地机器上运行
    • either stores to a single file 要么存储到单个文件
    • or connects to a local database service 或连接到本地数据库服务
  • Free and open source 免费和开源

Thanks 谢谢

You can also check MongoDB . 您还可以查看MongoDB It is an open source document-oriented database system. 它是一个面向开源文档的数据库系统。

You may also want to check out Appscale ( http://www.appscale.com ). 您可能还想查看Appscale( http://www.appscale.com )。 It lets you run your App Engine apps without modification outside of Google (on your laptop, on your local cluster / behind your firewall, or in Amazon EC2). 它允许您在Google之外(在笔记本电脑上,本地群集上/防火墙后面或Amazon EC2中)无需修改即可运行App Engine应用程序。 AppScale is and does each of the requirements you list here. AppScale是您在此处列出的每项要求。 It automatically installs/configures/manages the datastore service (and all other APIs/services) for your apps to use, so you don't have to. 它会自动安装/配置/管理您的应用程序要使用的数据存储区服务(以及所有其他API /服务),因此您不必这样做。

Have a look at ZODB - not exactly alike but similiar http://www.zodb.org/ 看看ZODB - 不完全相同但类似于http://www.zodb.org/

from the docs 来自文档

Some of the features that ZODB brings to you: ZODB为您带来的一些功能:

  • Transparent persistence for Python objects Python对象的透明持久性
  • Full ACID-compatible 完全ACID兼容
  • transaction support (including savepoints) History/undo ability 事务支持(包括保存点)历史/撤消功能
  • Efficient support for binary large objects (BLOBs) 对二进制大对象(BLOB)的有效支持
  • Pluggable storages 可插拔存储
  • Scalable architecture 可扩展的架构

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM