Decision Workspace
py-canon vs find-dup-defs vs libcst
Side-by-side comparison of Rust crates
44
py-canon
experimentalv0.1.0
Python source → CPython ast.dump-shape canonicalization + module-level definition scan (Ruff parser). The Python frontend for find-dup-defs.
43
find-dup-defs
experimentalv0.2.0
Find duplicate / near-duplicate top-level definitions across a codebase via clone clustering (Python frontend today).
61
libcst
growingv1.8.6
A Python parser and Concrete Syntax Tree library.
Core Metrics
| py-canon | find-dup-defs | libcst | |
|---|---|---|---|
| Health Score | 44 | 43 | 61 |
| Total Downloads | 14 | 16 | 910.0K |
| 30d Downloads | 0 | 0 | 100.5K |
| Dependents | 2 | 0 | 0 |
| Releases | 1 | 2 | 16 |
| Last Updated | today | today | 203d ago |
| Age | 1d | 1d | 2y 8m |
Health Breakdown
py-canon
Maintenance
13
Quality
13
Community
7
Popularity
1
Documentation
10
find-dup-defs
Maintenance
14
Quality
12
Community
6
Popularity
1
Documentation
10
libcst
Maintenance
11
Quality
19
Community
10
Popularity
7
Documentation
14
Technical Details
| py-canon | find-dup-defs | libcst | |
|---|---|---|---|
| Version | 0.1.0 | 0.2.0 | 1.8.6 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT AND (MIT AND PSF-2.0) |
| Dependencies | 6 | 9 | 12 |
| Crate Size | 31KB | 20KB | 111KB |
| Features | 0 | 0 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | — | 1.70 |
| Owners | 1 | 1 | 2 (team) |
Links
Quick Verdict
- •libcst leads with a health score of 61/100, but none of the options score above 80.
- •py-canon, find-dup-defs are pre-1.0 — API may change.