Skip to main content

codequality

Lightweight, fast code quality analyzer for Python projects. No AI, no API costs.

A simple CLI tool that detects common code smells in your Python codebase. Designed to be a lightweight alternative to heavyweight solutions like SonarQube.

Why codequality?

  • No API costs - Pure static analysis, runs entirely on your machine
  • Fast - Analyzes thousands of files in seconds
  • No setup - Just pipx install codequality and run
  • Human-readable output - Markdown reports that your team will actually read
  • Open source - MIT license, code on GitHub

Installation

pipx install codequality

Or with pip:

pip install --user codequality

Usage

# Analyze current directory
codequality

# Analyze specific path
codequality analyze ./my-project

# Output as JSON
codequality analyze ./my-project --format json

# Output to file
codequality analyze ./my-project --output report.md

# Check only specific rules
codequality analyze ./my-project --only function-length,complexity

# CI-friendly output (exit non-zero on issues)
codequality analyze ./my-project --strict

What does it detect?

Rule Description Severity
function-length Functions longer than 50 lines Warning
file-length Files longer than 500 lines Warning
function-params Functions with more than 5 parameters Info
complexity Cyclomatic complexity > 10 Warning
nested-depth Nesting deeper than 4 levels Warning
returns Functions with more than 5 return statements Info

Pricing

Tier Price Features
Free $0/mes 1 repo, basic rules, markdown output
Pro $7/mes Unlimited repos, JSON output, CI integration, custom rules, dashboards
Team $25/mes Multi-repo dashboards, team analytics, priority support

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codequality_cli-0.1.0.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codequality_cli-0.1.0-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file codequality_cli-0.1.0.tar.gz.

File metadata

  • Download URL: codequality_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for codequality_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 18464c970941b5aa83669172625ac12dd7f9a0f809425463a0c1eb3dd71cea13
MD5 ce54f4ea1757506ee61c17323b81f3ea
BLAKE2b-256 a369e1cb0eea1ed9240b6e968e4367b515986aaaeaab9fc652f69c030cb814c5

See more details on using hashes here.

File details

Details for the file codequality_cli-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for codequality_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1fb66b8bb71db8cc1fd29f28aa7081e79ff0c5429c703e539881816e60b9386f
MD5 c30e5e3f8dc2a4f7ae02a36f58e93824
BLAKE2b-256 b45b81ae20a017036865539c26808e0706bf8a28fad6f95c13e218ceecafa876

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page