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

Uploaded Python 3

File details

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

File metadata

  • Download URL: flet_flashlight-0.85.0.dev4.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","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.dev4.tar.gz
Algorithm Hash digest
SHA256 69fe736d9d7e3ce08e98ea4a8b043162812357024db540be510c94f160d90adb
MD5 655c8e50d407262414ea5dae4b56cefa
BLAKE2b-256 bb38c2e6ae1c2e8112c5bd99b58e7fcf04c9c6301f67f80a21fca69d33a76351

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flet_flashlight-0.85.0.dev4-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","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.dev4-py3-none-any.whl
Algorithm Hash digest
SHA256 d216a1a74126323b8df965b8525642bee37c1f8bc28ecf31da4a3404a3521b27
MD5 30a541ccadc18f6b3eec126fbb223dbd
BLAKE2b-256 4be155ac16c095d07d89855b42e638248f22ba75309ba3bf0aaa299618bcad54

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