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
Metadata
Release files for PySizer 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| PySizer-0.1.0.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PySizer-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.7 kB
Release files / PySizer-0.1.0.tar.gz
| Download URL | PySizer-0.1.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7f71df6335d4fbcf7d63a2673f02f542f9e55af47522c00b10b3f4819bc7abe
|
|
BLAKE2b-256 checksum How to use checksums |
79315831cc279ea79e206ad77d21eb08bf2cdc955f0eae6534d5f6a1c1133fb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.3 CPython/3.9.0 Windows/10
|
Release files / PySizer-0.1.0-py3-none-any.whl
| Download URL | PySizer-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f677c75c520e22a5783fc8f867e8e9e465d89ab691521e3796f9d584207a00c6
|
|
BLAKE2b-256 checksum How to use checksums |
4e2f1e107ae21101e0d0e313b1cbd7165ee4400f515824b42d1c5bdcb7e0e435
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.3 CPython/3.9.0 Windows/10
|