Rope
a python refactoring library (by python-rope)
vim-jumpsuite
Jump to "interesting" line of code from your test suite. (by lieryan)
Our great sponsors
Rope | vim-jumpsuite | |
---|---|---|
22 | 8 | |
1,833 | 5 | |
1.3% | - | |
9.1 | 0.0 | |
11 days ago | over 1 year ago | |
Python | Python | |
GNU Lesser General Public License v3.0 only | MIT License |
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.
vim-jumpsuite
Posts with mentions or reviews of vim-jumpsuite.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-30.
-
Parse python traceback in the quickfix list.
Oh, you're in luck because I've actually written this exact plugin, it's called vim-jumpsuite. It is personally one of my special weapons that's becoming completely indispensable for me.
-
Which not so well known Python packages do you like to use on a regular basis and why?
vim-jumpsuite: parses python tracebacks and identifies the most "interesting" part of the stack to create a jump list; despite vim being in the name, the python part of the plug-in is usable with any editors that supports parsing grep/quickfix-style output
-
Are you a person who loves reinventing a wheel ?
Here is link number 1 - Previous text "my"
-
Vim setup as a Python IDE with REPL similar to Spyder/VSCode
vim-jumpsuite for creating a quickfix/loclist jumps out of unittest tracebacks
-
IDE Similar to PyCharm for Work
vim-test with lieryan/vim-jumpsuite
-
Open Python error in Vim
For more elaborate cases, I wrote a plugin that summarises python traceback into the quickfix list. vim-jumpsuite is designed to be used when writing unittest/pytest; for each failing test, it'll try to pick the three most important locations that you'll want to jump to. You can also configure certain files/functions to never be picked by vim-jumpsuite.
-
Python Devs who Use Vim, Share Your Expertise!
Plug: one of the most valuable plugin for me are the vim plugin that I wrote myself: lieryan/vim-jumpsuite. It's a plugin to quickly jump to "interesting" line of code from your test suite by converting unittest reports to a Quickfix jumplist. The plugin uses some customizable heuristics to find the lines from tracebacks that are most likely to be most useful to your code.
What are some alternatives?
When comparing Rope and vim-jumpsuite you can also consider the following projects:
Bowler - Safe code refactoring for modern Python.
pylsp-rope - Extended refactoring capabilities for python-lsp-server using Rope
RedBaron - Bottom-up approach to refactoring in python
Python-mode - Vim python-mode. PyLint, Rope, Pydoc, breakpoints from box.
python-lsp-server - Fork of the python-language-server project, maintained by the Spyder IDE team and the community
vim-test - Run your tests at the speed of thought
jedi - Awesome autocompletion, static analysis and refactoring library for python
Pylint - It's not just a linter that annoys you!
vim-textobj-indent - Vim plugin: Text objects for indented blocks of lines