dashed avatar

python-complexity

Two censuses of Python complexity, no project install: per function (ruff C901 cyclomatic + complexipy cognitive, read as a pair) and per call path (hops, pass-through layers, selector parameters) for code where every function scores low but the path is hard to follow. Use when asking which functions to refactor first, whether a function or call path is too complex or over-layered, when triaging a legacy codebase, or when verifying a refactor reduced rather than relocated complexity.

version
1.6.0
GitHub stars
25

Install

/plugin install python-complexity@alberto-marketplace

Run it inside Claude Code after adding the marketplace with /plugin marketplace add dashed/claude-marketplace.

Sponsors

Details

Marketplace
dashed/claude-marketplace
Source
plugins/python-complexity
Author
Alberto Leal
Category
community
License
MIT
Keywords
python, complexity, cyclomatic, cognitive-complexity, refactoring, ruff, complexipy, code-quality, layering, call-path, indirection, over-abstraction

More from dashed/claude-marketplace

All 65