flet-lucid 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Muhammad Arief Minardi
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,68 @@
1
+ Metadata-Version: 2.4
2
+ Name: flet-lucid
3
+ Version: 0.1.0
4
+ Summary: use up to 1600 kinds of lucid icons with the flet framework
5
+ Author-email: Arief Minardi <ariefminardi005@gmail.com>
6
+ Project-URL: Repository, https://github.com/arief05652/flet-lucid
7
+ Project-URL: Issues, https://github.com/arief05652/flet-lucid/issues
8
+ Requires-Python: >=3.12
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ Requires-Dist: flet>=0.80.0
12
+ Dynamic: license-file
13
+
14
+ # FLET LUCID
15
+
16
+ ![PyPI - Downloads](https://img.shields.io/pypi/dw/flet-lucid)
17
+ ![PyPI - Version](https://img.shields.io/pypi/v/flet-lucid)
18
+
19
+
20
+ ## Features
21
+
22
+ - Mudah dipakai
23
+ - mendukung sampai 1600++ macam icon
24
+ - device yang didukung:
25
+
26
+ > [!NOTE]
27
+ > **🟢 Green**: berarti bisa di build/dapat berjalan \
28
+ > **🟡 Yellow**: belum di test \
29
+ > **🔴 Red**: tidak di dukung
30
+
31
+ | Device | Status |
32
+ | --- | --- |
33
+ | Android | 🟢 |
34
+ | Linux | 🟢 |
35
+ | Web | 🔴 |
36
+ | Ios | 🟡 |
37
+ | Windows | 🟡 |
38
+
39
+ ## Requirements
40
+
41
+ ### Use UV
42
+ ```bash
43
+ uv add flet-lucid
44
+ ```
45
+
46
+ ## How to Use
47
+
48
+ > [!NOTE]
49
+ > sebelum dijalankan pastikan kamu build terlebih dahulu, kenapa? karna flet harus mendaftarkan terlebih dahulu ke depedensi flutter nya
50
+
51
+
52
+ ```python
53
+ import flet as ft
54
+ from flet_lucid import Icon, Icons
55
+
56
+
57
+ def main(page: ft.Page):
58
+ page.vertical_alignment = ft.MainAxisAlignment.CENTER
59
+ page.horizontal_alignment = ft.CrossAxisAlignment.CENTER
60
+ page.window.always_on_top = True
61
+
62
+ page.add(
63
+ Icon(Icons.AIRPLAY, size=100),
64
+ )
65
+
66
+
67
+ ft.run(main)
68
+ ```
@@ -0,0 +1,55 @@
1
+ # FLET LUCID
2
+
3
+ ![PyPI - Downloads](https://img.shields.io/pypi/dw/flet-lucid)
4
+ ![PyPI - Version](https://img.shields.io/pypi/v/flet-lucid)
5
+
6
+
7
+ ## Features
8
+
9
+ - Mudah dipakai
10
+ - mendukung sampai 1600++ macam icon
11
+ - device yang didukung:
12
+
13
+ > [!NOTE]
14
+ > **🟢 Green**: berarti bisa di build/dapat berjalan \
15
+ > **🟡 Yellow**: belum di test \
16
+ > **🔴 Red**: tidak di dukung
17
+
18
+ | Device | Status |
19
+ | --- | --- |
20
+ | Android | 🟢 |
21
+ | Linux | 🟢 |
22
+ | Web | 🔴 |
23
+ | Ios | 🟡 |
24
+ | Windows | 🟡 |
25
+
26
+ ## Requirements
27
+
28
+ ### Use UV
29
+ ```bash
30
+ uv add flet-lucid
31
+ ```
32
+
33
+ ## How to Use
34
+
35
+ > [!NOTE]
36
+ > sebelum dijalankan pastikan kamu build terlebih dahulu, kenapa? karna flet harus mendaftarkan terlebih dahulu ke depedensi flutter nya
37
+
38
+
39
+ ```python
40
+ import flet as ft
41
+ from flet_lucid import Icon, Icons
42
+
43
+
44
+ def main(page: ft.Page):
45
+ page.vertical_alignment = ft.MainAxisAlignment.CENTER
46
+ page.horizontal_alignment = ft.CrossAxisAlignment.CENTER
47
+ page.window.always_on_top = True
48
+
49
+ page.add(
50
+ Icon(Icons.AIRPLAY, size=100),
51
+ )
52
+
53
+
54
+ ft.run(main)
55
+ ```
@@ -0,0 +1,31 @@
1
+ [project]
2
+ name = "flet-lucid"
3
+ version = "0.1.0"
4
+ description = "use up to 1600 kinds of lucid icons with the flet framework"
5
+ readme = "README.md"
6
+ requires-python = ">=3.12"
7
+ authors = [
8
+ { name = "Arief Minardi", email = "ariefminardi005@gmail.com" }
9
+ ]
10
+ dependencies = [
11
+ "flet>=0.80.0",
12
+ ]
13
+
14
+ [dependency-groups]
15
+ dev = [
16
+ "flet[all]>=0.80.0",
17
+ ]
18
+
19
+ [project.urls]
20
+ Repository = "https://github.com/arief05652/flet-lucid"
21
+ Issues = "https://github.com/arief05652/flet-lucid/issues"
22
+
23
+ [tool.setuptools.package-data]
24
+ "flutter.flet_lucid" = ["**/*"]
25
+
26
+ [tool.setuptools]
27
+ license-files = ["LICENSE"]
28
+
29
+ [build-system]
30
+ requires = ["setuptools"]
31
+ build-backend = "setuptools.build_meta"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,7 @@
1
+ from .flet_lucid import Icon
2
+ from .lucid_data import Icons
3
+
4
+ __all__ = [
5
+ "Icon",
6
+ "Icons",
7
+ ]
@@ -0,0 +1,34 @@
1
+ from typing import Optional
2
+
3
+ import flet as ft
4
+
5
+ from .lucid_data import Icons
6
+
7
+
8
+ @ft.control("LucidIcon")
9
+ class Icon(ft.LayoutControl):
10
+ """
11
+ This library is based on flutter_lucid from flutter, and with this library, you can use over 1600 icons available on the lucide.dev website.
12
+
13
+ You can visit the official website to find the icon you want.
14
+ Lucide Website: https://lucide.dev/
15
+
16
+ Example:
17
+ ```python
18
+ from flet_lucid import Icon, Icons
19
+
20
+ Icon(Icons.AIRPLAY)
21
+ ```
22
+ """
23
+
24
+ icon: Icons
25
+ size: Optional[ft.Number] = None
26
+ color: Optional[ft.ColorValue] = None
27
+ blend_mode: Optional[ft.BlendMode] = None
28
+ semantics_label: Optional[str] = None
29
+ apply_text_scaling: Optional[bool] = None
30
+ fill: Optional[ft.Number] = None
31
+ grade: Optional[ft.Number] = None
32
+ weight: Optional[ft.Number] = None
33
+ optical_size: Optional[ft.Number] = None
34
+ shadows: Optional[ft.BoxShadowValue] = None