Python script launcher for Google App Engine (using remote API call)
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.
Before executing tk0.gaerunner, you must set up development environments.
Install AppEngine SDK. Use appfy.recipe.gae.
you must set up your application to accept remote_api calls. Add remote_api handler to your app.xml and deploy it to Appengine.
handlers: - url: /remote_api script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py login: admin
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
Apache License 2.0