Skip to main content

Openpyxl wrapper that gets images from cells

Project description

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!")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openpyxl-image-loader-1.0.5.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

openpyxl_image_loader-1.0.5-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file openpyxl-image-loader-1.0.5.tar.gz.

File metadata

  • Download URL: openpyxl-image-loader-1.0.5.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for openpyxl-image-loader-1.0.5.tar.gz
Algorithm Hash digest
SHA256 6d9d7fa5c35ac0a3e620b9eaf7334420a7693ccdb2a16e940a3a92bc3ec87fe8
MD5 793c92ec6e13b74778552159269c6533
BLAKE2b-256 baf53687f56fdcacdbb2c027aa8a4c52644a7029d87d3d0e14de5cf216a5807b

See more details on using hashes here.

File details

Details for the file openpyxl_image_loader-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: openpyxl_image_loader-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for openpyxl_image_loader-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 103e6ad4dc433cc3bb18d1f6c413139ad4a91a5f3de0e39783534e22ff0c9c0b
MD5 7956e76666e1c8164b250b63261ed546
BLAKE2b-256 d86112aa8c6eb1c51673e8548eb2824d79f17a9f2f8452fc90450a1db74b4de5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page