pnu-pipinfo


Namepnu-pipinfo JSON
Version 0.9.3 PyPI version JSON
download
home_pagehttps://github.com/HubTou/pipinfo/
SummaryAlternative tool for listing Python packages
upload_time2023-03-31 09:35:35
maintainer
docs_urlNone
authorHubert Tournier
requires_python>=3.6
licenseBSD 3-Clause License
keywords pnu-project
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Installation
Once you have installed [Python](https://www.python.org/downloads/) and its packages manager [pip](https://pip.pypa.io/en/stable/installation/),
depending on if you want only this tool, the full set of PNU tools, or PNU plus a selection of additional third-parties tools, use one of these commands:
```
pip install pnu-pipinfo
pip install PNU
pip install pytnix
```
# PIPINFO(1)

## NAME
pipinfo - Alternative tool for listing Python packages

## SYNOPSIS
**pipinfo**
\[-l|--check-latest\]
\[-v|--check-vulns\]
\[-c|--no-color\]
\[-p|--no-progress\]
\[-i|--info\]
\[-S|--system\]
\[-U|--user\]
\[-I|--issues\]
\[-O|--outdated\]
\[-L|--latest|--uptodate\]
\[-V|--vulnerable\]
\[-H|--healthy|--sane\]
\[-N|--not-required\]
\[-R|--required\]
\[--debug\]
\[--help|-?\]
\[--version\]
\[--\]
\[directory ...\]

## DESCRIPTION
The **pipinfo** utility provides an alternative to the "pip list", "pip list --outdated", "pip show" and "pip-audit" commands.

It shows all the available packages in the Python PATH (not just the latest version) or given directories (even for different Python versions), differenciates user and system-wide packages (user packages are written in bright style), show duplicate packages (name in yellow foreground, including user versions shadowing system ones), shows each package summary (avoiding the use of "pip show" to discover what a package is about), and prints the count of installed packages.

With the *-l|--check-latest* option, it will also use a Python Index Package web service to check for the latest versions available, using a simple color (version in yellow foreground) or visual scheme to show outdated packages and count them.

With the *-v|--check-vulns* option, it will also use another Python Index Package web service to check for known vulnerabilities in your packages versions, using a simple color (version in red background) or visual scheme to show vulnerable packages and count them.

The color or visual scheme should be enough to tell you to upgrade the indicated packages, however you can print additional details about new versions available and vulnerabilities with the *-i|--info* option.

You can disable the color output with the *-c|--no-color* option, and the progress meter with the *-p|--no-progress* option.

Finally you can restrict the list to the user or system packages, outdated or up-to-date packages, vulnerable or sane packages, required or not packages with the options in upper case.

The most useful one is probably the *-I|--issues* option which will select the outdated or vulnerable packages only.

### OPTIONS
Options | Use
------- | ---
-l\|--check-latest|Check latest versions
-v\|--check-vulns|Check vulnerabilities
-c\|--no-color|Toggle off color output
-p\|--no-progress|Toggle off progress meter
-i\|--info|Print detailed info on versions & vulnerabilities
-S\|--system|Select only system packages
-U\|--user|Select only user packages
-L\|--latest\|--uptodate|Select only latest packages (implies -l)
-O\|--outdated|Select only outdated packages (implies -l)
-H\|--healthy\|--sane|Select only healthy packages (implies -v)
-V\|--vulnerable|Select only vulnerable packages (implies -v)
-R\|--required|Select only required packages
-N\|--not-required|Select only not required packages
-I\|--issues|Select all packages with issues (-O & -V)
--debug|Enable debug mode
--help\|-?|Print usage and a short help message and exit
--version|Print version and exit
--|Options processing terminator

## ENVIRONMENT
The *PIPINFO_DEBUG* environment variable can be set to any value to enable debug mode.
It's mostly used to display and debug the package requirements read from the Python packages metadata files.

The *LOCALAPPDATA* and *TMP* environment variables under Windows, and *HOME*, *TMPDIR* and *TMP* environment variables
under other operating systems can influence the caching directory used.

## FILES
The **pipinfo** utility will attempt to maintain a caching directory for the web services it uses, where the individual files will be re-used within the next 24 hours.

This directory will be located in one of the following places:
* Windows:
  * %LOCALAPPDATA%\\cache\\pipinfo
  * %TMP%\\cache\\pipinfo
* Unix:
  * ${HOME}/.cache/pipinfo
  * ${TMPDIR}/.cache/pipinfo
  * ${TMP}/.cache/pipinfo

## EXIT STATUS
The **pipinfo** utility exits 0 on success, and >0 if an error occurs.

## EXAMPLES
Use the following command to print a package listing after checking for the existence of new versions or vulnerabilities:
```
pipinfo -lv
```

Use the following command to restrict the list to outdated and vulnerable packages with details but no progress meter:
```
pipinfo -Iip
```

## SEE ALSO
[pip](https://pypi.org/project/pip/),
[pip-audit](https://pypi.org/project/pip-audit/)

## STANDARDS
The **pipinfo** utility is not a standard UNIX command.

It tries to follow the [PEP 8](https://www.python.org/dev/peps/pep-0008/) style guide for [Python](https://www.python.org/) code.

## PORTABILITY
Tested OK under Windows.

## HISTORY
This implementation was made for the [PNU project](https://github.com/HubTou/PNU),
both for my personal convenience and also to investigate some pip issues with the *pip list --outdated* option.

## LICENSE
It is available under the [3-clause BSD license](https://opensource.org/licenses/BSD-3-Clause).

## AUTHORS
[Hubert Tournier](https://github.com/HubTou)

## CAVEATS
The conditions on package dependencies aren't taken into account (yet).
"pipinfo -N" will nonetheless give appoximately the same results than "pip list --not-required".


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/HubTou/pipinfo/",
    "name": "pnu-pipinfo",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "pnu-project",
    "author": "Hubert Tournier",
    "author_email": "hubert.tournier@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/a5/16/85d01accf0da52fc446047005e2c72f21e2939af2dff665ed6bc4b4d6370/pnu-pipinfo-0.9.3.tar.gz",
    "platform": null,
    "description": "# Installation\nOnce you have installed [Python](https://www.python.org/downloads/) and its packages manager [pip](https://pip.pypa.io/en/stable/installation/),\ndepending on if you want only this tool, the full set of PNU tools, or PNU plus a selection of additional third-parties tools, use one of these commands:\n```\npip install pnu-pipinfo\npip install PNU\npip install pytnix\n```\n# PIPINFO(1)\n\n## NAME\npipinfo - Alternative tool for listing Python packages\n\n## SYNOPSIS\n**pipinfo**\n\\[-l|--check-latest\\]\n\\[-v|--check-vulns\\]\n\\[-c|--no-color\\]\n\\[-p|--no-progress\\]\n\\[-i|--info\\]\n\\[-S|--system\\]\n\\[-U|--user\\]\n\\[-I|--issues\\]\n\\[-O|--outdated\\]\n\\[-L|--latest|--uptodate\\]\n\\[-V|--vulnerable\\]\n\\[-H|--healthy|--sane\\]\n\\[-N|--not-required\\]\n\\[-R|--required\\]\n\\[--debug\\]\n\\[--help|-?\\]\n\\[--version\\]\n\\[--\\]\n\\[directory ...\\]\n\n## DESCRIPTION\nThe **pipinfo** utility provides an alternative to the \"pip list\", \"pip list --outdated\", \"pip show\" and \"pip-audit\" commands.\n\nIt shows all the available packages in the Python PATH (not just the latest version) or given directories (even for different Python versions), differenciates user and system-wide packages (user packages are written in bright style), show duplicate packages (name in yellow foreground, including user versions shadowing system ones), shows each package summary (avoiding the use of \"pip show\" to discover what a package is about), and prints the count of installed packages.\n\nWith the *-l|--check-latest* option, it will also use a Python Index Package web service to check for the latest versions available, using a simple color (version in yellow foreground) or visual scheme to show outdated packages and count them.\n\nWith the *-v|--check-vulns* option, it will also use another Python Index Package web service to check for known vulnerabilities in your packages versions, using a simple color (version in red background) or visual scheme to show vulnerable packages and count them.\n\nThe color or visual scheme should be enough to tell you to upgrade the indicated packages, however you can print additional details about new versions available and vulnerabilities with the *-i|--info* option.\n\nYou can disable the color output with the *-c|--no-color* option, and the progress meter with the *-p|--no-progress* option.\n\nFinally you can restrict the list to the user or system packages, outdated or up-to-date packages, vulnerable or sane packages, required or not packages with the options in upper case.\n\nThe most useful one is probably the *-I|--issues* option which will select the outdated or vulnerable packages only.\n\n### OPTIONS\nOptions | Use\n------- | ---\n-l\\|--check-latest|Check latest versions\n-v\\|--check-vulns|Check vulnerabilities\n-c\\|--no-color|Toggle off color output\n-p\\|--no-progress|Toggle off progress meter\n-i\\|--info|Print detailed info on versions & vulnerabilities\n-S\\|--system|Select only system packages\n-U\\|--user|Select only user packages\n-L\\|--latest\\|--uptodate|Select only latest packages (implies -l)\n-O\\|--outdated|Select only outdated packages (implies -l)\n-H\\|--healthy\\|--sane|Select only healthy packages (implies -v)\n-V\\|--vulnerable|Select only vulnerable packages (implies -v)\n-R\\|--required|Select only required packages\n-N\\|--not-required|Select only not required packages\n-I\\|--issues|Select all packages with issues (-O & -V)\n--debug|Enable debug mode\n--help\\|-?|Print usage and a short help message and exit\n--version|Print version and exit\n--|Options processing terminator\n\n## ENVIRONMENT\nThe *PIPINFO_DEBUG* environment variable can be set to any value to enable debug mode.\nIt's mostly used to display and debug the package requirements read from the Python packages metadata files.\n\nThe *LOCALAPPDATA* and *TMP* environment variables under Windows, and *HOME*, *TMPDIR* and *TMP* environment variables\nunder other operating systems can influence the caching directory used.\n\n## FILES\nThe **pipinfo** utility will attempt to maintain a caching directory for the web services it uses, where the individual files will be re-used within the next 24 hours.\n\nThis directory will be located in one of the following places:\n* Windows:\n  * %LOCALAPPDATA%\\\\cache\\\\pipinfo\n  * %TMP%\\\\cache\\\\pipinfo\n* Unix:\n  * ${HOME}/.cache/pipinfo\n  * ${TMPDIR}/.cache/pipinfo\n  * ${TMP}/.cache/pipinfo\n\n## EXIT STATUS\nThe **pipinfo** utility exits 0 on success, and >0 if an error occurs.\n\n## EXAMPLES\nUse the following command to print a package listing after checking for the existence of new versions or vulnerabilities:\n```\npipinfo -lv\n```\n\nUse the following command to restrict the list to outdated and vulnerable packages with details but no progress meter:\n```\npipinfo -Iip\n```\n\n## SEE ALSO\n[pip](https://pypi.org/project/pip/),\n[pip-audit](https://pypi.org/project/pip-audit/)\n\n## STANDARDS\nThe **pipinfo** utility is not a standard UNIX command.\n\nIt tries to follow the [PEP 8](https://www.python.org/dev/peps/pep-0008/) style guide for [Python](https://www.python.org/) code.\n\n## PORTABILITY\nTested OK under Windows.\n\n## HISTORY\nThis implementation was made for the [PNU project](https://github.com/HubTou/PNU),\nboth for my personal convenience and also to investigate some pip issues with the *pip list --outdated* option.\n\n## LICENSE\nIt is available under the [3-clause BSD license](https://opensource.org/licenses/BSD-3-Clause).\n\n## AUTHORS\n[Hubert Tournier](https://github.com/HubTou)\n\n## CAVEATS\nThe conditions on package dependencies aren't taken into account (yet).\n\"pipinfo -N\" will nonetheless give appoximately the same results than \"pip list --not-required\".\n\n",
    "bugtrack_url": null,
    "license": "BSD 3-Clause License",
    "summary": "Alternative tool for listing Python packages",
    "version": "0.9.3",
    "split_keywords": [
        "pnu-project"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4aedb9c4fa25da8009464ec9c61e900754bef1e4482a8cef025e4309e53e0ad3",
                "md5": "dad1cfde0062072978a1731ceba87b19",
                "sha256": "34ff9aa6e3444ab0101bb8fdb7ad76914b5244cfd45bbe6fea8da4b4ae84fc58"
            },
            "downloads": -1,
            "filename": "pnu_pipinfo-0.9.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "dad1cfde0062072978a1731ceba87b19",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 15950,
            "upload_time": "2023-03-31T09:35:34",
            "upload_time_iso_8601": "2023-03-31T09:35:34.001627Z",
            "url": "https://files.pythonhosted.org/packages/4a/ed/b9c4fa25da8009464ec9c61e900754bef1e4482a8cef025e4309e53e0ad3/pnu_pipinfo-0.9.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a51685d01accf0da52fc446047005e2c72f21e2939af2dff665ed6bc4b4d6370",
                "md5": "8d742b648be7564a53660374540ea8dd",
                "sha256": "02b487ef676475f84693dab572a9729e1b7e33a7743e07700352fca0b3ca7d91"
            },
            "downloads": -1,
            "filename": "pnu-pipinfo-0.9.3.tar.gz",
            "has_sig": false,
            "md5_digest": "8d742b648be7564a53660374540ea8dd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 17968,
            "upload_time": "2023-03-31T09:35:35",
            "upload_time_iso_8601": "2023-03-31T09:35:35.225175Z",
            "url": "https://files.pythonhosted.org/packages/a5/16/85d01accf0da52fc446047005e2c72f21e2939af2dff665ed6bc4b4d6370/pnu-pipinfo-0.9.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-31 09:35:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "HubTou",
    "github_project": "pipinfo",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pnu-pipinfo"
}
        
Elapsed time: 0.06670s