• 语法

    pip show [options] <package>
    常用参数含义
    -f显示包的文件列表
    -v显示更多的信息
  • 字段释义

    字段含义示例
    Name名称requests
    Version版本号2.31.0
    Summary概述Python HTTP for Humans.
    Home-page官网或文档链接https://requests.readthedocs.io
    Author作者Kenneth Reitz
    Author-email作者邮箱me@kennethreitz.org
    License许可证Apache 2.0
    Location在系统中的安装位置D:\Application\Python\Lib\site-packages
    Requires所依赖的其他包名certifi, charset-normalizer, idna, urllib3
    Required-by被哪些其他包所依赖-
    Metadata-Version元数据的版本号2.1
    Installer安装这个包的工具或方法pip
    Classifiers分类信息,包括开发状态、环境、目标受众、许可证、语言、操作系统等-
    Entry-points入口点,通常用于定义可执行脚本或插件-
    Project-URLs项目地址,包括文档、源代码等-
  • 示例

    D:>pip show requests
    Name: requests
    Version: 2.31.0
    Summary: Python HTTP for Humans.
    Home-page: https://requests.readthedocs.io
    Author: Kenneth Reitz
    Author-email: me@kennethreitz.org
    License: Apache 2.0
    Location: D:\Application\Python\Lib\site-packages
    Requires: certifi, charset-normalizer, idna, urllib3
    Required-by:
    D:>pip show requests -v
    Name: requests
    Version: 2.31.0
    Summary: Python HTTP for Humans.
    Home-page: https://requests.readthedocs.io
    Author: Kenneth Reitz
    Author-email: me@kennethreitz.org
    License: Apache 2.0
    Location: D:\Application\Python\Lib\site-packages
    Requires: certifi, charset-normalizer, idna, urllib3
    Required-by:
    Metadata-Version: 2.1
    Installer: pip
    Classifiers:
        Development Status :: 5 - Production/Stable
        Environment :: Web Environment
        Intended Audience :: Developers
        License :: OSI Approved :: Apache Software License
        Natural Language :: English
        Operating System :: OS Independent
        Programming Language :: Python
        Programming Language :: Python :: 3
        Programming Language :: Python :: 3.7
        Programming Language :: Python :: 3.8
        Programming Language :: Python :: 3.9
        Programming Language :: Python :: 3.10
        Programming Language :: Python :: 3.11
        Programming Language :: Python :: 3 :: Only
        Programming Language :: Python :: Implementation :: CPython
        Programming Language :: Python :: Implementation :: PyPy
        Topic :: Internet :: WWW/HTTP
        Topic :: Software Development :: Libraries
    Entry-points:
    Project-URLs:
        Documentation, https://requests.readthedocs.io
        Source, https://github.com/psf/requests

标签: 暂无标签