rubik/radon
Various code metrics for Python code observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5095
- days_rel: n/a
- days_push: 682
- n_releases_24m: 0
Adoption not part of the score
2010 stars · 138 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Radon is a Python CLI tool and library that computes code quality metrics such as cyclomatic complexity, raw metrics (SLOC, comments), Halstead metrics, and the Maintainability Index. It works across a wide range of Python versions and can be used from the command line or programmatically.
Use cases
- measure cyclomatic complexity of python code
- compute maintainability index for python files
- count source lines of code and comment lines
- calculate halstead complexity metrics
- find overly complex functions in a codebase
- integrate code quality metrics into CI
When to choose
- you need static code metrics for Python projects
- you want a lightweight CLI with minimal dependencies
- you need programmatic access to complexity metrics
When to avoid
- you need full static analysis like linting or type checking
- you are analyzing non-Python source code
Facets
cli-tool · maturity stable
developer-tools cli developer-tools testing python cli cross-platform static-analysis code-metrics cyclomatic-complexity halstead-metrics maintainability-index code-quality command-line
2 sources
- readme: https://github.com/rubik/radon · fetched 2026-08-28 · 47bf753d4c5f
- registry_pypi: https://pypi.org/pypi/radon/json · fetched 2026-08-29 · 368ce0a2e04d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rubik/radon | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem