环境包更新检查器
pipcheck的Python项目详细描述
要求
必需
python和以下模块
- ^{tt2}$
- ^{tt3}$
试验要求
- ^{tt4}$
- ^{tt5}$
- ^{tt6}$
安装
使用PIP安装:
$ sudo pip install pipcheck
从源安装:
$ git clone https://github.com/mikejarrett/pipcheck.git
$ cd pipcheck
$ sudo python setup.py install
用法
Python
>>>frompipcheck.checkerimportChecker>>>checker=Checker(csv_file='/tmp/updates.csv',new_config='/tmp/updates.pip')>>>checker.get_updates(get_all_updates=True,verbose=True)UpdateDjango(1.5.5to1.6.2)Updateclonedigger(Unknown)Updateipdb(uptodate)Updateipython(1.2.1to2.0.0)Updatepylint(0.15.2to1.1.0)
命令行
usage: pipcheck [-h][-c [/path/file]][-r [/path/file]][-v][-a][-p [http://pypi.python.org/pypi]] pipcheck is an application that checks for updates for PIP packages that arer installed optional arguments: -h, --help show this help message and exit -c [/path/file], --csv [/path/file] Define a location for csv output -r [/path/file], --requirements [/path/file] Define location for new requirements file output -v, --verbose Display the status of updates of packages -a, --all Returns results for all installed packages -p [http://pypi.python.org/pypi], --pypi [http://pypi.python.org/pypi] Change the pypi server from http://pypi.python.org/pypi
python版本
使用以下Python版本进行测试:
- 3.6.0
- 3.5.2
- 3.4.6
- 3.3.6
- 2.7.13
- 2.6.9