Use Google AppEngine datastore outside of AppEngin

2019-02-10 12:28发布

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.

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.

3条回答
我想做一个坏孩纸
2楼-- · 2019-02-10 12:43

There is also the Remote API which the bulkloader tool uses to upload or download data into/from the Datastore.

Maybe it could be used to have applications which are not hosted on AppEngine to still use the Datastore there.

查看更多
【Aperson】
3楼-- · 2019-02-10 12:52

Nick Johnson, from the app engine team himself, has a blog posting listing some of the alternatives, including his BDBdatastore.

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.

查看更多
够拽才男人
4楼-- · 2019-02-10 12:57

You might also want to look at AppScale, which is "a platform that allows users to deploy and host their own Google App Engine applications".

It's probably overkill for your purposes, but definitely something to look into.

查看更多
登录 后发表回答