kojak

Python file analyzer


License
MIT
Install
pip install kojak==0.3.0

Documentation

kojak

Build Status PyPI PyPI - Python Version PyPI - Status

Python projects analyzer

kojak is a development tools that help you to get informations about a given python file and to get a big picture of this one like all the module classes and all the module classes functions members.

kojak retrieve informations from python projects by using the python abstract tree syntax (AST).

Warning

Really young project with poor functionalities for now.

Features

  • Get classes and methods
  • Get functions from python modules
  • Get list of imports

Install or Update kojak

$ pip install -U kojak

Usage

$ 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

Future improvements

  • add the possibility to do a recursive of the whole files of a given project
  • inspect from the stdin
  • add the possibility to scoping an object or a given method or function

Contribute

If you want to contribute to kojak please first read the contribution guidelines

Licence

This project is under the MIT License.

See the license file for more details