python文件分析器
kojak的Python项目详细描述
Kojak
python项目分析器
Kojak是一个帮助您获取信息的开发工具 关于给定的python文件 就像所有模块类和所有模块类的函数成员一样。
kojak使用pythonabstract tree syntax (AST)从python项目中检索信息。
警告
目前功能很差的非常年轻的项目。
功能
- 获取类和方法
- 从python模块获取函数
- 获取导入列表
安装或更新kojak
$ pip install -U kojak
用法
$ kojak <path to your python file>
List imports by the module:
-Import argparse
-From sys import exit
-From kojak.utils import get_classes
List classes by the module:
Class1
- method11
- method12
- method13
Class2
- method21
- method22
- method23
未来改进
- 添加对给定项目的整个文件进行递归的可能性
- 从stdin进行检查
- 添加确定对象或给定方法或函数范围的可能性
贡献
如果你想为kojak please first read the contribution guidelines
许可证
这个项目是在麻省理工学院的许可下进行的。
See the license file for more details