用于Google App Engine(使用远程API调用)的Python脚本启动器
项目描述
tk0.gaerunner
tk0.gaerunner是Google App Engine的Python脚本启动器。tk0.gaerunner通过远程API调用封装了一些API,因此启动的脚本能够操作App Engine环境中的资源。
% gaerunner my_app_id scripts/data_import.py
源代码和问题跟踪器可以在https://bitbucket.org/tk0miya/tk0.gaerunner找到。
设置AppEngine
在执行tk0.gaerunner之前,您必须设置开发环境。
AppEngine SDK (google_appengine_1.x.x.zip)
在您的应用程序上接受远程API调用
设置AppEngine SDK
安装AppEngine SDK。使用appfy.recipe.gae。
在您的应用程序上接受远程_api_calls
您必须设置您的应用程序以接受远程_api_calls。将remote_api处理器添加到您的app.xml中并将其部署到Appengine。
示例
handlers: - url: /remote_api script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py login: admin
使用buildout设置tk0.gaerunner
如果您使用buildout设置开发环境,请将上述部分添加到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
历史
0.1.1 (2010-04-23)
指定许可证版本;Apache License 2.0
0.1.0 (2010-12-12)
首次发布
项目详情
关闭
tk0.gaerunner-0.1.1.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 64095ea53b7285bc40cef00f5c00dbfb2913dbd2f0106b255af81d30259ea9b5 |
|
MD5 | 72a5ecf6fe929095233bae05307ad7fc |
|
BLAKE2b-256 | aeb40b13ca2c40a8e507ee57633bf5b5fe48596d31f59fd189501058bb218fb1 |