Neovim

Latest version: v0.3.1

Safety actively analyzes 613568 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

0.3.1

This release renames the the package name (for PyPI and importing) to `pynvim`.
`import neovim` is still supported as an alias for backwards compatibility, but new API users should use `import pynvim`.

If you already have installed `neovim` in pip, the best way to upgrade this time is to upgrade the `neovim` package:

`pip install --upgrade neovim`

This will replace the neovim package with a dummy transition package, and install pynvim as a dependency. For a new install, the prefered way is

`pip install pynvim`

This release is otherwise functionally identical to pynvim 0.3.0, except for an improved error message.

0.3.0

Requires Nvim 0.3.0 or later.

0.2.6

This is a bugfix release.

0.2.5

This release adds support for Python 3.7 which now is in beta. `async` is a keyword in python3.7, and it should be replaced with `async_` when used as a keyword argument to API methods. `async` is still supported with python 2.7 and 3.6 for the moment, but considered deprecated.

Also, integration with the in-process lua interpreter in Nvim is now supported. Please see the [documentation](http://pynvim.readthedocs.io/en/latest/usage/python-plugin-api.htmllua-integration) for usage instructions.

0.2.4

Temporarily disable asyncio on windows again, as stdio is not functional with asyncio yet.

The new `nvim.loop` attribute is for the moment only available on POSIX systems.

0.2.3

Replacing 0.2.2, which had a merge error.

In this release support of python3.3 is dropped. Henceforth we want python3
rplugins to be able to assume the usage of asyncio, so they can use the asyncio
event loop and libraries that build on it.

Furthermore, a close() method is added on nvim session objects. When used as
a library for externally connecting to a nvim instance (i e not rplugins),
it is recommended to call the close() method on the session object when it is
not needed anymore. Alternatively, sessions can be used as a context manager:

with neovim.attach('socket', path=thepath) as nvim:
do stuff with nvim session in this block:
print(nvim.funcs.getpid())
print(nvim.current.line)

This will close the session automatically.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.