# tonybaloney/wily

A Python application for tracking, reporting on timing and complexity in Python code

Repository: https://github.com/tonybaloney/wily
Canonical: https://ross.abutalabs.com/products/wily
Language: Python
License: Apache-2.0
License Family: permissive
Topics: hacktoberfest, hacktoberfest-accepted, complexity, python, quality
Last push: 2026-08-09T08:15:32+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 60, longevity 100
- inputs: {"age_days": 2883, "days_push": 24, "days_rel": 129, "gap_med": 0, "n_releases_24m": 2}
- flags: prerelease_only
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1324, forks 67 (observed 2026-08-28T04:04:22.200163+00:00)

## What it is
Wily is a command-line application that tracks and reports code complexity and other metrics across the git history of a Python project. It builds a cache of metrics per commit and can diff complexity against previous revisions, making it useful in CI pipelines and pre-commit hooks.

## Use cases
- track code complexity trends across git commits
- fail CI when complexity increases in a pull request
- run complexity checks as a pre-commit hook
- report on maintainability metrics for a Python codebase
- compare complexity of current code against a specific git revision
- find files whose complexity has grown over time

## When to choose
- you maintain a Python project and want to prevent complexity regressions
- you want historical metric trends derived from git history
- you need a lightweight CLI metric gate for CI or pre-commit

## When to avoid
- your project is not in git or not written in Python
- you need runtime performance profiling rather than static complexity metrics
- you need full static analysis with type checking

## Facets
- artifact type: cli-tool
- maturity: active
- function: developer-tools, code-review, ci-cd, linter
- domain: developer-tools, version-control, testing, performance
- platform: python, cli, cross-platform
- tags: code-complexity, static-analysis, git-history, cyclomatic-complexity, maintainability, pre-commit, code-quality-metrics

## Member repositories
- tonybaloney/wily (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:22.200163+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:47:02.379410+00:00, confidence not recorded.
  - readme: https://github.com/tonybaloney/wily (fetched 2026-08-28T04:04:22.200163+00:00, sha 1c5e1bb305ba)
  - registry_pypi: https://pypi.org/pypi/wily/json (fetched 2026-08-29T12:05:48.360140+00:00, sha 55923c331de7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
