【文件属性】:
文件名称:click-web:通过网络提供点击脚本
文件大小:456KB
文件格式:ZIP
更新时间:2021-08-04 20:48:56
Python
点击网页
以最少的努力通过网络提供点击脚本。
注意:如果您打算公开服务,请确保设置安全性(SSL、登录等)。请参阅
用法
请参阅此演示。
使用现有的点击脚本,如下所示:
example_command.py import click
import time
@click.group()
def cli():
'A stupid script to test click-web'
pass
@cli.command()
@click.option("--delay", type=float, default=0.01, help='delay for every line print')
@click.argument("lines", default=10, type=int)
def print_rows(lines, delay):
'Print lines
【文件预览】:
click-web-master
----setup.py(2KB)
----.gitignore(1KB)
----MANIFEST.in(76B)
----LICENSE(1KB)
----doc()
--------click-web-demo.gif(534KB)
----setup.cfg(153B)
----click_web()
--------templates()
--------__init__.py(3KB)
--------resources()
--------static()
--------web_click_types.py(1024B)
--------exceptions.py(98B)
----.github()
--------workflows()
----README.rst(3KB)
----tests()
--------conftest.py(142B)
--------test_flask_post.py(4KB)
--------__init__.py(0B)
--------test_request_parsing.py(1KB)
--------test_flask_get.py(2KB)
--------test_click_web.py(9KB)
--------fixtures()
----example()
--------digest_auth()
--------example_command.py(7KB)
--------custom()
--------basic()
----AUTHORS.rst(120B)
----CONTRIBUTING.rst(1KB)
----check.sh(219B)