Rope
a python refactoring library (by python-rope)
gomacro
Interactive Go interpreter and debugger with REPL, Eval, generics and Lisp-like macros (by cosmos72)
Our great sponsors
Rope | gomacro | |
---|---|---|
22 | 11 | |
1,830 | 2,132 | |
1.1% | - | |
9.1 | 6.4 | |
9 days ago | 3 months ago | |
Python | Go | |
GNU Lesser General Public License v3.0 only | Mozilla Public License 2.0 |
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.
Rope
Posts with mentions or reviews of Rope.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-20.
-
In neovim ,how to do refactoring python code?
Hi, maintainer of rope here. There are a number of different options to use rope in Vim/Neovim, we've documented them in this page https://github.com/python-rope/rope/wiki/Rope-in-Vim-or-Neovim
-
Open Source Python libraries/projects that need contributions?
If you're looking for something with a bigger codebase, then the rope library in which pylsp-rope is based on is also welcoming of contributions.
-
Completion and auto imports
I think rope is the standard for refactoring, and should provide autoimports soon, though pyright might also be good for that.
-
NVIM: More complete autocomplete
rope
-
Making Python Code Idiomatic by Automatic Refactoring Non-Idiomatic Python Code with Pythonic Idioms
If you are interested in discussing this or have ideas you want to sketch out, meet me at rope's GitHub Discussion.
-
What motivates you writing open source software?
However, my biggest and most popular open source project is one that I don't originally write, but rather I inherited a popular project that has been abandoned by their original author/maintainers. I use Python a lot, so I wanted to contribute to the community in a significant way, so unlike my other projects I do take the time promoting this project as well. I felt it's more like a community service for this project.
-
What are some interesting open source projects to contribute code to?
I am the maintainer rope and pylsp-rope. They are libraries for automated Python refactoring and to do that from any LSP-capable editors. We are always welcoming contributors of all levels.
-
Why IDEs are Important
Rope has first class support for Vim and it can do a move refactoring, among other refactorings. From this, this feature is available from python-mode and ropevim.
-
Visual Studio Code is designed to fracture
rope
-
Why did you switch from another language to Rust? Do you regret not learning it earlier?
Okay this depends: if your code is static: perfectly possible for example with https://github.com/python-rope/rope (used for example by VS Code). If it's dynamic / generated via metaprogramming: I never tried it but I can't imagine that it'd work there, yes. However java tooling also can't do that because it simply doesn't support metaprogramming in any noteworthy way.
gomacro
Posts with mentions or reviews of gomacro.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-19.
-
Go superset
gomacro added macros and generics several years before generics reached release.
-
Alternative REPL to "gore"
I use https://github.com/cosmos72/gomacro when I want to quickly try some code.
- Interpreters built in Go
-
How to run a go main package from another go program?
If it's a simple program I guess you could use gomacro:https://github.com/cosmos72/gomacro
- Scripting in Go
-
go-notebook
Thanks to gomacro we can import no standard libraries on the notebook :P
-
DoorDash: Migrating From Python to Kotlin for Our Backend Services
For our use (debugging and running small scripts to update data), gomacro should work well enough, despite being an "almost complete" Go interpreter. This isn't the same as the Python REPL which uses entirely the same code to run, but it should be up to the task.
-
Hy: A dialect of Lisp that's embedded in Python
I keep meaning to play with https://github.com/cosmos72/gomacro
What are some alternatives?
When comparing Rope and gomacro you can also consider the following projects:
Bowler - Safe code refactoring for modern Python.
RedBaron - Bottom-up approach to refactoring in python
python-lsp-server - Fork of the python-language-server project, maintained by the Spyder IDE team and the community
jedi - Awesome autocompletion, static analysis and refactoring library for python
yaegi - Yaegi is Another Elegant Go Interpreter
gophernotes - The Go kernel for Jupyter notebooks and nteract.
Pylint - It's not just a linter that annoys you!
Python-mode - Vim python-mode. PyLint, Rope, Pydoc, breakpoints from box.
vim-slime - A vim plugin to give you some slime. (Emacs)
vim-lsp - async language server protocol plugin for vim and neovim
mypyc - Compile type annotated Python to fast C extensions