Skip to main content

Quick & Efficient Command Line picture resizer!

Project description

PySizer

Introduction

PySizer is a simple python command line program to resize images efficiently using Threads. This program uses click as a command line argument parser. It can also be used to pyinstaller to create a executable.

Quick Start

  • Install the project with pip
pip install git+https://github.com/kumaraditya303/PySizer.git
  • Project will now be available as a command line utility

  • Get Help

$ pysizer.exe --help
Usage: pysizer [OPTIONS]

  Main PySizer function which with ThreadPoolExecutor creates threads for
  resizing pictures.

  Checks for correct file extension, creates threads for each picture with
  thread limitation as given by threads argument.

  Creates progress bar with the click for resizing progress.

Options:
  --source PATH      Pictures source  [default: .]
  --dest PATH        Destination for resized pictures  [default: resized]
  --height INTEGER   Image height  [default: 1280]
  --width INTEGER    Image weight  [default: 1920]
  --threads INTEGER  number of threads to use  [default: 40]
  --help             Show this message and exit.

Project Made and Maintained By Kumar Aditya

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

PySizer-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

PySizer-0.1.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PySizer-0.1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.3 CPython/3.9.0 Windows/10

File hashes

Hashes for PySizer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e7f71df6335d4fbcf7d63a2673f02f542f9e55af47522c00b10b3f4819bc7abe
MD5 e764f4c36cdcaff7530e3160c8a58b61
BLAKE2b-256 79315831cc279ea79e206ad77d21eb08bf2cdc955f0eae6534d5f6a1c1133fb9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PySizer-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.3 CPython/3.9.0 Windows/10

File hashes

Hashes for PySizer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f677c75c520e22a5783fc8f867e8e9e465d89ab691521e3796f9d584207a00c6
MD5 e5a139adcb2a7374fa9ec12de3e22693
BLAKE2b-256 4e2f1e107ae21101e0d0e313b1cbd7165ee4400f515824b42d1c5bdcb7e0e435

See more details on using hashes here.

Supported by

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