Skip to main content

Control device torch/flashlight from Flet apps.

Project description

flet-flashlight

pypi downloads python docstring coverage license

A Flet extension to manage the device torch/flashlight.

It is based on the flashlight Flutter package.

Important: Add Flashlight instances to page.services before calling toggle or other methods.

Documentation

Detailed documentation to this package can be found here.

Platform Support

Platform Windows macOS Linux iOS Android Web
Supported

Usage

Installation

To install the flet-flashlight package and add it to your project dependencies:

  • Using uv:

    uv add flet-flashlight
    
  • Using pip:

    pip install flet-flashlight
    

    After this, you will have to manually add this package to your requirements.txt or pyproject.toml.

Examples

For examples, see these.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flet_flashlight-0.85.0.dev2.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flet_flashlight-0.85.0.dev2-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file flet_flashlight-0.85.0.dev2.tar.gz.

File metadata

  • Download URL: flet_flashlight-0.85.0.dev2.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for flet_flashlight-0.85.0.dev2.tar.gz
Algorithm Hash digest
SHA256 abd1b777141e57d4dc7c417b0824820c87485ac54041d54adc643cce5d866ff6
MD5 9f8262e30a2b291bc64c9d1c7bebce71
BLAKE2b-256 0946ae2197a4ff0227952dc0f13fca45a6fb858761e1686c4b934d74c9f653c1

See more details on using hashes here.

File details

Details for the file flet_flashlight-0.85.0.dev2-py3-none-any.whl.

File metadata

  • Download URL: flet_flashlight-0.85.0.dev2-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for flet_flashlight-0.85.0.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 252062099a7c43780efe2b6bf349ab29aa495c3237d0d266cc6c28a781326dfa
MD5 864d0bc73b3b9b0f6a77a776b4079885
BLAKE2b-256 13c470292851a4497a9c6df94fd77680bbb32a567142886e8a822281ee75ef5d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page