使用http服务器快速共享目录的cli程序
qs的Python项目详细描述
说明
quickshare(qs)是(现在是传统的)simplehttpserver的一个变体,它存在于 python 2.x.它允许通过打开http快速共享目录 服务器。qs同时支持python2和python3。
您可以定义上载速率限制以防止客户端使用所有 如果给定或 默认为1。
文档
Usage: qs [-h] [-p PORT] [-r RATE] [--no-sf] [FILE]... Options: -h, --help Print this help and exit. -p, --port PORT Port on which the server is listenning. Default is 8000 -r, --rate RATE Limit upload to RATE in ko/s. Default is 0 meaning no limitation. --no-sf Do not search a free port if the selected one is taken. Otherwise, increase the port number until it finds one. --version Print the current version Arguments: FILE Files or directory to share. Default is the current directory: `.' If '-' is given, read from stdin. If 'index.html' is found in the directory, it is served.
依赖关系
docopthttps://github.com/docopt/docopt或“pip install docopt”
安装
最简单的方法是使用
pip install qs
或者,在此目录中,
python setup.py install
联系人
Main developper: Cédric Picard Email: cedric.picard@efrei.net