pyflutter-ui 0.1.0__tar.gz → 0.1.1__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.
- {pyflutter_ui-0.1.0 → pyflutter_ui-0.1.1}/PKG-INFO +2 -2
- pyflutter_ui-0.1.1/main.py +30 -0
- {pyflutter_ui-0.1.0 → pyflutter_ui-0.1.1}/new-export_app.sh +2 -2
- {pyflutter_ui-0.1.0 → pyflutter_ui-0.1.1}/pyflutter_ui/config_app.py +9 -5
- {pyflutter_ui-0.1.0 → pyflutter_ui-0.1.1}/pyproject.toml +2 -2
- {pyflutter_ui-0.1.0 → pyflutter_ui-0.1.1}/uv.lock +5 -5
- pyflutter_ui-0.1.0/main.py +0 -6
- {pyflutter_ui-0.1.0 → pyflutter_ui-0.1.1}/.python-version +0 -0
- {pyflutter_ui-0.1.0 → pyflutter_ui-0.1.1}/README.md +0 -0
- {pyflutter_ui-0.1.0 → pyflutter_ui-0.1.1}/local_build/linux.sh +0 -0
- {pyflutter_ui-0.1.0 → pyflutter_ui-0.1.1}/local_build/send.sh +0 -0
- {pyflutter_ui-0.1.0 → pyflutter_ui-0.1.1}/pyflutter_ui/__init__.py +0 -0
- {pyflutter_ui-0.1.0 → pyflutter_ui-0.1.1}/pyflutter_ui/app.py +0 -0
- {pyflutter_ui-0.1.0 → pyflutter_ui-0.1.1}/pyflutter_ui/file_picker.py +0 -0
- {pyflutter_ui-0.1.0 → pyflutter_ui-0.1.1}/pyflutter_ui/navigator.py +0 -0
- {pyflutter_ui-0.1.0 → pyflutter_ui-0.1.1}/pyflutter_ui/scheduler.py +0 -0
- {pyflutter_ui-0.1.0 → pyflutter_ui-0.1.1}/pyflutter_ui/system_theme.py +0 -0
- {pyflutter_ui-0.1.0 → pyflutter_ui-0.1.1}/pyflutter_ui/table_widget.py +0 -0
- {pyflutter_ui-0.1.0 → pyflutter_ui-0.1.1}/pyflutter_ui/theme.py +0 -0
- {pyflutter_ui-0.1.0 → pyflutter_ui-0.1.1}/pyflutter_ui/ui/__init__.py +0 -0
- {pyflutter_ui-0.1.0 → pyflutter_ui-0.1.1}/pyflutter_ui/ui/buttons.py +0 -0
- {pyflutter_ui-0.1.0 → pyflutter_ui-0.1.1}/pyflutter_ui/ui/container.py +0 -0
- {pyflutter_ui-0.1.0 → pyflutter_ui-0.1.1}/pyflutter_ui/ui/core.py +0 -0
- {pyflutter_ui-0.1.0 → pyflutter_ui-0.1.1}/pyflutter_ui/ui/list_builder.py +0 -0
- {pyflutter_ui-0.1.0 → pyflutter_ui-0.1.1}/pyflutter_ui/ui/progress.py +0 -0
- {pyflutter_ui-0.1.0 → pyflutter_ui-0.1.1}/pyflutter_ui/ui/tables.py +0 -0
- {pyflutter_ui-0.1.0 → pyflutter_ui-0.1.1}/pyflutter_ui/ui/widgets.py +0 -0
- {pyflutter_ui-0.1.0 → pyflutter_ui-0.1.1}/rm_pycache.sh +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: pyflutter_ui
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: UI baseada em Tk
|
|
5
5
|
Requires-Python: >=3.12
|
|
6
|
-
Requires-Dist: table-stream>=0.2.
|
|
6
|
+
Requires-Dist: table-stream>=0.2.10
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
8
8
|
|
|
9
9
|
# pyflutter_ui
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
from pyflutter_ui import (
|
|
2
|
+
TkMaterialApp,
|
|
3
|
+
AppConfigNotifier,
|
|
4
|
+
PageApp,
|
|
5
|
+
Scaffold,
|
|
6
|
+
Column,
|
|
7
|
+
Text,
|
|
8
|
+
run_app,
|
|
9
|
+
)
|
|
10
|
+
from pyflutter_ui.ui.core import BuildContext, FlutterWidget, GlobalKey
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class PageTeste(PageApp):
|
|
14
|
+
|
|
15
|
+
def __init__(self, key: GlobalKey | None = None, *, name: str = "My App") -> None:
|
|
16
|
+
super().__init__(key, name=name)
|
|
17
|
+
|
|
18
|
+
def build(self, context: BuildContext) -> FlutterWidget:
|
|
19
|
+
return Scaffold(Column([Text("Página de teste...")]))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def main():
|
|
23
|
+
|
|
24
|
+
app = TkMaterialApp(PageTeste())
|
|
25
|
+
# app.register_notifier(AppConfigNotifier.create())
|
|
26
|
+
run_app(app)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
if __name__ == "__main__":
|
|
30
|
+
main()
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
THIS=$0
|
|
4
4
|
DIR_ROOT_PROJ=$(dirname $(readlink -f "$THIS"))
|
|
5
5
|
APPNAME='pyflutter_ui'
|
|
6
|
-
PREFIX_OUTDIR="Documentos/PROMPTS/${APPNAME}"
|
|
6
|
+
PREFIX_OUTDIR="Documentos/PROMPTS/Codigo/${APPNAME}"
|
|
7
7
|
|
|
8
8
|
OUTPUT_DIR="${HOME}/${PREFIX_OUTDIR}"
|
|
9
9
|
DIR_APP="${DIR_ROOT_PROJ}/pyflutter_ui"
|
|
10
10
|
|
|
11
11
|
# 1. Declaração do Mapa: [Diretório de Origem]="Arquivo de Saída"
|
|
12
12
|
declare -A MODULOS=(
|
|
13
|
-
["${DIR_APP}"]="${OUTPUT_DIR}/pyflutter_ui.
|
|
13
|
+
["${DIR_APP}"]="${OUTPUT_DIR}/pyflutter_ui.txt"
|
|
14
14
|
)
|
|
15
15
|
|
|
16
16
|
function start(){
|
|
@@ -5,7 +5,8 @@ from table_stream import (
|
|
|
5
5
|
File,
|
|
6
6
|
Directory,
|
|
7
7
|
UserFileSystem,
|
|
8
|
-
|
|
8
|
+
JsonData,
|
|
9
|
+
JsonDocument,
|
|
9
10
|
HashMapDict,
|
|
10
11
|
HashMap,
|
|
11
12
|
ArrayList,
|
|
@@ -87,8 +88,10 @@ class FactoryMapConfig(object):
|
|
|
87
88
|
return self._conf
|
|
88
89
|
|
|
89
90
|
def create_from_file(self, file_json: File) -> MapConfig:
|
|
90
|
-
|
|
91
|
-
|
|
91
|
+
json_doc = JsonDocument()
|
|
92
|
+
json_data_value: JsonData = json_doc.load_file(file_json)
|
|
93
|
+
|
|
94
|
+
map_data = json_data_value.to_dict()
|
|
92
95
|
return self.create_from_dict(HashMapDict(map_data))
|
|
93
96
|
|
|
94
97
|
|
|
@@ -160,8 +163,9 @@ class AppConfigNotifier(ValueNotifier[MapConfig]):
|
|
|
160
163
|
return final
|
|
161
164
|
|
|
162
165
|
def save_config(self):
|
|
163
|
-
|
|
164
|
-
|
|
166
|
+
# json_doc = JsonDocument()
|
|
167
|
+
data_value = JsonData.from_dict(self.get_dict_config())
|
|
168
|
+
data_value.to_file_json(self.get_file_config())
|
|
165
169
|
print(f"Configurações salvas em ... {self.get_file_config().absolute()}")
|
|
166
170
|
|
|
167
171
|
def notify_listeners(self) -> None:
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "pyflutter_ui"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.1"
|
|
4
4
|
description = "UI baseada em Tk"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.12"
|
|
7
7
|
|
|
8
8
|
dependencies = [
|
|
9
|
-
"table-stream>=0.2.
|
|
9
|
+
"table-stream>=0.2.10",
|
|
10
10
|
]
|
|
11
11
|
|
|
12
12
|
[dependency-groups]
|
|
@@ -619,7 +619,7 @@ wheels = [
|
|
|
619
619
|
|
|
620
620
|
[[package]]
|
|
621
621
|
name = "pyflutter-ui"
|
|
622
|
-
version = "0.1.
|
|
622
|
+
version = "0.1.1"
|
|
623
623
|
source = { editable = "." }
|
|
624
624
|
dependencies = [
|
|
625
625
|
{ name = "table-stream" },
|
|
@@ -633,7 +633,7 @@ dev = [
|
|
|
633
633
|
]
|
|
634
634
|
|
|
635
635
|
[package.metadata]
|
|
636
|
-
requires-dist = [{ name = "table-stream", specifier = ">=0.2.
|
|
636
|
+
requires-dist = [{ name = "table-stream", specifier = ">=0.2.10" }]
|
|
637
637
|
|
|
638
638
|
[package.metadata.requires-dev]
|
|
639
639
|
dev = [
|
|
@@ -759,15 +759,15 @@ wheels = [
|
|
|
759
759
|
|
|
760
760
|
[[package]]
|
|
761
761
|
name = "table-stream"
|
|
762
|
-
version = "0.2.
|
|
762
|
+
version = "0.2.10"
|
|
763
763
|
source = { registry = "https://pypi.org/simple" }
|
|
764
764
|
dependencies = [
|
|
765
765
|
{ name = "openpyxl" },
|
|
766
766
|
{ name = "pandas" },
|
|
767
767
|
]
|
|
768
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
768
|
+
sdist = { url = "https://files.pythonhosted.org/packages/98/b1/747eb569ff04e74e2c69cbbda005e466d8d1dc1a196bd0d68ac93256fc3e/table_stream-0.2.10.tar.gz", hash = "sha256:3f8d1d1cbd54d7f09e9fcef8d64e3b0cbfa215f79f3b1d24b3a41c64926cadab", size = 23460, upload-time = "2026-11-29T02:04:46.876Z" }
|
|
769
769
|
wheels = [
|
|
770
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
770
|
+
{ url = "https://files.pythonhosted.org/packages/aa/04/6c28ca338c67068c5b3d46610a89a4a42b007356f34b45ec357f5e03791b/table_stream-0.2.10-py3-none-any.whl", hash = "sha256:c7535a8b828103295d53b8af2a90bc4ee2291c9e04f7ec52bc46782c984a3356", size = 23474, upload-time = "2026-11-29T02:04:45.664Z" },
|
|
771
771
|
]
|
|
772
772
|
|
|
773
773
|
[[package]]
|
pyflutter_ui-0.1.0/main.py
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|