Skip to main content

Openpyxl Image Loader

Openpyxl wrapper that gets images from cells

Requirements

Usage

from openpyxl import load_workbook
from openpyxl_image_loader import SheetImageLoader

# Load your workbook and sheet as you want, for example
wb = load_workbook('path_to_file.xlsx')
sheet = wb['required_sheet']

# Put your sheet in the loader
image_loader = SheetImageLoader(sheet)

# And get image from specified cell
image = image_loader.get('A3')

# Image now is a Pillow image, so you can do the following
image.show()

# Ask if there's an image in a cell
if image_loader.image_in('A4):
    print("Got it!")

Release files for openpyxl-image-loader 1.0.5

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

Source distribution (sdist)

Source distribution for openpyxl-image-loader 1.0.5
File Size Uploaded
openpyxl-image-loader-1.0.5.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for openpyxl-image-loader 1.0.5
File Interpreter ABI Platform
openpyxl_image_loader-1.0.5-py3-none-any.whl Python 3 none any Details

Total release size:5.8 kB

Release files / openpyxl-image-loader-1.0.5.tar.gz

Download URL openpyxl-image-loader-1.0.5.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6d9d7fa5c35ac0a3e620b9eaf7334420a7693ccdb2a16e940a3a92bc3ec87fe8
BLAKE2b-256 checksum
How to use checksums
baf53687f56fdcacdbb2c027aa8a4c52644a7029d87d3d0e14de5cf216a5807b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5

Release files / openpyxl_image_loader-1.0.5-py3-none-any.whl

Download URL openpyxl_image_loader-1.0.5-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
103e6ad4dc433cc3bb18d1f6c413139ad4a91a5f3de0e39783534e22ff0c9c0b
BLAKE2b-256 checksum
How to use checksums
d86112aa8c6eb1c51673e8548eb2824d79f17a9f2f8452fc90450a1db74b4de5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

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