eradicate: Remove Commented-Out Code

JSON →
library 3.0.1 ·python
verified May 22, 2026

Eradicate is a Python library and command-line tool designed to remove commented-out code from Python files. It identifies block comments that contain valid Python syntax, which are likely to be old, commented-out code, helping to clean up repositories. It aims to avoid false positives by intelligently detecting code patterns within comments. The library is actively maintained, with version 3.0.1 released recently, focusing on Python version compatibility and continuous improvements.

total hits 13
actors 5 distinct systems
last hit 18h ago AhrefsBot
Script
3
GPTBot
2
Search engines
1
Humans
2

top countries 🇺🇸 United States · 🇫🇷 France · 🇩🇪 Germany · 🇨🇦 Canada · 🇸🇬 Singapore