python-worker-hello-world:Cloudflare Workers的Python hello世界

时间:2021-05-30 07:25:11
【文件属性】:
文件名称:python-worker-hello-world:Cloudflare Workers的Python hello世界
文件大小:41KB
文件格式:ZIP
更新时间:2021-05-30 07:25:11
JavaScript Cloudflare Workers的Python hello世界 Python 代码,在 Cloudflare Workers 上运行。 除了和 ,您还需要安装 ,包括 Python 3.7 和 virtualenv。 牧马人 使用生成 wrangler generate projectname https://github.com/cloudflare/python-worker-hello-world 可以在找到有关 Wrangler 的更多文档。 转密 在构建项目之前,您需要对 Transcrypt 进行一次性设置。 假设您已按照上面的链接说明安装了Python 3.7和virtualenv,则在Unix系统上的设置如下所示(有关Windows,请参见 ): cd projectname virtualenv env source env/bin/activate pip
【文件预览】:
python-worker-hello-world-master
----.gitignore(109B)
----package.json(404B)
----package-lock.json(132KB)
----webpack.config.js(345B)
----wrangler.toml(122B)
----LICENSE-MIT(1KB)
----README.md(3KB)
----index.py(242B)
----LICENSE-APACHE(11KB)

网友评论