EveryDev.ai
Sign inSubscribe
  1. Home
  2. Tools
  3. complexipy
complexipy icon

complexipy

Code Review

A Python library and CLI tool to calculate cognitive complexity of Python files and analyze code maintainability.

Visit Website

At a Glance

Pricing

Open Source

Free and open source under MIT license

Engagement

Available On

Windows
macOS
Linux

Resources

WebsiteDocsGitHubllms.txt

Topics

Code ReviewCode IntelligenceLinters & Formatters

About complexipy

complexipy is a Python library and command-line tool designed to calculate the cognitive complexity of Python source code. It helps developers identify complex code sections that may be difficult to understand and maintain, enabling better code quality and refactoring decisions. The tool analyzes Python files and provides detailed complexity metrics based on the cognitive complexity metric.

Key Features:

  • Cognitive Complexity Analysis - Calculates cognitive complexity scores for Python functions and files, helping identify code that may be hard to understand or maintain
  • CLI Interface - Provides a straightforward command-line interface to analyze individual files, directories, or entire projects with customizable options
  • Library Integration - Can be imported as a Python library for programmatic access to complexity calculations within your own tools and workflows
  • Detailed Reporting - Generates comprehensive reports showing complexity scores per function, allowing targeted refactoring efforts
  • Configurable Thresholds - Set maximum complexity thresholds to enforce code quality standards and fail builds when complexity exceeds limits
  • Fast Performance - Built with Rust for high-performance analysis, capable of processing large codebases quickly
  • JSON Output - Supports JSON output format for easy integration with CI/CD pipelines and other automation tools
  • Git Integration - Can analyze only changed files in a git repository for efficient incremental analysis

To get started, install complexipy using pip with pip install complexipy. Once installed, run complexipy . in your project directory to analyze all Python files. Use complexipy --help to see all available options including setting complexity thresholds, output formats, and filtering options. The tool can be integrated into pre-commit hooks or CI pipelines to maintain code quality standards across your team.

Community Discussions

Be the first to start a conversation about complexipy

Share your experience with complexipy, ask questions, or help others learn from your insights.

Pricing

OPEN SOURCE

Open Source

Free and open source under MIT license

  • Full cognitive complexity analysis
  • CLI interface
  • Python library integration
  • JSON output
  • Configurable thresholds
View official pricing

Capabilities

Key Features

  • Cognitive complexity calculation
  • CLI interface
  • Python library integration
  • JSON output format
  • Configurable complexity thresholds
  • Directory and file analysis
  • Git integration for changed files
  • Fast Rust-based performance
  • Detailed function-level reporting

Integrations

Python
Git
CI/CD pipelines
Pre-commit hooks

Reviews & Ratings

No ratings yet

Be the first to rate complexipy and help others make informed decisions.

Developer

Robin Quintero

Robin Quintero develops open-source Python tools focused on code quality and developer productivity. The complexipy project provides cognitive complexity analysis for Python codebases, built with Rust for high performance.

Read more about Robin Quintero
GitHub
1 tool in directory

Similar Tools

Greptile icon

Greptile

Automated AI code review that analyzes pull requests with full repository context to find bugs, enforce team rules, and suggest fixes across GitHub and GitLab.

cubic icon

cubic

AI code review platform that automates pull request reviews, provides inline feedback, one-click fixes, and auto-generated PR descriptions to help teams merge faster.

Macroscope icon

Macroscope

Macroscope analyzes codebases to summarize activity, generate PR descriptions, and surface high-signal code-review findings so engineering teams can find bugs and ship faster.

Browse all tools

Related Topics

Code Review

Tools that help review, analyze, and improve code quality.

43 tools

Code Intelligence

AI tools that analyze, generate, and transform code through natural language understanding and programming language comprehension.

22 tools

Linters & Formatters

Automated code quality tools that check style, detect errors, and format code consistently across projects.

2 tools
Browse all topics
Back to all tools
Explore AI Tools
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
Main Menu
  • Tools
  • Developers
  • Topics
  • Discussions
  • News
  • Blogs
  • Builds
  • Contests
Create
Sign In
    Sign in
    0views
    0saves
    0discussions