New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

python-pip

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

python-pip - pypi Package Compare versions

Comparing version
0.33
to
1.0
+1
-1
PKG-INFO
Metadata-Version: 2.1
Name: python-pip
Version: 0.33
Version: 1.0
Summary: Python PIP Wrapper

@@ -5,0 +5,0 @@ Home-page: https://github.com/jpraychev/python-pip

[metadata]
name = python-pip
version = 0.33
version = 1.00
author = Jordan Raychev

@@ -5,0 +5,0 @@ author_email = jpraychev@gmail.com

Metadata-Version: 2.1
Name: python-pip
Version: 0.33
Version: 1.0
Summary: Python PIP Wrapper

@@ -5,0 +5,0 @@ Home-page: https://github.com/jpraychev/python-pip

from typing import List, Dict
from .commands import Commands
from python_pip.commands import Commands

@@ -7,3 +7,3 @@ class PIP():

__version__ = '0.33'
__version__ = '1.00'
__author__ = 'Jordan Raychev'

@@ -29,2 +29,9 @@ __email__ = 'jpraychev at gmail dot com'

""" pip freeze command normal output follows the convention:
pytest==7.1.1
If package is install via pip install . from the root dir, the output is
show below:
python-pip @ file:///D:/Personal%20Projects/python-pip
"""
packages = dict()

@@ -35,4 +42,6 @@ lp = Commands._list_packages()

for package in inst_packages:
name, version = package.split('==')[0], package.split('==')[1]
packages[name] = version
""" Ignoring locally installed packages if @ is in package name """
if not '@' in package:
name, version = package.split('==')[0], package.split('==')[1]
packages[name] = version

@@ -39,0 +48,0 @@ if pretty: