Registry / data / openpyxl-image-loader

openpyxl-image-loader

JSON →
library1.0.5pypypi✓ verified 80d ago

Openpyxl wrapper that simplifies extracting images from Excel cells. Version 1.0.5 with infrequent releases.

pip install openpyxl-image-loader
INSTALL
IMPORT
SIG · OPENPYXL-IMAGE-LOA
O
openpyxl-image-loader
datapythonv1.0.5
Install
2.4s avg
Import
Disk
35MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.0.5 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 37.3MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.4s · import 0.000s · 38MB
35MB installed
● package 35MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SheetImageLoader
from openpyxl_image_loader import SheetImageLoader
from openpyxl_image_loader import OpenpyxlImageLoader

Load a workbook, select a sheet, and extract an image from a specific cell.

from openpyxl import load_workbook from openpyxl_image_loader import OpenpyxlImageLoader wb = load_workbook('example.xlsx') ws = wb.active image_loader = OpenpyxlImageLoader(ws) image = image_loader.get('A1') # returns PIL Image or None if image: image.save('extracted_image.png')
Debug
Known issues
gotchaThe library only supports cell references as strings (e.g., 'A1'), not tuples or Row/Column objects.
fix
Pass cell address as a string like 'B2'.
affects: all
deprecatedThe get() method returns None if no image is found; do not assume an image always exists.
fix
Always check if image is not None before using it.
affects: all
gotchaThe library does not handle merged cells with images; images anchored to merged ranges may not be found.
fix
Unmerge cells or manually iterate over cell range.
affects: all
Upgrade
Version history
1.0.5latest on PyPI · released Jan 23, 2020
Audit
Dependencies
openpyxlrequiredCore dependency for Excel file handling.
Agent activity
2 hits · last 30 days
node
2
Resources
openpyxl-image-loader — pip install openpyxl-image-loader · libregistry