Skip to main content

[!Note] Documentation is currently being prepared. Please wait.

How to use

import flet as ft

from flet_blurhash import BlurHashOptimizationMode, FletBlurHash


def main(page: ft.Page):
    page.vertical_alignment = ft.MainAxisAlignment.CENTER
    page.horizontal_alignment = ft.CrossAxisAlignment.CENTER
    page.window.always_on_top = True

    def display(e):
        print("display: ", e.data)

    page.add(
        ft.Container(
            height=400,
            width=400,
            content=FletBlurHash(
                hash="LKO2:N%2Tw=w]~RBVZRi};RPxuwH",
                image="https://fastly.picsum.photos/id/21/3008/2008.jpg?hmac=T8DSVNvP-QldCew7WD4jj_S3mWwxZPqdF0CNPksSko4",
                duration=ft.Duration(seconds=3),
                on_display=display,
                curve=ft.AnimationCurve.BOUNCE_IN,
                optimization_mode=BlurHashOptimizationMode.APPROXIMATION,
            ),
        )
    )


ft.run(main)

Metadata

Release files for flet-blurhash 0.1.0

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

Source distribution (sdist)

Source distribution for flet-blurhash 0.1.0
File Size Uploaded Provenance Actions
flet_blurhash-0.1.0.tar.gz 11.0 kB Without provenance Details for flet_blurhash-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flet-blurhash 0.1.0
File Interpreter ABI Platform Actions
flet_blurhash-0.1.0-py3-none-any.whl Python 3 none any Details for flet_blurhash-0.1.0-py3-none-any.whl

Total release size: 23.1 kB

Release files / flet_blurhash-0.1.0.tar.gz

Download URL flet_blurhash-0.1.0.tar.gz
Size 11.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fbf378318ef574b8b04a8e70b38f642d5e5f99eb793335996ad477b5e80c9985
BLAKE2b-256 checksum
How to use checksums
a011f837017efb169c09a3ddaaeff78639ce0884101aac199bb6a12c97b391a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.2","id":"zara","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / flet_blurhash-0.1.0-py3-none-any.whl

Download URL flet_blurhash-0.1.0-py3-none-any.whl
Size 12.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d4dca0a6b2a20f47c67370f5d972645ab4b5028d4969cc5fd29784a97322ef6
BLAKE2b-256 checksum
How to use checksums
a5fc3fcb9671ae7dd2219452bee36a670d1e55f3a8c36c2232b2565b9bd0de88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.2","id":"zara","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for flet-blurhash 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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