Skip to main content

imgparallel

A toolbox for pre-processing and formatting image datasets.

imgparallel is a command line interface and python library for processing image datasets stored as individual files. Currently the tool exists as an MVP, supporting very minimal transforms and limited flexibility.

Installation

From PyPI

pip install imgparallel

From Source

git clone https://github.com/jackson-waschura/imgparallel.git
cd imgparallel/
pip install -e .

Examples

Here is an example usage which resizes all images from test_data/input_images to 512x512 then saves them to test_data/output_images as jpegs.

imgparallel --src test_data/input_images --dst test_data/output_images --resize 512x512 --format jpg --proc_per_stage 1

The CLI can also be invoked like this:

python3 imgparallel/cli.py --src test_data/input_images --dst test_data/output_images --resize 512x512 --format jpg --proc_per_stage 1

To Do

  • Implement a simple MVP CLI tool for reformatting an image dataset (image format, resize)
  • Evaluate the output of running the tool
  • Implement sanity checks / tests for permissions before running the pipeline.
  • Add an alias / script into the package so it can be run by name from anywhere
  • Implement tests to evaluate correctness of the tool
  • Use wheel and twine to publish the MVP tool
  • Draft a design for more complex transforms (multiple resolution outputs, cropping, etc)

Release files for imgparallel 0.1.0

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

Source distribution (sdist)

Source distribution for imgparallel 0.1.0
File Size Uploaded
imgparallel-0.1.0.tar.gz 9.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for imgparallel 0.1.0
File Interpreter ABI Platform
imgparallel-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 21.2 kB

Release files / imgparallel-0.1.0.tar.gz

Download URL imgparallel-0.1.0.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9864cb9248feeb2c561540c17b155b1018687e5e5c47d002486b458ac69857b6
BLAKE2b-256 checksum
How to use checksums
3bcd8e892025e986f204113206140840b61c53ce279f51e7c72388f3fb6dcada
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.10

Release files / imgparallel-0.1.0-py3-none-any.whl

Download URL imgparallel-0.1.0-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa0836c63f0d8d876ee569b257436e58ec2d91aa5d07656206f66719368526b5
BLAKE2b-256 checksum
How to use checksums
9db2b41e4891b4f3db0d349ef2e35fbcc58e4add5af8a3b7b1b0e7f4a9772325
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.1.0 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