package-ui.nvim now supports pip/python

Hey r/Python,
I’ve been working on package-ui.nvim, a unified package manager UI for Neovim that supports npm, Cargo, RubyGems, Mix/Elixir and just added full pip/Python support !

Repository: https://github.com/MonsieurTib/package-ui.nvim

What My Project Does

packageui.nvim is a unified package manager interface for Neovim that provides a nice TUI for managing dependencies across multiple programming languages. Instead of remembering different commands for each package manager, you get one consistent interface that:

Displays installed packages with update notifications Searches package repositories with intelligent ranking Installs/uninstalls packages with confirmation prompts Shows package details including versions and descriptions Handles multiple package managers automatically based on project detection

The plugin now supports 5 package managers: npm (JavaScript), cargo (Rust), gem (Ruby), mix (Elixir), and now Poetry, Pipenv, and pip (Python).

Target Audience

This plugin is perfect for:

Polyglot developers who work with multiple languages. Python developers who want a clean view of their direct dependencies. Neovim users who prefer TUI interfaces over command-line package management. Teams who want consistent dependency management workflows across different projects

Comparison to Alternatives

I’m not aware of any alternative in Neovim that provides a unified interface for managing project dependencies across multiple package managers. Most solutions focus on specific use cases:

Mason.nvim manages LSP servers, linters, and formatters (dev tools) lazy.nvim manages Neovim plugins Built-in commands require remembering different syntax for each package manager

packageui.nvim fills the gap for managing your project’s actual dependencies with a consistent interface across languages.

What’s New in Python Support

The plugin now supports three Python package managers:

Poetry – Shows only direct dependencies from pyproject.toml Pipenv – Shows only direct dependencies from Pipfile Regular pip – Manages requirements.txt files

Key Features

Smart package detection – Automatically detects your Python project type
Direct dependencies only – No more cluttered lists of transitive dependencies
PyPI search with relevance ranking – Find packages easily with intelligent scoring
Unified interface – Same beautiful TUI for all package managers
Update notifications – See which packages have newer versions available
Safe operations – Install/uninstall with confirmation prompts

How It Works

The plugin automatically detects your Python project type:

pyproject.toml → Poetry commands (poetry add, poetry remove) Pipfile → Pipenv commands (pipenv install, pipenv uninstall) requirements.txt → pip commands (pip install, pip uninstall)

Please open an issue or PR on GitHub if you have any. And if you find this plugin useful, consider giving it a star on GitHub to show your support ! Happy coding !

submitted by /u/TibFromParis to r/Python
[link] [comments]


Commentaires

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *