使用http服务器快速共享目录的cli程序

qs的Python项目详细描述


说明

quickshare(qs)是(现在是传统的)simplehttpserver的一个变体,它存在于 python 2.x.它允许通过打开http快速共享目录 服务器。qs同时支持python2和python3。

您可以定义上载速率限制以防止客户端使用所有 如果给定或 默认为1。

为什么是流沙?

http://xkcd.com/949/

分享是很有趣的,但在处理多个 操作系统、平台和未体验用户。现在,几乎 所有的东西都有一个网络界面,为什么我们不使用它呢?

文档

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

许可证

此程序受GPLv3许可证约束。

你应该收到GNU通用公共许可证的副本 还有这个节目。如果没有,请参见<;http://www.gnu.org/licenses/>;。

联系人

Main developper: Cédric Picard
Email:           cedric.picard@efrei.net

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何修复无法解析从未使用过的符号和变量的错误   java lucene搜索   java无法获取可用的提供程序解析程序   java问题使用引发SAXException的方法编译类   是否可以编辑抽象类?JAVA   java AppletViewer出现错误并试图加入计时器   基于java JNI的Android库,在没有NDK的情况下使用   Java如何使用Jenkins中的环境变量?   XMLHttpRequestJavaJavaScript   JPA实体中的java枚举类型字段   java泛型方法将一种枚举类型转换为另一种枚举类型   java Liveconnect小程序问题   java SpringBoost应用程序和Apache Ignite配置:启动ApplicationContext时出现问题   反射从Java8中的类对象获取方法引用   调试时Eclipse在java 8类加载器上中断