py2js | prefactor | |
---|---|---|
1 | 1 | |
3 | 12 | |
- | - | |
2.7 | 0.0 | |
almost 3 years ago | over 5 years ago | |
Python | Python | |
GNU General Public License v3.0 only | - |
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.
py2js
Posts with mentions or reviews of py2js.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-01.
-
Show HN: Python Source Code Refactoring Toolkit via AST
Nice! I like the syntax, this reminds me of the structural search and replace feature from IntelliJ IDEA. Is this the project you were referring to?
https://github.com/erezsh/py2js
prefactor
Posts with mentions or reviews of prefactor.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-01.
-
Show HN: Python Source Code Refactoring Toolkit via AST
Nice, I've always thought Python could do better by adopting source transformation tools like babel. I implemented something similar using lib2to3, which preserves whitespace and comments more accurately: https://github.com/banga/prefactor
What are some alternatives?
When comparing py2js and prefactor you can also consider the following projects:
hpy - HPy: a better API for Python
Bowler - Safe code refactoring for modern Python.
refactor - AST-based fragmental source code refactoring toolkit for Python
prosodia - Parse Backus-Naur form syntaxs into parsers to generate ASTs of arbitrary syntaxs.
semgrep - Lightweight static analysis for many languages. Find bug variants with patterns that look like source code.