1 个仓库
Mapping imported module names to their specific installed versions using local environment metadata.
Distinct from Module Version Mapping: Focuses on local environment metadata for versioning rather than runtime browser module mapping
Explore 1 awesome GitHub repository matching software engineering & architecture · Environment Version Mapping. Refine with filters or upvote what's useful.
pipreqs 是一个 Python 依赖生成和发现工具。它扫描项目导入以识别运行项目所需的第三方库,并自动生成仅包含源代码中实际使用包的 requirements 文件。 该实用程序通过比较已安装的包与实际导入来充当 requirements 文件管理器。它提供了修剪未使用的依赖项和审计项目以识别缺失或过时包的能力。 该工具采用静态分析和抽象语法树 (AST) 来隔离导入语句,而无需执行代码。它使用本地元数据或自定义服务器解析包版本,并递归遍历目录结构以定位所有相关的源文件。
Maps imported modules to their specific version numbers by querying the local installed environment.