pip-show
--pip-showv1.0.0Converts `pip show` command output to JSON
command
$ pip show | jc-rs --pip-showA real pair
From the reference corpus (ubuntu-18.04/pip-show.json). The left pane is the input the fixture ships; the right pane is the corpus's expected JSON. CI compares jc-rs with it field by field under the published differential. Hover a value to see where it came from.
pip showubuntu-18.04
Name: pycrypto Version: 2.6.1 Summary: Cryptographic modules for Python. Home-page: http://www.pycrypto.org/ Author: Dwayne C. Litzenberger Author-email: dlitz@dlitz.net License: UNKNOWN Location: /usr/lib/python3/dist-packages Requires: --- Name: six Version: 1.11.0 Summary: Python 2 and 3 compatibility utilities Home-page: http://pypi.python.org/pypi/six/ Author: Benjamin Peterson Author-email: benjamin@python.org License: MIT Location: /usr/lib/python3/dist-packages Requires: --- Name: wheel Version: 0.30.0 Summary: A built-package format for Python. Home-page: https://github.com/pypa/wheel Author: Alex Grönholm Author-email: alex.gronholm@nextday.fi License: MIT Location: /usr/lib/python3/dist-packages Requires:
expected outputjson
Use the Left and Right arrow keys to highlight the matching value in the input.
[ { "name": "pycrypto", "version": "2.6.1", "summary": "Cryptographic modules for Python.", "home_page": "http://www.pycrypto.org/", "author": "Dwayne C. Litzenberger", "author_email": "dlitz@dlitz.net", "license": "UNKNOWN", "location": "/usr/lib/python3/dist-packages", "requires": null }, { "name": "six", "version": "1.11.0", "summary": "Python 2 and 3 compatibility utilities", "home_page": "http://pypi.python.org/pypi/six/", "author": "Benjamin Peterson", "author_email": "benjamin@python.org", "license": "MIT", "location": "/usr/lib/python3/dist-packages", "requires": null }, { "name": "wheel", "version": "0.30.0", "summary": "A built-package format for Python.", "home_page": "https://github.com/pypa/wheel", "author": "Alex Grönholm", "author_email": "alex.gronholm@nextday.fi", "license": "MIT", "location": "/usr/lib/python3/dist-packages", "requires": null } ]
Fixture coverage
6/6oracle-valid pairs match under the published structural JSON comparison
Magic syntax
jc-rs pip showjc-rs runs the command itself and parses what it prints. Recognised for: `pip show`, `pip3 show`Source: crates/jc-rs-parsers/src/package/pip_show.rs. jc-rs targets the schemas defined by the original Python tool. Fixture coverage above is the measured evidence for this parser; test the inputs your pipeline depends on. Compare