GitHub - isidentical/refactor: Simple python source refactoring toolkit based on AST
Simple, hassle-free, dependency-free, AST based source code refactoring toolkit. refactor is an end-to-end refactoring framework that is built on top of the 'simple but effective refactorings' assumption. It is much easier to write a simple script with it rather than trying to figure out what sort of a regex you need in order to replace a pattern (if it is even matchable with regexes).
https://github.com/isidentical/refactor?utm_source=tldrnewsletter