简体   繁体   中英

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?

The specific features I am looking for are:

  • Stores data as Entities with Named Properties
  • Query support
  • Atomic transactions
  • Python language bindings
  • 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 . It is an open source document-oriented database system.

You may also want to check out 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). AppScale is and does each of the requirements you list here. It automatically installs/configures/manages the datastore service (and all other APIs/services) for your apps to use, so you don't have to.

Have a look at ZODB - not exactly alike but similiar http://www.zodb.org/

from the docs

Some of the features that ZODB brings to you:

  • Transparent persistence for Python objects
  • Full ACID-compatible
  • transaction support (including savepoints) History/undo ability
  • Efficient support for binary large objects (BLOBs)
  • Pluggable storages
  • Scalable architecture

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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