Cruncher
Cruncher is a simple but powerful command line tool that optimizes images for the web.
Installing
Install and update Cruncher using pip.
$ pip install cruncher
It is highly recommenced that you run Cruncher with virualenv. This can abstract away the peculiarities of running Cruncher across multiple operating systems.
Cruncher is built for Python 3. It is tested the last three minor versions of Python (currently 3.8 to 3.10).
Basic Usage
Cruncher is run from the terminal. Simply specify the image or directory of images you wish to compress, and your preferred settings.
Example:
$ cruncher -i "C:\path_to_image\the_image.jpg" -q 75 -s 300 500 -o "C:\path_to_output_dir"
In this example the following options are used.
-i Is the path to the image you wish to compress.
-q Is the output image quality.
-s Is the output images dimensions (width, height).
-o Is the output directory.
Please read the documentation for more details about these options and the others that exist.
Documentation
Contributors
Copyright © 2019-2022 Daniel Morell
Metadata
Release files for cruncher 0.5.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 | Provenance | Actions |
|---|---|---|---|---|
| cruncher-0.5.0.tar.gz | 11.3 kB | Without provenance | Details for cruncher-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cruncher-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for cruncher-0.5.0-py3-none-any.whl |
Total release size: 23.3 kB
Release files / cruncher-0.5.0.tar.gz
| Download URL | cruncher-0.5.0.tar.gz |
|---|---|
| Size | 11.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c96ec911da21c4a9473c822b3586ecbd62f6ffad13c65da168eb6be14f485e20
|
|
BLAKE2b-256 checksum How to use checksums |
2ed9bfeda1095eae5ec39a372e79ad6b12116ccf69e3d90be45cae1dd5b4665b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / cruncher-0.5.0-py3-none-any.whl
| Download URL | cruncher-0.5.0-py3-none-any.whl |
|---|---|
| Size | 11.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eff5ca570e423d0696efc8b3aff2add29ce0b9d211d66d9b29f7965dc5d05e63
|
|
BLAKE2b-256 checksum How to use checksums |
d75c7aa228402a7fc2ed17492ae9222539521330502f5147f559c38f42f53f3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for cruncher 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.