tooluniverse.package_tool 模块

class tooluniverse.package_tool.PackageTool[源代码]

基类:BaseTool

通用工具,用于提供有关 Python 包的信息。通过 PyPI API 获取实时数据,支持本地备份。

__init__(tool_config)[源代码]
run(arguments)[源代码]

获取全面的包信息。

参数:

arguments (dict) – 可选参数用于自定义设置

返回值

dict: Package information including name, description, installation, docs, usage