semvec/pypi-packages huggingface dataset:
flet-blur 0.4.1
Blur control for Flet
Requires Python: >=3.10

# Flet Blur control
Blur control for [Flet](https://flet.dev/) integrating [flutter_acrylic](https://pub.dev/packages/flutter_acrylic)

## Installation

```bash
pip install flet-blur
```

Please build once before running.

for windows user:

```bash
flet build windows -v
```

for macOS user:

```bash
flet build macos -v
```

for linux user:

```bash
flet build linux -v
```

## Example

```py
import flet as ft

import flet_blur as ftb


def main(page: ft.Page):
    bgblur = ftb.Blur()

    def on_click(
        effect: ftb.WindowEffect,
        color: ft.Colors = ft.Colors.TRANSPARENT,
        dark: bool = True,
    ):
        async def f(e):
            await bgblur.set_window_effect(effect, color, dark)

        return f

    page.overlay.append(bgblur)
    page.bgcolor = ft.Colors.TRANSPARENT
    page.add(
        ft.Text("Acrylic!"),
        ft.ElevatedButton(
            "transparent",
            on_click=on_click(ftb.WindowEffect.TRANSPARENT, ft.Colors.BLACK, False),
        ),
        ft.ElevatedButton(
            "solid", on_click=on_click(ftb.WindowEffect.SOLID, ft.Colors.RED, True)
        ),
        ft.ElevatedButton(
            "aero", on_click=on_click(ftb.WindowEffect.AERO, ft.Colors.BLUE, False)
        ),
        ft.ElevatedButton(
            "acrylic",
            on_click=on_click(ftb.WindowEffect.ACRYLIC, ft.Colors.GREEN, True),
        ),
        ft.ElevatedButton(
            "mica",
            on_click=on_click(ftb.WindowEffect.MICA, ft.Colors.TRANSPARENT, False),
        ),
        ft.ElevatedButton(
            "tabbed", on_click=on_click(ftb.WindowEffect.TABBED, ft.Colors.BLACK, True)
        ),
        ft.ElevatedButton(
            "disabled",
            on_click=on_click(ftb.WindowEffect.DISABLED, ft.Colors.BLACK, False),
        ),
    )


ft.run(main)
```

## Known issues

Some effects do not work, see https://github.com/alexmercerind/flutter_acrylic/issues .

## Reference

- https://github.com/flet-dev/flet/pull/4441
py-flare-common 0.1.10
Python modules that are used across multiple Flare projects.
Requires Python: >=3.10

<p align="left">
  <a href="https://flare.network/" target="blank"><img src="https://content.flare.network/Flare-2.svg" width="410" height="106" alt="Flare Logo" /></a>
</p>

# py-flare-common

`py-flare-common` is a Python library that provides essential tools and utilities used across the development of the Flare blockchain and its protocols. It consolidates commonly used components to streamline development and enhance code reusability.

### Overview

The library includes the following modules:

- **b58**: Provides byte encoding and decoding according to Flare-specific rules.
- **fsp**: Contains utilities for reward and voting epochs, as well as tools for parsing FSP submissions.
- **ftso**: Includes tools for calculating medians and working with FTSO feeds.
- **merkle**: Offers tools for working with Merkle trees.
flet-dropzone 0.3.1
Dropzone control for Flet
Requires Python: >=3.10

# Flet Dropzone control

Dropzone control for [Flet](https://flet.dev/) integrating [desktop_drop](https://pub.dev/packages/desktop_drop)

## Installation

```bash
pip install flet-dropzone
```

Please build once before running.

for windows user:

```bash
flet build windows -v
```

for macOS user:

```bash
flet build macos -v
```

for linux user:

```bash
flet build linux -v
```

for web user:

```bash
flet build web -v
```

## Example

```py
import flet as ft

import flet_dropzone as ftd


def main(page: ft.Page):
    page.vertical_alignment = ft.MainAxisAlignment.CENTER
    page.horizontal_alignment = ft.CrossAxisAlignment.CENTER

    page.add(
        ftd.Dropzone(
            content=ft.Container(
                ft.Text("Drop here!"),
                width=500,
                height=500,
                alignment=ft.Alignment.CENTER,
                bgcolor="red",
            ),
            on_dropped=lambda e: print(f"Dropped: {e.files}"),
            on_entered=lambda e: print("Entered"),
            on_exited=lambda e: print("Exited"),
        )
    )


ft.run(main)
```

## References

- https://github.com/flet-dev/flet/pull/4441
litert-torch 0.8.0
Supporting PyTorch models with the Google AI Edge TFLite runtime.
Requires Python: >=3.10
Keywords: On-Device ML, AI, Google, TFLite, PyTorch, LLMs, GenAI

Library that supports converting PyTorch models into a .tflite format, which can
then be run with TensorFlow Lite and MediaPipe.  This enables applications for
Android, iOS and IOT that can run models completely on-device.

[Install steps](https://github.com/google-ai-edge/litert-torch#installation)
and additional details are in the LiteRT Torch
[GitHub repository](https://github.com/google-ai-edge/litert-torch).