luv | ptpython | |
---|---|---|
14 | 17 | |
776 | 5,047 | |
0.9% | 0.4% | |
8.1 | 6.7 | |
2 months ago | 21 days ago | |
C | Python | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" License |
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.
luv
-
I can't build neovim
Hi, I had this issue and I solved it by building https://github.com/luvit/luv myself.
-
Where do I go after learning lua?
To answer the OP's question, you could tackle luv and libuv ecosystem, as a way to connect Lua to real-world systems (files, sockets, servers...). That's one way to put Lua skills to use, there are other great answers in the thread. Another recommendation is to go through Programming in Lua book, especially the later chapters where you learn how Lua talks to the host application.
-
What's the dogmatic way of dealing with leading and trailing newlines when running an external shell command from Neovim?
Alternatively you can get into the weeds and play around with the in built vim.loop (which is really just luv, specifically spawn to run commands on the OS and handle stdout processing via stream.
-
Purist neovim config
Unfortunately I doubt they are able to use netrw, it interfaces with user facing buffers too much. Telescope uses plenary which uses lua's luv implementation (bound to vim.loop). Fzf-lua uses an external binary called fzf
- Is it possible to get a program that doesn't use LUA to send data to a LUA program?
-
Library support situation?
Lua is still actively used so there is a great number of libraries that came out in last 9 years. A decent example is the luv library that is packed with great functionality. On the whole I'm quite satisfied with the ecosystem, but it all depends on the domain.
-
Run external process from neovim with lua
You should be able to find plenty of examples of asynchronous code at https://github.com/luvit/luv and translate it.
-
How do I use libuv filesystem event operations for handling filesystem management for plugins?
The first thing I would recommend is read the official documentation. Both libuv and luvit (or more specifically luv)
-
luv documentation in vimdoc format
I spent some time converting the luv documentation to make it available in :help and make the vim.loop module more discoverable. Thought plugin authors might be interested.
-
[Question] Multithreading in Neovim
I'm assuming this one.
ptpython
-
Color Django shell by development environment
Ptpython reads from a configuration file where we can specify custom keybindings and the REPL colorscheme. The default configuration file can be copied from prompt-toolkit/ptpython/blob/master/examples/ptpython_config/config.py.
-
Why Lisp?
If you like using the REPL, for Python I recommend you try https://github.com/prompt-toolkit/ptpython
- Is it best just to use the terminal for python?
-
Tools for productivity
REPL??? Do you have a very-easy-to-use way of running and testing your code? From vim-slime to nvim sniprun to autocommands with the built in terminal, to an external repl like ptpython (for python obviously). iron.nvim and conjure are two other neovim repl plugins. There are many ways of running the code that you're working on, and having something that makes this really easy for you is pretty essential. (sometimes I use inotifytools on linux to literally just run the script every time I save it.)
-
Is there a vim mode for zsh ?
I use ptpython for my python repl https://github.com/prompt-toolkit/ptpython. I find it very convenient because it has a vim mode, and many vim similarities.
-
Is there a way to make the Python IDLE auto-close brackets and quotations?
A library like ptpython should be what you're looking for, however this probably isn't an option for an exam setting.
-
Where do I go after learning lua?
create a repl to the standard that ptpython sets for python (both croissant and ilua leave a lot to be desired)
-
Assistance Parsing HTML with Beautiful Soup
My bad - the >>> and ... in my post are from an interactive shell session. - so there is an implicit print - which is why you see the output.
-
Best REPL for a language
https://github.com/prompt-toolkit/ptpython is also a good one
-
can I get syntax highlighting for python shell?
Even better than iPython is PTPython, which can be used like a regular python interpreter with cool features.
What are some alternatives?
plenary.nvim - plenary: full; complete; entire; absolute; unqualified. All the lua functions I don't want to write twice.
bpython - bpython - A fancy curses interface to the Python interactive interpreter
lit - Toolkit for developing, sharing, and running luvit/lua programs and libraries.
Jupyter Notebook (IPython) - Multi-user server for Jupyter notebooks
nvim-lsp-ts-utils - Utilities to improve the TypeScript development experience for Neovim's built-in LSP client.
ipython - Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc.
fs - Provide cross platform file operations based on libuv.
rich - Rich is a Python library for rich text and beautiful formatting in the terminal.
nvim-lua-guide - A guide to using Lua in Neovim
upm - ⠕ Universal Package Manager - Python, Node.js, Ruby, Emacs Lisp.
fwatch.nvim - fwatch.nvim lets you watch files or directories for changes and then run vim commands or lua functions.
juno-lang - Juno Language Repository