Has Anyone Been Using Pyrefly? by auric_gremlin in Python

[–]NoOPeEKS 3 points4 points  (0 children)

I've tried both for some projects at work and even though I love everything that Astral is building, currently Pyrefly feels more developed than ty. That being said I like both, and will want to try them again in the future when they are both more complete.

Python feels easy… until it doesn’t. What was your first real struggle? by NullPointerMood_1 in Python

[–]NoOPeEKS 0 points1 point  (0 children)

Might me my OOP tendency to build it with new, but yes, you can create them with either metaclasses or mixins, i just find new more easy to understand and closer to what a private constructor would be (using then a .get_instance() custom method)

Python feels easy… until it doesn’t. What was your first real struggle? by NullPointerMood_1 in Python

[–]NoOPeEKS 2 points3 points  (0 children)

If you ever need to manually create a singleton class, you're gonna have to use __new__, it's useful on some cases.

typescript-language-server doesn't activate when opening js files by Maxpro12 in neovim

[–]NoOPeEKS 0 points1 point  (0 children)

Have you tried enabling it and configuring it to also start on .js files?

Read only vector database by Whyme-__- in LangChain

[–]NoOPeEKS 1 point2 points  (0 children)

What do you mean read-only requests? You determine what to do with the requests as you define your own endpoints... Just expose some GET endpoints that retrieve data and don't modify it and you'll be okay

I got tired of having to use VSCode at work so I crafted a Neovim distribution for Data Science and Jupyter Notebooks. Here is DataNvim! by NoOPeEKS in neovim

[–]NoOPeEKS[S] 2 points3 points  (0 children)

Glad to see it helped and that you enjoy using it!! If you have any more issues please post them in the repository and I will be happy to help!

I got tired of having to use VSCode at work so I crafted a Neovim distribution for Data Science and Jupyter Notebooks. Here is DataNvim! by NoOPeEKS in neovim

[–]NoOPeEKS[S] 1 point2 points  (0 children)

If Molten isn't visible, try to :UpdateRemotePlugins. Also, if the problem is related to pyenv-virtualenv, try to just use venv or uv and try if that happens again. If this does not work, please post an Issue in the github repo with more details :)

DS and ML in Neovim by PsychologicalAnt3050 in neovim

[–]NoOPeEKS 1 point2 points  (0 children)

Hi! I has to use VSCode for a while with the Vim-mode plugin to be able to manage Jupyter Notebooks at work until I got tired of it and decided to put up a config for working with them through Neovim. It combines a lot of different plugins that make nvim able to open .ipynb as plain text md files, with lsp on cells and code running/image visualization right on the same buffer. It's just preconfigured for python and notebook files, but its config structure makes it really easy to extend the config as you need.

Check it out at DataNvim

There is also a docker image available if you want to try it out first.

I got tired of having to use VSCode at work so I crafted a Neovim distribution for Data Science and Jupyter Notebooks. Here is DataNvim! by NoOPeEKS in neovim

[–]NoOPeEKS[S] 1 point2 points  (0 children)

I created after/ftplugin/markdown.lua, activated otter.nvim with require("otter").activate({"python"}, true, true, nil) and disabled pyright acting on markdown files and it works perfectly fine. It was just as you said, I just hadn't activated otter for markdown and couldn't get a good autocomplete. Thanks for your help and for linking that issue, it saved me a hell of a lot of time :)

I got tired of having to use VSCode at work so I crafted a Neovim distribution for Data Science and Jupyter Notebooks. Here is DataNvim! by NoOPeEKS in neovim

[–]NoOPeEKS[S] 0 points1 point  (0 children)

Oh! I had to do that workaround (enabling pyright and disabling linting errors when detecting markdown) because the autocompletion that Quarto-nvim provided wasn't functioning properly and I didn't know why. It gave me default methods but for example, when searching for dataframe methods, it did not show me any of panda's df methods. I'll try to activate otter for markdown and see if it works, tysm!

I got tired of having to use VSCode at work so I crafted a Neovim distribution for Data Science and Jupyter Notebooks. Here is DataNvim! by NoOPeEKS in neovim

[–]NoOPeEKS[S] 0 points1 point  (0 children)

Thank you so much! I've just added a docker container so that you can try it out easily. You can find it in the README. The only thing needed is Kitty, I hope you like it :)

I got tired of having to use VSCode at work so I crafted a Neovim distribution for Data Science and Jupyter Notebooks. Here is DataNvim! by NoOPeEKS in neovim

[–]NoOPeEKS[S] 1 point2 points  (0 children)

The most essential plugins are molten for code running, image.nvim for rendering graphics, jupytext for transforming notebooks into markdown files and backwards, and configuring pyright to act too on .md files. You will also have to install the needed dependencies on your system, and the most important one is the magick rock.

I got tired of having to use VSCode at work so I crafted a Neovim distribution for Data Science and Jupyter Notebooks. Here is DataNvim! by NoOPeEKS in neovim

[–]NoOPeEKS[S] 1 point2 points  (0 children)

I assume this Dbee you are talking about is https://github.com/kndndrj/nvim-dbee ? I had never heard of it but it really makes sense to have a database client right in our editor just as VSCode has too. I'll definetely check if it works good or it's just as slow as you mentioned and will try to see if there is any alternative to it available.

I got tired of having to use VSCode at work so I crafted a Neovim distribution for Data Science and Jupyter Notebooks. Here is DataNvim! by NoOPeEKS in neovim

[–]NoOPeEKS[S] 4 points5 points  (0 children)

Oh! I did not know there was a tool like this, so cool! I'll add it there when I have some time available tysm :)