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.84.0.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.84.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file flet_flashlight-0.84.0.tar.gz.

File metadata

  • Download URL: flet_flashlight-0.84.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","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.84.0.tar.gz
Algorithm Hash digest
SHA256 6044c32e5db0c5567695d656a14b81f773198d9d58e99fa35aac48f39738676f
MD5 a793d262ccc1905a3e95842b8025196e
BLAKE2b-256 645c52cbfbbe8b8b520924b6deb8c0199f82fc175352ff3e1d99e81a1cc2f8d8

See more details on using hashes here.

File details

Details for the file flet_flashlight-0.84.0-py3-none-any.whl.

File metadata

  • Download URL: flet_flashlight-0.84.0-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","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.84.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5217a6ce84e5c68f6d7948a938998d8a64f3b0deebba7487fdd68cfa96d9c76
MD5 bf7b5134447410c3cac422b36f94ae2c
BLAKE2b-256 08c21fe81d8939fdb4f775116d27303e94a5497e2bbed3761c2c8717c84b8cbc

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