python3 integrity_checker.py --check-py simplejson urllib3 --ignore-pyc
Result codes reminders:
dot (.) / trustlevel=4 verified against online hash
star (*) / trustlevel=3 verified against local hash in the system
star (-) / trustlevel=2 verified against local hash in the hashdb
plus (+) / trustlevel=1 not verified, probably new or changed file
exclamation mark (!) / trustlevel=0 verification failed, see integrity_checker.log for info/warning
START WORKING ON PY PACKAGES ------------------------------------
Checking pip2 libraries -----
Checking pip3 libraries -----
++++++.+.......................................+..!......................................
STATISTICS ON PY PACKAGES ---------
Total number of files analyzed: 89
Number of files with trustlevel = 4 : 80
Number of files with trustlevel = 3 : 0
Number of files with trustlevel = 2 : 0
Number of files with trustlevel = 1 : 8
Number of files with trustlevel = 0 : 1
No entries written to hashdb
cat integrity_checker.log | grep trustlevel=1
2020-06-30 20:19:30,581:INFO:pip3:/usr/local/lib/python3.7/dist-packages/simplejson-3.17.0.dist-info/INSTALLER: trustlevel=1, package: simplejson==3.17.0
2020-06-30 20:19:30,581:INFO:pip3:/usr/local/lib/python3.7/dist-packages/simplejson-3.17.0.dist-info/LICENSE.txt: trustlevel=1, package: simplejson==3.17.0
2020-06-30 20:19:30,581:INFO:pip3:/usr/local/lib/python3.7/dist-packages/simplejson-3.17.0.dist-info/METADATA: trustlevel=1, package: simplejson==3.17.0
2020-06-30 20:19:30,581:INFO:pip3:/usr/local/lib/python3.7/dist-packages/simplejson-3.17.0.dist-info/RECORD: trustlevel=1, package: simplejson==3.17.0
2020-06-30 20:19:30,581:INFO:pip3:/usr/local/lib/python3.7/dist-packages/simplejson-3.17.0.dist-info/WHEEL: trustlevel=1, package: simplejson==3.17.0
2020-06-30 20:19:30,581:INFO:pip3:/usr/local/lib/python3.7/dist-packages/simplejson-3.17.0.dist-info/top_level.txt: trustlevel=1, package: simplejson==3.17.0
2020-06-30 20:19:30,582:INFO:pip3:/usr/local/lib/python3.7/dist-packages/simplejson/_speedups.cpython-37m-x86_64-linux-gnu.so: trustlevel=1, package: simplejson==3.17.0
2020-06-30 20:19:31,945:INFO:pip3:/usr/local/lib/python3.7/dist-packages/urllib3-1.25.9.dist-info/INSTALLER: trustlevel=1, package: urllib3==1.25.9
cat integrity_checker.log | grep trustlevel=0
2020-06-30 20:19:31,946:INFO:pip3:/usr/local/lib/python3.7/dist-packages/urllib3-1.25.9.dist-info/RECORD: trustlevel=0, package: urllib3==1.25.9