python-pip
Advanced tools
+1
-1
| 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 |
+1
-1
| [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: |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
11605
3.72%141
6.02%