通过UNHP.NET Web服务解码文件的非正式CLI应用程序
dephp的Python项目详细描述
通过http://www.unphp.netweb服务解码文件的非官方cli应用程序。
帮助
usage: dephp [-h] [-V] [-m] [-a APIKEY] [-o OUTPUT] [file] Unofficial CLI application that decodes files through unphp.net web service positional arguments: file The file to read. If not specified it will be read from STDIN optional arguments: -h, --help show this help message and exit -V, --version show program's version number and exit -m, --metadata Print response metadata -a APIKEY, --apikey APIKEY Unphp.net API key -o OUTPUT, --output OUTPUT Write the result to OUTPUT. If not specified it will be printed to STDOUT
配置文件
您可以将UNHP API密钥保存在配置文件中,可以全局保存在/etc/dephp.conf中,也可以本地保存在$home/.dephp.conf中。
示例配置:
[DEFAULT] apikey = ABCDE # get one at http://www.unphp.net/api/request/ entrypoint = http://www.unphp.net/api/v2/post # default
许可证
版权所有(c)2014 Massimiliano Torromeo
DEHP是根据BSD许可条款发布的免费软件。
有关详细信息,请参阅源发行版附带的许可证文件。
联系人
- 马西米利亚诺·托罗米奥massimiliano.torromeo@gmail.com>;