Skip to main content

Python file analyzer

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kojak-0.3.0.tar.gz (86.8 kB view hashes)

Uploaded Source

Built Distribution

kojak-0.3.0-py2.py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page