$npx skillfedfor your agent

blkinfo

blkinfo is a python package to list information about all available or the specified block devices.

SkipPyPI Python ModulesReleased Oct 2021175.4K downloads / moGPLv3Source build

Decision gist · record as of 2026-08-14

sdist only — blkinfo-0.2.0.tar.gz · builds from source
v0.2.0 · released 2021-10-06

No. The package is abandoned (no updates since 2021-10-06, last commit 2023-08-06) and carries a copyleft GPLv3 license that restricts use in proprietary software. Modern Linux systems have lsblk with JSON output built-in. Install only if locked to an old Red Hat/CentOS system with no other option and your project is open-source.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires lsblk command-line tool (util-linux package) and read access to /sys/block, /sys/devices, and /proc filesystems; Linux-only.
  • High install friction: the package is abandoned (last commit 2023-08-06, latest release 2021-10-06) and has not been maintained for an extended period.
  • No runtime dependencies, but depends on lsblk and /proc filesystem access, which may not be portable across all environments.

License · maintenance · safety

GPLv3 (copyleft) — GPLv3 copyleft license means any code that links or distributes this package must also be open-source under compatible terms. Proprietary or closed-source projects should avoid this dependency.

last release 2021-10-06 (1773 days) · last repo commit 2023-08-06 · 11 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 175,425 downloads/mo, #10,265 on PyPI

Verify before relying

from blkinfo import BlkDiskInfo
import json

myblkd = BlkDiskInfo()
all_disks = myblkd.get_disks()
print(json.dumps(all_disks))
  • Whether the package works with modern Linux kernel versions and recent util-linux releases.
  • Compatibility with Python versions beyond those tested at release (2021-10-06).
  • Whether iSCSI target discovery features still function with current iSCSI implementations.
Same gist for agents: .md · .json

What it is and what it does

blkinfo is a Python library that gathers information about block devices (disks, partitions, etc.) on a Linux system. It wraps the lsblk command-line tool and supplements it by reading directly from /sys/block, /sys/devices, and /proc to collect device metadata, usage statistics, and iSCSI target details. The library was originally created to provide JSON output on older Red Hat Enterprise Linux and CentOS systems where lsblk lacked that capability.

You instantiate a BlkDiskInfo object and call get_disks() to retrieve all available block devices as structured data, optionally passing filters to narrow results by device name, size, transport type, mount status, or other attributes. The main use case is programmatic inventory of storage devices in system administration or infrastructure automation scripts.

Use it for

  • Inventory block devices in system administration scripts without parsing lsblk text output.
  • Filter and discover iSCSI-attached storage targets by IP address and port number.
  • Collect block device usage statistics and metadata for monitoring or reporting.
  • Enumerate mounted partitions and their parent devices in automated provisioning workflows.
  • Build storage device catalogs on systems with older lsblk versions lacking JSON support.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No.

The package is abandoned (no updates since 2021-10-06, last commit 2023-08-06) and carries a copyleft GPLv3 license that restricts use in proprietary software. Modern Linux systems have lsblk with JSON output built-in. Install only if locked to an old Red Hat/CentOS system with no other option and your project is open-source.

Install

blkinfo on PyPI

Before you install

High install friction: the package is abandoned (last commit 2023-08-06, latest release 2021-10-06) and has not been maintained for an extended period. No runtime dependencies, but depends on lsblk and /proc filesystem access, which may not be portable across all environments.

Requires lsblk command-line tool (util-linux package) and read access to /sys/block, /sys/devices, and /proc filesystems; Linux-only.

License in practice

GPLv3 copyleft license means any code that links or distributes this package must also be open-source under compatible terms. Proprietary or closed-source projects should avoid this dependency.

Quickstart

from blkinfo import BlkDiskInfo
import json

myblkd = BlkDiskInfo()
all_disks = myblkd.get_disks()
print(json.dumps(all_disks))

Verify before relying

  • Whether the package works with modern Linux kernel versions and recent util-linux releases.
  • Compatibility with Python versions beyond those tested at release (2021-10-06).
  • Whether iSCSI target discovery features still function with current iSCSI implementations.

Package facts

LicenseGPLv3 copyleft
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceAbandoned 1,773 days since the last release
Last repo commit
First released
Downloads175,425 / month, #10,265 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Software Development :: Libraries :: Python Modules

Evidence: blkinfo-0.2.0.tar.gz

Tags

Capabilities
block device information pythonlsblk python wrapperdisk device enumerationstorage device metadataiscsi target discoveryblock device filteringsystem disk inventory
Topics
linux-onlyabandonedcopyleft
PyPI keywords
lsblkdiskblockdeviceblockinfoblkinfoiscsi

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 › “block device information python”

  • blkinfoRetrieves structured information about block devices on a system by…
  • pytileRetrieves information from Tile® Bluetooth trackers via an unofficial…
  • os-brickManages discovery and removal of storage volumes attached to a host,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also pylibftdi · pylspci · winrt-Windows.Devices.Enumeration · usb-devices · uart-devices · binho-host-adapter · aioasuswrt · spidev · fatfs-ng · storage