Comparison
lief vs patchelf vs pyelftools
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Library to instrument executable formats
Actively maintained. Last release 5 months ago, commits in 21 of the last 26 weeks. A safe choice.
$
pip install liefA small utility to modify the dynamic linker and RPATH of ELF executables.
Actively maintained. Last release 4 weeks ago, commits in 16 of the last 26 weeks. A safe choice.
$
pip install patchelfLibrary for analyzing ELF files and DWARF debugging information
Maintained. Last release 6 months ago, commits in 6 of the last 26 weeks. Weaker on release cadence and security practices.
$
pip install pyelftoolsIn short
- pyelftools is the most used: 14.6M downloads a month.
- lief is better maintained: Pythie’s Index 87 against 52.
- pyelftools is growing fastest: downloads +18% over the last month.
Side by side
| Metric | lief | patchelf | pyelftools |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 87 | 85 |