{"id":18926663,"url":"https://github.com/leocov-dev/blurhash-pyside","last_synced_at":"2026-02-16T16:35:22.427Z","repository":{"id":246452148,"uuid":"818442947","full_name":"leocov-dev/blurhash-pyside","owner":"leocov-dev","description":"Fast Blurhash encoding and decoding for PySide2/6","archived":false,"fork":false,"pushed_at":"2024-07-13T17:20:58.000Z","size":269,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T08:07:46.223Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leocov-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-21T21:44:15.000Z","updated_at":"2025-02-03T01:49:24.000Z","dependencies_parsed_at":"2024-06-28T02:35:11.633Z","dependency_job_id":"6348b161-b92b-4b21-8564-be478fea699a","html_url":"https://github.com/leocov-dev/blurhash-pyside","commit_stats":null,"previous_names":["leocov-dev/blurhash-pyside"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/leocov-dev/blurhash-pyside","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leocov-dev%2Fblurhash-pyside","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leocov-dev%2Fblurhash-pyside/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leocov-dev%2Fblurhash-pyside/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leocov-dev%2Fblurhash-pyside/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leocov-dev","download_url":"https://codeload.github.com/leocov-dev/blurhash-pyside/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leocov-dev%2Fblurhash-pyside/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29513275,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T11:16:52.442Z","updated_at":"2026-02-16T16:35:22.399Z","avatar_url":"https://github.com/leocov-dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blurhash-pyside\n\n[![GitHub License](https://img.shields.io/github/license/leocov-dev/blurhash-pyside)](./LICENSE)\n[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/leocov-dev/blurhash-pyside/ci.yml)](https://github.com/leocov-dev/blurhash-pyside/actions/workflows/ci.yml)\n[![GitHub Release](https://img.shields.io/github/v/release/leocov-dev/blurhash-pyside)](https://github.com/leocov-dev/blurhash-pyside/releases/latest)\n[![PyPI - Version](https://img.shields.io/pypi/v/blurhash-pyside)](https://pypi.org/project/blurhash-pyside/)\n[![PyPI - Wheel](https://img.shields.io/pypi/wheel/blurhash-pyside)](https://pypi.org/project/blurhash-pyside/#files)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/blurhash-pyside)](./pyproject.toml)\n\n\nBlurhash encoding and decoding for PySide2/6. \nThis is a lightweight wrapper using the C++ encoding and decoding functions \nprovided by [Nheko-Reborn/blurhash](https://github.com/Nheko-Reborn/blurhash).\n\n- Encode a QImage or QPixmap into a blurhash string\n- Decode a blruhash string into a QImage or QPixmap\n\nFor more information about Blurhash visit their [official page](https://blurha.sh/).\n\n## Dependencies\n\nThis project has no external dependencies other than that you must provide \neither PySide2 or PySide6 in your own project.\n\nThe library is pre-compiled for popular platforms and recent Python versions. \nSee the [Releases](https://github.com/leocov-dev/blurhash-pyside/releases) or [PyPi](https://pypi.org/project/blurhash-pyside/) page for available wheels.\n\n## Local Development\n\nRequirements:\n- Python 3.9+\n- Hatch\n- CMake 3.27+\n\nRun the example:\n```shell\n# choose one:\nhatch run pyside6:example\n\n# pyside2 may not be available for all python versions or platforms\nhatch run pyside2:example\n```\n\n### Setup your local environment\n\nCreate a repo relative `.venv/` dir:\n```shell\nhatch env create\n```\n\nRun the tests:\n```shell\nhatch test\n```\n\nBuild the wheel for your platform:\n```shell\nhatch build -t wheel\n```\n\nRecompile the C++ project:\n```shell\nhatch run compile\n```\n\nThe `cmake` project is not intended to be run on its own but it is possible to do it.\nThe `pybind11` dependency will be available after creating the default virtual environment\nand passing its python executable path to `cmake` via `Python_EXECUTABLE`. Some IDE's may\ndo this for you when a python environment is activated in their configuration.\n\nManual CMake build\n```shell\ncmake -S . -B cmake-build-release -G Ninja\ncmake --build cmake-build-release -j 8\ncmake --install cmake-build-release --prefix src\n```\n\n## Acknowledgements\n\nThe core C++ code for the blurhash functions was source from https://github.com/Nheko-Reborn/blurhash\nunder the Boost Software License. Some minor [modifications](extern/blurhash-cpp/README.md) were made.\n\nThis project is made possible by [pybind11](https://github.com/pybind/pybind11) and [scikit-build-core](https://github.com/scikit-build/scikit-build-core). \nMulti-platform wheels are generated using the [cibuildwheel](https://github.com/pypa/cibuildwheel) project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleocov-dev%2Fblurhash-pyside","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleocov-dev%2Fblurhash-pyside","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleocov-dev%2Fblurhash-pyside/lists"}