flet-flashlight
A Flet extension to manage the device torch/flashlight.
Try Flet online in Flet Studio
Prototype your Flet app interface in the browser, then add flashlight control and test on your device. Write your own Python code or get help from the AI agent.
It is based on the flashlight Flutter package.
Important: Add
Flashlightinstances topage.servicesbefore 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.txtorpyproject.toml.
Examples
For examples, see these.
Metadata
Release files for flet-flashlight 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flet_flashlight-1.0.1.tar.gz | 7.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flet_flashlight-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.2 kB
Release files / flet_flashlight-1.0.1.tar.gz
| Download URL | flet_flashlight-1.0.1.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5293005a635f04f859f0276f57bd3a1b58fce68ffd1ffc247a2896d6eba6356c
|
|
BLAKE2b-256 checksum How to use checksums |
64ace7c5c2ba790b7a0c347dc7924c356ddb534ab7be22494221857998a1ef70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","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}
|
Release files / flet_flashlight-1.0.1-py3-none-any.whl
| Download URL | flet_flashlight-1.0.1-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
440b79a24aa1cd721b012431cc17ef354eab25e6f01aa64e3c6a3e0d28633609
|
|
BLAKE2b-256 checksum How to use checksums |
71df32603e4cfd290114b6493c0ea189f7063f703f4d85faf596bbae80f3eb24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","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}
|