Skip to main content

Python script launcher for Google App Engine (using remote API call)

Project description

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

License

Apache License 2.0

History

0.1.1 (2010-04-23)

  • Specify license version; Apache License 2.0

0.1.0 (2010-12-12)

  • first release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tk0.gaerunner-0.1.1.tar.gz (3.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page