Skip to main content
LICENSE https://travis-ci.org/carocad/CodeInk.svg?branch=master https://coveralls.io/repos/carocad/CodeInk/badge.svg?branch=master Code Climate

CodeInk is a Python source code analyzer focused on complexity and interrelation of modules.

CodeInk draws the ihnerent relations of your modules along with their complexity and maintanability indexes in a beautiful graph powered by D3.js.

drawing of radon v1.2
  • drawing of radon v1.2

  • hover over a rounded rectangle to check which module is it

o.O?

the animations that CodeInk creates are base on:

  • symbols: squares = modules, circle = Python, cross = target module, class = diamond, function = triangle-up, method = triangle-down

  • lines: each line represents an import

  • color: module maintainability index green = :) –> red = :(

  • size: ciclomatic complexity small = :) –> big = :(

hint: if A imports B, and B imports C, then A imports B and C, right? A –> B, B –> C, A –> B & C

install

with pip:

pip3 install codeink

manually:

git clone https://github.com/carocad/CodeInk.git
python3 setup.py install

usage

draw a package structure:

codeink draw /path/to/project

trace a module’s imports:

codeink trace /path/to/module.py

check who imports a module:

codeink blame /path/to/module.py

get an overview of a module:

codeink portrait /path/to/module.py

requirements

notes

In order to use CodeInk you must make sure that your python version uses the same syntax as the code that you are analyzing i.e. analyzing a code written with Python v2.7 syntax while using Python v3.x will result in an error.

Metadata

Release files for codeink 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for codeink 1.0
File Size Uploaded
codeink-1.0.tar.gz 11.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for codeink 1.0
File Interpreter ABI Platform
codeink-1.0-py3-none-any.whl Python 3 none any Details

Total release size: 27.7 kB

Release files / codeink-1.0.tar.gz

Download URL codeink-1.0.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
34167618ceef0c94247d5a554ef88e6d5c0215ff7d37fb00750e0822cbe73b48
BLAKE2b-256 checksum
How to use checksums
d1fab6d9335968f5d5d5a736dfd915570894e92094b2b82d9ad9ff719e565239
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / codeink-1.0-py3-none-any.whl

Download URL codeink-1.0-py3-none-any.whl
Size 16.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
47ae4ef0dfb82c53a46a74602a7cb235b6d95d91e83b5ff56390219718ae22f0
BLAKE2b-256 checksum
How to use checksums
ee576ffd41032266ece6b195fc243a0726d7dedad14c36227bf30188785cdd51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page