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.

Files for kojak, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size kojak-0.3.0-py2.py3-none-any.whl (4.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size kojak-0.3.0.tar.gz (86.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page