Overview

tk0.gaerunner

tk0.gaerunner is python script launcher for Google App Engine. tk0.gaerunner is wrapping some APIs using remote API calls, So launched scripts are able to manupilate resources on appengine environment.

% gaerunner my_app_id scripts/data_import.py

Source code and issue tracker can be found at https://bitbucket.org/tk0miya/tk0.gaerunner.

Setting up AppEngine

Before executing tk0.gaerunner, you must set up development environments.

  • AppEngine SDK (google_appengine_1.x.x.zip)
  • Accept remote_api calls on your application

Setup AppEngine SDK

Install AppEngine SDK. Use appfy.recipe.gae.

Accept remote_api_calls on your application

you must set up your application to accept remote_api calls. Add remote_api handler to your app.xml and deploy it to Appengine.

Example
handlers:
- url: /remote_api
  script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
  login: admin

Setting up tk0.gaerunner using buildout

If you use buildout for setting up development environments, add above parts to buildout.cfg.

[gaerunner]
recipe = zc.recipe.egg
eggs =
    tk0.gaerunner
extra-paths =
    parts/google_appengine
    app/lib
    app/distlib.zip
    app

History

0.1.0 (2010-12-12)

  • first release
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.