ppic is python package information collector.
Project description
ppic is python package information collector.
how to use
if your environment is such as below.
$ pip freeze SQLAlchemy==0.9.7
ppic command can collect information that need available updates are existed or not.
$ ppic sqlalchemy ansible
collection information .. takes at least 0.05 sec
{ 'packages': [ { 'name': 'SQLAlchemy',
'_previous_version': '0.9.7',
'version': '0.9.8',
'last_modified': '2014-10-13T17:16:15'},
{ 'name': 'ansible',
'version': '1.8.2',
'last_modified': '2014-12-04T23:16:25'}],
'update_candidates': ["SQLAlchemy: '0.9.7' -> '0.9.8'"], # update is found.
'new_install_candidates': ["ansible: '' -> '1.8.2'"]} # ansible is not found in your environment
--installed option
--installed (or -i) option with ppic then collect all information in your in environment.
$ ppic --installed
collection information .. takes at least 0.00 sec
{ 'packages': [ { 'name': 'SQLAlchemy',
'_previous_version': '0.9.7',
'version': '0.9.8',
'last_modified': '2014-10-13T17:16:15'}],
'update_candidates': ["SQLAlchemy: '0.9.7' -> '0.9.8'"], # update is found.
'new_install_candidates': []}
--stable-only option
--stable-only (or -s) option with ppic then collecting stable version only(but this is heuristic aproach maybe wrong, maybe)
$ ppic django
collecting information .. takes at least 0.0 sec
{
"packages": [
{
"name": "Django",
"version": "1.8a1",
"last_modified": "2015-01-16T22:25:13"
}
],
"update_candidates": [],
"new_install_candidates": [
"Django: '' -> '1.8a1'"
]
}
$ ppic django --stable-only
collecting information .. takes at least 0.0 sec
{
"packages": [
{
"name": "Django",
"version": "1.7.4",
"last_modified": "2015-01-27T17:22:19"
}
],
"update_candidates": [],
"new_install_candidates": [
"Django: '' -> '1.7.4'"
]
}
--dependency option
--dependency (or -d) option with ppic then, collecting information in consideration of package dependency, so including dependents packages.
{
"packages": [
{
"name": "PasteDeploy",
"_previous_version": "1.5.2",
"version": "1.5.2",
"last_modified": "2013-12-27T17:41:02"
},
{
"name": "WebOb",
"_previous_version": "1.4",
"version": "1.4",
"last_modified": "2014-05-15T01:30:57"
},
{
"name": "pyramid",
"_previous_version": "1.5.1",
"version": "1.5.2",
"last_modified": "2014-11-10T05:06:15"
},
{
"name": "repoze.lru",
"_previous_version": "0.6",
"version": "0.6",
"last_modified": "2012-07-12T20:48:40"
},
{
"name": "setuptools",
"_previous_version": "3.6",
"version": "12.1",
"last_modified": "2015-02-11T01:16:43"
},
{
"name": "translationstring",
"_previous_version": "1.1",
"version": "1.3",
"last_modified": "2014-11-05T20:19:35"
},
{
"name": "venusian",
"_previous_version": "1.0",
"version": "1.0",
"last_modified": "2014-06-30T17:27:36"
},
{
"name": "zope.deprecation",
"_previous_version": "4.1.1",
"version": "4.1.2",
"last_modified": "2015-01-13T15:28:52"
},
{
"name": "zope.interface",
"_previous_version": "4.1.1",
"version": "4.1.2",
"last_modified": "2014-12-28T01:05:28"
}
],
"update_candidates": [
"pyramid: '1.5.1' -> '1.5.2'",
"setuptools: '3.6' -> '12.1'",
"translationstring: '1.1' -> '1.3'",
"zope.deprecation: '4.1.1' -> '4.1.2'",
"zope.interface: '4.1.1' -> '4.1.2'"
],
"new_install_candidates": [],
"dependencies": [
{
"pyramid": [
"setuptools",
"WebOb",
"repoze.lru",
{
"zope.interface": [
"setuptools"
]
},
{
"zope.deprecation": [
"setuptools"
]
},
"venusian",
"translationstring",
"PasteDeploy"
]
},
{
"zope.deprecation": [
"setuptools"
]
},
{
"zope.interface": [
"setuptools"
]
}
]
}
appendix: using with jq
$ ppic pyramid --dependency| jq .update_candidates collecting information .. takes at least 0.4 sec [ "pyramid: '1.5.1' -> '1.5.2'", "setuptools: '3.6' -> '12.1'", "translationstring: '1.1' -> '1.3'", "zope.deprecation: '4.1.1' -> '4.1.2'", "zope.interface: '4.1.1' -> '4.1.2'" ]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ppic-0.2.7.tar.gz.
File metadata
- Download URL: ppic-0.2.7.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16cd9efd1d4b5eb92e5b4368bb5831996a41b91449bc1afd83dd6940b6e30d67
|
|
| MD5 |
636ea6acadffdeb432db768c00d2aca5
|
|
| BLAKE2b-256 |
93f4f1324d303f350bed5ed2521d288000ed7d227e3f9b433ff55cfe5865bdde
|
File details
Details for the file ppic-0.2.7-py3-none-any.whl.
File metadata
- Download URL: ppic-0.2.7-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8eaea6e4b800ba7e9637053e22750aaa2686f084478338c68cd290465efeadf0
|
|
| MD5 |
580a524328fbabab424aeae2a4bee749
|
|
| BLAKE2b-256 |
e996f996a6d61d4e2fbcb1031e1cdbb7516a8a316a0ea607ebffb5d9cd193694
|