blurhash-python
BlurHash encoder implementation for Python
Decision gist · record as of 2026-08-14
Yes, if you need BlurHash encoding and can tolerate dormant maintenance. The package is marked Production/Stable, has no known vulnerabilities, and works reliably across modern Python versions on common platforms. Install friction is moderate due to compiled bindings, but prebuilt wheels are available. The main risk is that future Python or dependency updates may not be addressed promptly; verify decoding support and dependency requirements first.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- x_components and y_components must each be between 1 and 9.
- Medium install friction due to compiled cffi bindings across multiple Python versions and architectures.
- Dormant maintenance (933 days since last release) with no recent commits tracked, though marked Production/Stable and supporting Python 3.8–3.12.
License · maintenance · safety
permissive license (permissive) — MIT license (permissive) imposes minimal restrictions; you may use, modify, and distribute freely with attribution.
last release 2024-01-24 (933 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 167,240 downloads/mo, #10,474 on PyPI
Alternatives
Verify before relying
pip install blurhash-python
import blurhash
hash = blurhash.encode('image.jpg', x_components=4, y_components=3)- Whether dormant status (933 days since release) poses a risk for future Python or dependency compatibility.
- Performance characteristics and typical hash generation time for various image sizes.
- Decoding capability—fact sheet only mentions encoding, unclear if decode is supported.
- Full range of supported image formats and whether Pillow must be pre-installed.
What it is and what it does
blurhash-python is an encoder for the BlurHash algorithm, which converts images into short, compact text hashes that represent their visual content. These hashes are useful for generating placeholder images, progressive loading strategies, or perceptual image comparison without storing full image data. The package accepts images from file paths, file objects, or in-memory image objects, and lets you control the detail level via x_components and y_components parameters (each 1–9) to trade off hash length against visual fidelity.
The package depends on cffi for compiled bindings, Pillow for image manipulation, and six for Python 2/3 compatibility. It ships precompiled wheels for Linux on x86_64 and aarch64 across Python 3.8–3.12, reducing install friction on those platforms. However, maintenance is dormant—the last release was 933 days ago—so forward compatibility with future Python versions or dependency updates is not guaranteed.
Use it for
- Generate compact placeholder hashes for images in web applications to show during lazy loading or progressive image reveal.
- Create perceptual fingerprints of images for deduplication or similarity detection without storing full image data.
- Encode user-uploaded images into short strings for storage in databases or URLs when a visual preview hash is needed.
- Build image preview systems that display a blurred approximation while the full image loads over slow connections.
- Implement content-addressable image caching by hashing visual content rather than file metadata.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need BlurHash encoding and can tolerate dormant maintenance.
The package is marked Production/Stable, has no known vulnerabilities, and works reliably across modern Python versions on common platforms. Install friction is moderate due to compiled bindings, but prebuilt wheels are available. The main risk is that future Python or dependency updates may not be addressed promptly; verify decoding support and dependency requirements first.
Install
blurhash-python on PyPI
Before you install
Medium install friction due to compiled cffi bindings across multiple Python versions and architectures. Dormant maintenance (933 days since last release) with no recent commits tracked, though marked Production/Stable and supporting Python 3.8–3.12.
x_components and y_components must each be between 1 and 9.
License in practice
MIT license (permissive) imposes minimal restrictions; you may use, modify, and distribute freely with attribution.
Quickstart
pip install blurhash-python
import blurhash
hash = blurhash.encode('image.jpg', x_components=4, y_components=3)
Verify before relying
- Whether dormant status (933 days since release) poses a risk for future Python or dependency compatibility.
- Performance characteristics and typical hash generation time for various image sizes.
- Decoding capability—fact sheet only mentions encoding, unclear if decode is supported.
- Full range of supported image formats and whether Pillow must be pre-installed.
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 3 packagescffiPillowsix |
| Maintenance | Dormant 933 days since the last release |
| First released | |
| Downloads | 167,240 / month, #10,474 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: blurhash_python-1.2.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl; blurhash_python-1.2.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl; blurhash_python-1.2.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl; blurhash_python-1.2.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl; blurhash_python-1.2.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl; blurhash_python-1.2.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl; blurhash_python-1.2.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl; blurhash_python-1.2.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl; blurhash_python-1.2.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl; blurhash_python-1.2.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “blurhash encoder”
- blurhash-pythonEncodes images into BlurHash strings, compact perceptual hashes that…
- blurhashEncodes images into compact blurhash text strings and decodes them…
- standardjsonProvides a JSON encoder that handles datetime, date, time, and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Graphics packages
Pillow adds image processing capabilities to Python, providing file format support, efficient pixel data handling, and image manipulation operations.
Install it if you need to work with images in Python—it is the de facto standard for this task.
fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.
Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.
Enables matplotlib figures to display inline directly within Jupyter notebooks and IPython environments instead of in separate windows.
PyMuPDF extracts, renders, converts, and manipulates PDF and other document formats (XPS, EPUB, images, Office files via Pro) with high performance, providing text, tables, images, and metadata with precise layout information.
The AGPL license requires careful review if you are building proprietary software—commercial licensing is available from Artifex.
pypdfium2 is a Python binding to PDFium that enables PDF rendering, inspection, manipulation, and creation through a ctypes interface to Google's PDFium library.
Install it if you need PDF rendering, inspection, or manipulation in Python; the medium install friction is offset by comprehensive platform support.
Altair is a declarative Python library for creating interactive statistical visualizations by writing simple, readable code that compiles to Vega-Lite specifications.
See also blurhash · ImageHash · bbhash · bcrypt · py-multihash · hashin · hashids · filehash · pyscrypt · rensa