Skip to main content

pynvim-python-interpreter

Introduction

pynvim-python-interpreter is a thin wrapper designed to expose the Python interpreter associated with Neovim's pynvim library. When placed on the executable PATH, pynvim-python-interpreter chains to the Python interpreter associated with pynvim, essentially providing a renamed Python interpreter that won't collide with other Python interpreters on PATH.

NOTE: Ideally, pynvim and Neovim would adopt this idea to make a zero-configuration solution. For that reason, this project leaves the shorter name pynvim-python available in case the Neovim project would like to implement this idea in some form.

Installation

Typical installation uses uv1 or pipx2 to install pynvim-python-interpreter on the PATH, e.g.:

  • For uv:

    uv tool install pynvim-python-interpreter
    
  • For pipx:

    pipx install pynvim-python-interpreter
    

Post-installation Neovim configuration

After installing pynvim-python-interpreter, configure Neovim to use it by setting the global variable python3_host_prog to be the string pynvim-python-interpreter:

  • Via Vimscript in init.vim:

    let g:python3_host_prog = 'pynvim-python-interpreter'
    
  • Via Lua in init.lua:

    vim.g.python3_host_prog = 'pynvim-python-interpreter'
    

References

  1. https://docs.astral.sh/uv/ ↩

  2. https://pipx.pypa.io/stable/ ↩

Metadata

Release files for pynvim-python-interpreter 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pynvim-python-interpreter 1.0.0
File Size Uploaded Provenance Actions
pynvim_python_interpreter-1.0.0.tar.gz 14.4 kB Without provenance Details for pynvim_python_interpreter-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pynvim-python-interpreter 1.0.0
File Interpreter ABI Platform Actions
pynvim_python_interpreter-1.0.0-py3-none-any.whl Python 3 none any Details for pynvim_python_interpreter-1.0.0-py3-none-any.whl

Total release size: 16.6 kB

Release files / pynvim_python_interpreter-1.0.0.tar.gz

Download URL pynvim_python_interpreter-1.0.0.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
22961cca81e39e45bc372e39011e6b8db8cf536c6af4f6c2ce8e02884423d5ed
BLAKE2b-256 checksum
How to use checksums
272d5a18becea968795bf942bf4fcd8ce0bb27f5639fc2628581c71ebe7106b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Release files / pynvim_python_interpreter-1.0.0-py3-none-any.whl

Download URL pynvim_python_interpreter-1.0.0-py3-none-any.whl
Size 2.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f395f3fbcc9989cf858bb056e25369d96ad2169bcab441ff9002a91fd1428b97
BLAKE2b-256 checksum
How to use checksums
1e0b49410d98e012b67b67c26ba4f22495391dfa81592526eb9e40c94a3df3af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Security for pynvim-python-interpreter 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page