Skip to main content

blurhashify

PyPI Hatch project

Generate BlurHash images from an existing image.

Installation

Via pip:

pip install blurhashify

Via pipx:

pipx install blurhashify

Usage

blurhashify

and

Usage: blurhashify [OPTIONS] FILE_PATH

  Generate BlurHash images from an existing image.

Options:
  -w, --width INTEGER   The width of the output images (in px).  [default: input image
                        width]
  -h, --height INTEGER  The height of the output images (in px).  [default: input
                        image height]
  -s, --scale INTEGER   The number to multiply the width and height of the output
                        images by.  [default: 1]
  -p, --punch INTEGER   The punch of output images. This design option adjusts the
                        contrast in output images. Smaller values make the effect more
                        subtle, while larger values make it stronger.  [default: 1]
  -v, --verbose         Enable verbose logging.
  --version             Show the version and exit.
  --help                Show this message and exit.

References

Development

VS Code profile: Python

hatch config set dirs.env.virtual .hatch
hatch config show --all
hatch env create dev
hatch env find
hatch env show
hatch version
hatch -e dev run pip show blurhashify
hatch -e dev run blurhashify --help
hatch -e dev run blurhashify 06_IMG_1974.jpg

or

hatch -e dev run blurhashify 06_IMG_1974.jpg --verbose
hatch run dev:check

Copy the output of the help command (hatch -e dev run blurhashify --help) and paste it in the Usage section.

Deployment

hatch project metadata
hatch version
git tag
git ls-remote --tags origin
hatch version micro

or

hatch version minor

Commit the blurhashify/__init__.py file with the updated version.

git tag "v$(hatch version)"
git tag
git push origin --tags

Metadata

Release files for blurhashify 0.1.1

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

Source distribution (sdist)

Source distribution for blurhashify 0.1.1
File Size Uploaded
blurhashify-0.1.1.tar.gz 8.6 kB Details

Built distribution (wheel)

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

Total release size: 14.4 kB

Release files / blurhashify-0.1.1.tar.gz

Download URL blurhashify-0.1.1.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6d5dc988d89b69528a85b3d61a7d91adfee1546a30ae1fad9dcf731e50250825
BLAKE2b-256 checksum
How to use checksums
218c0d2ddfa64be4c8305379cc741799d956d212e774dd66975443e194820183
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.23.3

Release files / blurhashify-0.1.1-py3-none-any.whl

Download URL blurhashify-0.1.1-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
101ce42676de0448f2c161d97c7d1734519ab75ee249ef74ed488f0773ce36e4
BLAKE2b-256 checksum
How to use checksums
986811338b7aa5965c1fc8a2e19092698fa2ac928fa87007e246ad9e93e8a9c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.23.3

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

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