Skip to main content

Privacy-first local image processing utility

Project description

Imgsh

Privacy-first local image utility for resize, convert, batch processing, and optional OCR.

Install (Published Package)

pipx install "imgsh[gui,ocr]"

Or with pip:

pip install "imgsh[gui,ocr]"

Install (Local Checkout with pipx)

pipx install "$HOME/Desktop/projects/imgsh[gui,ocr]"

pipx install <path> installs only base dependencies unless extras are included in the path spec.

Development Setup

poetry install --all-extras

Commands

imgsh resize input.jpg --width 1200 --fit contain
imgsh batch-resize ./images --width 1200 --recursive --out ./processed
imgsh convert input.png --format webp
imgsh extract-text input.jpg --engine textract --ocr-format txt
imgsh gui

Help

imgsh -h
imgsh resize -h

Build Distribution Artifacts

poetry check
rm -rf dist
poetry build
pipx run twine check dist/*

Publish

# publish prebuilt artifacts in dist/
poetry publish

# or build and publish in one step
poetry publish --build

A GitHub Actions workflow is included at .github/workflows/publish.yml. Set PYPI_API_TOKEN in repository secrets, then push a tag like v0.1.1 to publish automatically.

Notes

  • OCR extra is pinned to textract==1.6.3 for compatibility with current packaging tooling.

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

imgsh-0.1.0.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

imgsh-0.1.0-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file imgsh-0.1.0.tar.gz.

File metadata

  • Download URL: imgsh-0.1.0.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for imgsh-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bdeefb4ac5d37d7d4878a86a1a67300299e7f76a538060753eb8a431a7ec062c
MD5 704983c8643b66deeece1103fa09c061
BLAKE2b-256 67a6cd9f596fa40d1bfec0688cc30c60e576633fffad4858bf94c27a5bd73049

See more details on using hashes here.

File details

Details for the file imgsh-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: imgsh-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for imgsh-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 555929e9c9ac977058610fb20dca640308caef3d99d089f3e80a5addb69b281d
MD5 0ec2348bc322f57e1460247582bc9edd
BLAKE2b-256 e9cf00b845ea9fe54facf1cfcd6ebd57097023e8cda5621907db37d5e445aabf

See more details on using hashes here.

Supported by

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