kojak 
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.
Release files for kojak 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kojak-0.3.0.tar.gz | 86.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kojak-0.3.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 91.4 kB
Release files / kojak-0.3.0.tar.gz
| Download URL | kojak-0.3.0.tar.gz |
|---|---|
| Size | 86.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
145ffa41cc568d69c42bbabf93f79d9fc8f9f295f270516709d11e0fab2acac1
|
|
BLAKE2b-256 checksum How to use checksums |
7a58e5d87c449fea66e989ede1c547b5c15ae72d1a46de7981033d7dca5d207b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.9.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5+
|
Release files / kojak-0.3.0-py2.py3-none-any.whl
| Download URL | kojak-0.3.0-py2.py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
a32a7558e8252fbadca2267cc1b7a4128cb2b3b1bbbb5a697a744162274fbe05
|
|
BLAKE2b-256 checksum How to use checksums |
2e258b91340bf1f64680c74faa8805327817d9f0f6667bd5240dfeb92bd5cafe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.9.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5+
|