Pynvim

Latest version: v0.5.2

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

Scan your dependencies

Page 5 of 6

0.1.6

This release contains some **breaking** changes, primarily for using this package as a client to remote nvim instances. Most python plugins (both legacy and rplugins) are expected to be unaffected.

This version requires recent master version of neovim (or 0.1.3 when it gets released).

`nvim.session` is unexported. Upgrade clients as follows:

`nvim.session.threadsafe_call` -> `nvim.async_call`
`nvim.session.next_message` -> `nvim.next_message`
`nvim.session.run` -> `nvim.run_loop`
`nvim.session.stop` -> `nvim.stop_loop`
`nvim.session.request` -> `nvim.request` (or `nvim.api.method` )

`nvim.with_hook` is gone. This was mostly used by clients to configure decoding on python3. With this release, `neovim.attach` will activate decoding for python3, so `str` is returned by default on both python2 and python3. `attach` takes an optional boolean keyword argument `decode`, to force decoding on or off. Decoding behavior can be changed with
`nvim2 = nvim.with_decode(True/False)`

0.1.5

Previously, when implementing an rplugin as a package, an empty dummy file was needed like this:


rplugin/python3/mypackage.py empty file
rplugin/python3/mypackage/__init__.py contains spec
rplugin/python3/mypackage/helpers.py
rplugin/python3/mypackage/...


This is no longer neccessary and `mypackage.py` can be deleted.

0.1.4

This release introduces no new features or bugfixes, and is a compatibility release. Neovim master will soon require this version (or later) being installed.

0.1.3

The gui was removed in this release, and is now available at [neovim/python-gui](https://github.com/neovim/python-gui/) and as the pip package `neovim_gui`

0.1.2

I published 0.1.1 incorrectly.

0.1.1

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.