Bowler
Safe code refactoring for modern Python. (by facebookincubator)
RedBaron
Bottom-up approach to refactoring in python (by PyCQA)
Bowler | RedBaron | |
---|---|---|
4 | 2 | |
1,514 | 686 | |
0.3% | 0.7% | |
0.0 | 0.0 | |
about 1 month ago | over 2 years ago | |
Python | Python | |
MIT License | GNU Lesser General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Bowler
Posts with mentions or reviews of Bowler.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-01.
- Bowler · Safe code refactoring for modern Python
- Bowler – Safe code refactoring for modern Python
-
Show HN: Python Source Code Refactoring Toolkit via AST
A similar type project. Though I haven't seen much activity recently:
https://github.com/facebookincubator/Bowler
-
Our Engineering Team Used Python's AST to Patch 100,000s of Lines of Code
I have done something similar using https://pybowler.io/. This library wraps the LibCST library and abstracts away some of the refactoring operations into nice wrapper functions.
RedBaron
Posts with mentions or reviews of RedBaron.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-01-23.
-
Show HN: Codemodder – A new codemod library for Java and Python
https://github.com/PyCQA/redbaron
E.g. PyCQA/bandit does static analysis for security issues in Python code:
- Our Engineering Team Used Python's AST to Patch 100,000s of Lines of Code
What are some alternatives?
When comparing Bowler and RedBaron you can also consider the following projects:
Rope - a python refactoring library
LibCST - A concrete syntax tree parser and serializer library for Python that preserves many aspects of Python's abstract syntax tree
py2js
lib3to6 - Build universally compatible python packages from a substantial subset of Python 3.8.
hpy - HPy: a better API for Python
pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.
refactor - AST-based fragmental source code refactoring toolkit for Python
pasta - Library to refactor python code through AST manipulation.
tbpatch - Token-based patch experiments