libpci
Pure-Python, high-level bindings to libpci
Decision gist · record as of 2026-08-14
No. The package is abandoned (last commit 2015-04-24) and only tested against Python 3.4, making compatibility with modern Python versions uncertain. While it has no runtime dependencies and low install friction, the lack of maintenance, unverified Python support, and Alpha status mean you should seek an actively maintained alternative or verify it works in your specific environment before relying on it.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires libpci system library to be installed; Python version compatibility beyond 3.4 is unverified.
- Low install friction with no runtime dependencies, but the package is abandoned—last updated 2015-04-24 with no commits since.
- It targets Python 3.4 and is classified as Alpha, so compatibility with modern Python versions is unverified.
License · maintenance · safety
LGPLv3 (copyleft) — Licensed under LGPLv3 (copyleft), which requires that derivative works and modifications remain under the same license; acceptable for many projects but imposes distribution obligations if you modify and redistribute the code.
last release 2015-04-24 (4130 days) · last repo commit 2015-04-24 · 8 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 88,212 downloads/mo, #13,741 on PyPI
Alternatives
Verify before relying
pip install libpci
from libpci import LibPCI
libpci = LibPCI()
device_name = libpci.lookup_device_name(vendor_id, device_id)- Whether the package works with Python versions beyond 3.4 despite no recent maintenance or testing.
- Whether the underlying libpci system library is available and compatible on current Linux distributions.
- Current state of the command-line interface (pci-lookup, subsystem-device sub-commands) and whether it matches the 0.2 release description.
What it is and what it does
libpci is a pure-Python wrapper around the libpci C library, giving you high-level access to PCI device and vendor name lookups. It was designed to simplify querying hardware information on Linux systems through both a command-line interface and programmatic APIs. The package has no runtime dependencies and installs cleanly, but it has been abandoned since 2015-04-24 and was only ever tested against Python 3.4, so its behavior on modern Python versions is unknown.
The library provides methods to look up device names, vendor names, and subsystem device names by their numeric identifiers. It exposes this functionality through sub-commands (pci-lookup, subsystem-device) for CLI use and through a LibPCI class for programmatic access. Because it wraps a system C library, you must have libpci installed on your system for it to work.
Use it for
- Query PCI device vendor and model names from their numeric IDs in a Linux system administration script.
- Build hardware inventory tools that need to resolve PCI device identifiers to human-readable names.
- Integrate PCI device lookup into diagnostic or monitoring utilities that run on Linux.
- Automate hardware detection workflows where you have PCI IDs but need vendor/device metadata.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last commit 2015-04-24) and only tested against Python 3.4, making compatibility with modern Python versions uncertain. While it has no runtime dependencies and low install friction, the lack of maintenance, unverified Python support, and Alpha status mean you should seek an actively maintained alternative or verify it works in your specific environment before relying on it.
Install
libpci on PyPI
Before you install
Low install friction with no runtime dependencies, but the package is abandoned—last updated 2015-04-24 with no commits since. It targets Python 3.4 and is classified as Alpha, so compatibility with modern Python versions is unverified.
Requires libpci system library to be installed; Python version compatibility beyond 3.4 is unverified.
License in practice
Licensed under LGPLv3 (copyleft), which requires that derivative works and modifications remain under the same license; acceptable for many projects but imposes distribution obligations if you modify and redistribute the code.
Quickstart
pip install libpci
from libpci import LibPCI
libpci = LibPCI()
device_name = libpci.lookup_device_name(vendor_id, device_id)
Verify before relying
- Whether the package works with Python versions beyond 3.4 despite no recent maintenance or testing.
- Whether the underlying libpci system library is available and compatible on current Linux distributions.
- Current state of the command-line interface (pci-lookup, subsystem-device sub-commands) and whether it matches the 0.2 release description.
Package facts
| License | LGPLv3 copyleft |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 4,130 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 88,212 / month, #13,741 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)Natural Language :: EnglishOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: Implementation :: CPythonTopic :: Software DevelopmentTopic :: Software Development :: Libraries |
Evidence: libpci-0.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “pci device lookup python”
- libpciProvides Python bindings to libpci, allowing you to query PCI device…
- pylspciParses the output of the lspci command to extract and structure PCI…
- aioouiPerforms asynchronous lookups of Organizationally Unique Identifiers…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also pylspci · winrt-Windows.Devices.Enumeration · mac-vendor-lookup · bluetooth-adapters · pyudev · pyprctl · nixl-cu13 · shiboken2 · nixl-cu12