在AppEngine项目之外使用Google AppEngine数据存储 [英] Use Google AppEngine datastore outside of AppEngine project

查看:106
本文介绍了在AppEngine项目之外使用Google AppEngine数据存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于我的小框架 Pyxer ,我希望能够使用Google AppEngine数据存储也在AppEngine项目之外,因为我现在已经习惯了这种ORM模式,并且对于很少的快速入侵很有帮助。由于文件大小和文件数量的限制,我无法将Google AppEngine用于我的所有项目。

For my little framework Pyxer I would like to to be able to use the Google AppEngine datastores also outside of AppEngine projects, because I'm now used to this ORM pattern and for little quick hacks this is nice. I can not use Google AppEngine for all of my projects because of its's limitations in file size and number of files.

如果有项目,它提供了一个与AppEngine数据存储区命名相同的ORM。我也非常喜欢GQL方法,因为这是ORM和SQL模式的完美结合。

A great alternative would also be, if there was a project that provides an ORM with the same naming as the AppEngine datastore. I also like the GQL approach very much, since this is a nice combination of ORM and SQL patterns.

任何想法在哪里或如何找到这样的解决方案?感谢。

Any ideas where or how I might find such a solution? Thanks.

推荐答案

但是,假设您想要使用与您现在在应用程序引擎中使用的完全相同的ORM。总的来说,有大量的ORM选项,尽管我不熟悉Python中最先进的技术。 这个问题似乎解决了这个问题。

However, that assumes you want to use exactly the same ORM that you use now in app engine. There are tons of ORM options in general out there, though I am not familiar with the state of the art in Python. This question does seem to address the issue though.

这篇关于在AppEngine项目之外使用Google AppEngine数据存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆