rope (conda): Rope is the world's most advanced open source Python refactoring library (yes, I totally stole that tagline from Postgres).
Keywords: ast|python|refactoring|refactoring-tools