跳转到主要内容

分析Python环境中安装的包

项目描述

https://img.shields.io/pypi/v/envrpt.svg https://img.shields.io/pypi/l/envrpt.svg https://github.com/jayclassless/envrpt/workflows/Test/badge.svg

概述

envrpt 分析Python环境中安装的包,并生成报告。目前,它可以

  • 识别并编目环境中安装的所有包。

  • 检查 PyPI 以确定是否有安装包的新版本可用。

  • 检查安装包中缺失和错误的依赖关系。

  • 将安装的包与 Safety DB 进行比较,以识别存在已知漏洞的包。

用法

envrpt 安装到您要分析的环境中(pip install envrpt),则 envrpt 命令应可用

$ envrpt --help
usage: envrpt [-h] [-v] [--skip-outdated-check] [--skip-vulnerability-check] [-f {console,html,json,markdown}]
              [-o FILENAME] [-s] [-p]

Analyzes the packages installed in a Python environment

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
  --skip-outdated-check
                        skips querying the package server for new versions of packages
  --skip-vulnerability-check
                        skips checking installed packages for known vulnerabilities
  -f {console,html,json,markdown}, --format {console,html,json,markdown}
                        the format to output the environment report in; if not specified, defaults to console
  -o FILENAME, --output FILENAME
                        the filename to write the output to; if not specified, defaults to stdout
  -s, --summary-only    only show a summary of the environment
  -p, --problems-only   only show packages with problems

许可协议

envrptMIT许可协议 下发布。

项目详情


下载文件

下载适用于您的平台文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源分布

envrpt-0.1.0.tar.gz (32.7 kB 查看哈希值)

上传时间 源码

构建分发包

envrpt-0.1.0-py3-none-any.whl (34.4 kB 查看哈希值)

上传时间 Python 3

支持