Our great sponsors
-
python-lsp-server
Fork of the python-language-server project, maintained by the Spyder IDE team and the community
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I use pylsp, which as of writing does not support auto-imports in the latest tagged version (1.6.0), (but might work with the git develop branch ).
I think rope is the standard for refactoring, and should provide autoimports soon, though pyright might also be good for that.
Currently the best way to use rope for refactoring (including extract, inlining, reorganise import, plus many more) in Neovim is with pylsp-rope and your preferred LSP client. pylsp-rope is going to be the main focus of bringing rope capabilities to various IDEs and text editors. I'll have to find the time for this, but I'm planning to overhaul the rope support in core pylsp to make it work even better.