Metadata-Version: 2.4
Name: cndr
Version: 0.2.0
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Rust
Classifier: Topic :: Software Development :: Quality Assurance
License-File: LICENSE
Summary: condor: a fast, vulture-compatible dead-code finder for Python, written in Rust
Keywords: dead code,unused code,vulture,static analysis
License-Expression: MIT
Requires-Python: >=3.8
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Documentation, https://mde-pach.github.io/condor/
Project-URL: Homepage, https://github.com/mde-pach/condor
Project-URL: Repository, https://github.com/mde-pach/condor

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="docs/assets/hero-dark.svg">
  <img alt="condor: its two unused letters o are flagged and removed, leaving cndr" src="docs/assets/hero-light.svg" width="600">
</picture>

Finds unused Python code: functions nobody calls, classes nobody uses,
leftover imports and variables, unreachable code. A faster
[vulture](https://github.com/jendrikseipp/vulture) with fewer false positives.

```
uvx cndr src/
```

Install with `uv tool install cndr` (or `pip install cndr`); the commands are
`condor` and `cndr`.

**Documentation: https://mde-pach.github.io/condor/**

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="docs/assets/bench-dark.svg">
  <img alt="Scanning Django: condor versus vulture" src="docs/assets/bench-light.svg" width="720">
</picture>

More in the [results](https://mde-pach.github.io/condor/results/).

## Repository

| Path | Contents |
|---|---|
| `crates/` | condor in Rust: engine, Python analysis, command line |
| `tests/upstream/` | vulture's own test suite, run against condor |
| `harness/` | comparison with vulture on real projects ([summary](harness/SUMMARY.md)), benchmark |
| `spec/` | detailed specification: [vulture behaviour](spec/compatibility.md), [improvements](spec/improvements.md), [differences](spec/divergences.md) |
| `docs/` | the documentation site |

## Licence

MIT. vulture's bundled whitelists and test suite are copyright Jendrik Seipp,
MIT.

