This is a python CLI and library that calculates the cognitive complexity of Python files. Cognitive complexity is a metric that defines how easy (or hard) is a code, this is a metric focused on devs and AI agents.
I've developed complexipy to be fast and to help to keep projects easy to maintain.