agi-gui 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.
Files changed (34) hide show
  1. agi_gui-0.1.0/LICENSE +22 -0
  2. agi_gui-0.1.0/MANIFEST.in +8 -0
  3. agi_gui-0.1.0/PKG-INFO +74 -0
  4. agi_gui-0.1.0/README.md +31 -0
  5. agi_gui-0.1.0/pyproject.toml +115 -0
  6. agi_gui-0.1.0/resources/.agilab/__init__.py +0 -0
  7. agi_gui-0.1.0/resources/.agilab/agi_logo.png +0 -0
  8. agi_gui-0.1.0/resources/.agilab/code_editor.scss +9 -0
  9. agi_gui-0.1.0/resources/.agilab/custom_buttons.json +105 -0
  10. agi_gui-0.1.0/resources/.agilab/first_page.css +73 -0
  11. agi_gui-0.1.0/resources/.agilab/help/__init__.py +0 -0
  12. agi_gui-0.1.0/resources/.agilab/help/cluster-help.html +464 -0
  13. agi_gui-0.1.0/resources/.agilab/help/edit_help.html +561 -0
  14. agi_gui-0.1.0/resources/.agilab/help/execute_help.html +490 -0
  15. agi_gui-0.1.0/resources/.agilab/help/experiment_help.html +530 -0
  16. agi_gui-0.1.0/resources/.agilab/help/views_help.html +225 -0
  17. agi_gui-0.1.0/resources/.agilab/info_bar.json +25 -0
  18. agi_gui-0.1.0/setup.cfg +4 -0
  19. agi_gui-0.1.0/src/agi_gui/AGILAB.py +544 -0
  20. agi_gui-0.1.0/src/agi_gui/__init__.py +0 -0
  21. agi_gui-0.1.0/src/agi_gui/agi_copilot.py +33 -0
  22. agi_gui-0.1.0/src/agi_gui/lab_run.py +63 -0
  23. agi_gui-0.1.0/src/agi_gui/pagelib.py +1116 -0
  24. agi_gui-0.1.0/src/agi_gui/pages/__init__.py +1 -0
  25. agi_gui-0.1.0/src/agi_gui/pages//342/226/266/357/270/217 EDIT.py" +1621 -0
  26. agi_gui-0.1.0/src/agi_gui/pages//342/226/266/357/270/217 EXECUTE.py" +843 -0
  27. agi_gui-0.1.0/src/agi_gui/pages//342/226/266/357/270/217 EXPERIMENT.py" +656 -0
  28. agi_gui-0.1.0/src/agi_gui/pages//342/226/266/357/270/217 VIEW.py" +185 -0
  29. agi_gui-0.1.0/src/agi_gui.egg-info/PKG-INFO +74 -0
  30. agi_gui-0.1.0/src/agi_gui.egg-info/SOURCES.txt +32 -0
  31. agi_gui-0.1.0/src/agi_gui.egg-info/dependency_links.txt +1 -0
  32. agi_gui-0.1.0/src/agi_gui.egg-info/entry_points.txt +2 -0
  33. agi_gui-0.1.0/src/agi_gui.egg-info/requires.txt +25 -0
  34. agi_gui-0.1.0/src/agi_gui.egg-info/top_level.txt +1 -0
agi_gui-0.1.0/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2025, Jean-Pierre Morard, THALES SIX GTS France SAS
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
7
+ following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
10
+ disclaimer.
11
+ 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following
12
+ disclaimer in the documentation and/or other materials provided with the distribution.
13
+ 3. Neither the name of Jean-Pierre MORARD nor the names of its contributors, or THALES SIX GTS France SAS, may be used
14
+ to endorse or promote products derived from this software without specific prior written permission.
15
+
16
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
17
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
19
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
20
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
21
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
22
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,8 @@
1
+ # Include top-level files
2
+ include README.md
3
+ include LICENSE
4
+ include pyproject.toml
5
+ include MANIFEST.in
6
+
7
+ # Recursively include everything in your resources directory (if needed)
8
+ recursive-include resources/.agilab *
agi_gui-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,74 @@
1
+ Metadata-Version: 2.2
2
+ Name: agi-gui
3
+ Version: 0.1.0
4
+ Summary: AGI GUI
5
+ Author-email: Jean-Pierre Morard <focus@thalesgroup.com>
6
+ Keywords: jupyter,mlflow,paramiko,asyncio,dask,rapids,streamlit,distributed,cython,cluster,dataframe,dataset,loadbalancing,genai,copilot,agi,pycharm,datascience
7
+ Classifier: Development Status :: 2 - Pre-Alpha
8
+ Classifier: Intended Audience :: Developers
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Python :: 3.12
11
+ Classifier: License :: OSI Approved :: BSD License
12
+ Classifier: Operating System :: MacOS
13
+ Classifier: Operating System :: Microsoft :: Windows
14
+ Classifier: Operating System :: POSIX :: Linux
15
+ Requires-Python: ==3.12.*
16
+ Description-Content-Type: text/markdown
17
+ License-File: LICENSE
18
+ Requires-Dist: agi-core
19
+ Requires-Dist: astor
20
+ Requires-Dist: fastparquet
21
+ Requires-Dist: geojson
22
+ Requires-Dist: humanize
23
+ Requires-Dist: jupyter-ai[all]
24
+ Requires-Dist: keras
25
+ Requires-Dist: matplotlib
26
+ Requires-Dist: mlflow
27
+ Requires-Dist: numba
28
+ Requires-Dist: openai
29
+ Requires-Dist: paramiko
30
+ Requires-Dist: pathspec
31
+ Requires-Dist: plotly
32
+ Requires-Dist: polars
33
+ Requires-Dist: py7zr
34
+ Requires-Dist: seaborn
35
+ Requires-Dist: scp
36
+ Requires-Dist: streamlit
37
+ Requires-Dist: streamlit-modal
38
+ Requires-Dist: streamlit-pandas-profiling
39
+ Requires-Dist: streamlit_code_editor
40
+ Requires-Dist: streamlit_extras
41
+ Requires-Dist: ydata
42
+ Requires-Dist: ydata-profiling
43
+
44
+ AGI-LAB
45
+ =========
46
+
47
+ | Version Status |
48
+ |------------------------------------------------------------------------------------------------|
49
+ | [![PyPI version](https://img.shields.io/pypi/v/agi-lab.svg)](https://pypi.org/project/agi-lab) |
50
+
51
+ Agi is a framework to accelerate python code by using Dask, Cython and Processing Pools. See
52
+ documentation_ for more information.
53
+
54
+
55
+ LICENSE
56
+ -------
57
+
58
+ New BSD. See `License File <https://github.com/ThalesGroup/agilab/blob/main/LICENSE>`__.
59
+
60
+
61
+ Installation
62
+ -------
63
+ see ../README.md
64
+
65
+
66
+ Execution
67
+ ---------
68
+ cd src/fwk/gui
69
+ uv run streamlit run src/agi_lab/AGILab.py
70
+
71
+
72
+ support
73
+ -------
74
+ email: focus@thalesgroup.com
@@ -0,0 +1,31 @@
1
+ AGI-LAB
2
+ =========
3
+
4
+ | Version Status |
5
+ |------------------------------------------------------------------------------------------------|
6
+ | [![PyPI version](https://img.shields.io/pypi/v/agi-lab.svg)](https://pypi.org/project/agi-lab) |
7
+
8
+ Agi is a framework to accelerate python code by using Dask, Cython and Processing Pools. See
9
+ documentation_ for more information.
10
+
11
+
12
+ LICENSE
13
+ -------
14
+
15
+ New BSD. See `License File <https://github.com/ThalesGroup/agilab/blob/main/LICENSE>`__.
16
+
17
+
18
+ Installation
19
+ -------
20
+ see ../README.md
21
+
22
+
23
+ Execution
24
+ ---------
25
+ cd src/fwk/gui
26
+ uv run streamlit run src/agi_lab/AGILab.py
27
+
28
+
29
+ support
30
+ -------
31
+ email: focus@thalesgroup.com
@@ -0,0 +1,115 @@
1
+ [project]
2
+ name = "agi-gui"
3
+ description = "AGI GUI"
4
+ version = "0.1.0"
5
+ requires-python = "==3.12.*"
6
+ readme = "README.md"
7
+ authors = [
8
+ { name = "Jean-Pierre Morard", email = "focus@thalesgroup.com" },
9
+ ]
10
+ classifiers = [
11
+ "Development Status :: 2 - Pre-Alpha",
12
+ "Intended Audience :: Developers",
13
+ "Programming Language :: Python :: 3",
14
+ "Programming Language :: Python :: 3.12",
15
+ "License :: OSI Approved :: BSD License",
16
+ "Operating System :: MacOS",
17
+ "Operating System :: Microsoft :: Windows",
18
+ "Operating System :: POSIX :: Linux",
19
+ ]
20
+ keywords = [
21
+ "jupyter",
22
+ "mlflow",
23
+ "paramiko",
24
+ "asyncio",
25
+ "dask",
26
+ "rapids",
27
+ "streamlit",
28
+ "distributed",
29
+ "cython",
30
+ "cluster",
31
+ "dataframe",
32
+ "dataset",
33
+ "loadbalancing",
34
+ "genai",
35
+ "copilot",
36
+ "agi",
37
+ "pycharm",
38
+ "datascience",
39
+ ]
40
+ dependencies = [
41
+ "agi-core",
42
+ "astor",
43
+ "fastparquet",
44
+ "geojson",
45
+ "humanize",
46
+ "jupyter-ai[all]",
47
+ "keras",
48
+ "matplotlib",
49
+ "mlflow",
50
+ "numba",
51
+ "openai",
52
+ "paramiko",
53
+ "pathspec",
54
+ "plotly",
55
+ "polars",
56
+ "py7zr",
57
+ "seaborn",
58
+ "scp",
59
+ "streamlit",
60
+ "streamlit-modal",
61
+ "streamlit-pandas-profiling",
62
+ "streamlit_code_editor",
63
+ "streamlit_extras",
64
+ "ydata",
65
+ "ydata-profiling",
66
+ ]
67
+
68
+ [project.scripts]
69
+ agilab = "agi_lab.lab_run:main"
70
+
71
+ [dependency-groups]
72
+ dev = [
73
+ "black",
74
+ "pytest",
75
+ "licensecheck",
76
+ ]
77
+
78
+ [build-system]
79
+ requires = [
80
+ "setuptools",
81
+ "wheel",
82
+ ]
83
+ build-backend = "setuptools.build_meta"
84
+
85
+ [tool.setuptools]
86
+ include-package-data = true
87
+
88
+ [tool.setuptools.package-data]
89
+ agi_lab = [
90
+ "resources/.agilab/*/*",
91
+ ]
92
+
93
+ [tool.uv]
94
+ default-groups = [
95
+ "dev",
96
+ ]
97
+
98
+ [tool.uv.sources.agi-env]
99
+ path = "/home/pcm/agilab/src/fwk/env"
100
+ editable = true
101
+
102
+ [tool.uv.sources.agi-core]
103
+ path = "/home/pcm/agilab/src/fwk/core"
104
+ editable = true
105
+
106
+ [tool.mypy]
107
+ mypy_path = [
108
+ "stubs",
109
+ ]
110
+ disallow_untyped_defs = false
111
+ ignore_missing_imports = true
112
+
113
+ [tool.pyment]
114
+ source_dir = "src"
115
+ format = "google"
File without changes
@@ -0,0 +1,9 @@
1
+ font-weight: 600;
2
+ &.streamlit_code-editor .ace-streamlit-dark.ace_editor {
3
+ background-color: #111827;
4
+ color: rgb(255, 255, 255);
5
+ }
6
+ &.streamlit_code-editor .ace-streamlit-light.ace_editor {
7
+ background-color: #eeeeee;
8
+ color: rgb(0, 0, 0);
9
+ }
@@ -0,0 +1,105 @@
1
+ [
2
+ {
3
+ "name": "Copy",
4
+ "feather": "Copy",
5
+ "hasText": true,
6
+ "alwaysOn": true,
7
+ "commands": [
8
+ "copyAll",
9
+ [
10
+ "infoMessage",
11
+ {
12
+ "text": "Copied to clipboard!",
13
+ "timeout": 2500,
14
+ "classToggle": "show"
15
+ }
16
+ ]
17
+ ],
18
+ "style": {
19
+ "top": "-0.25rem",
20
+ "right": "0.4rem"
21
+ }
22
+ },
23
+ {
24
+ "name": "Collapse",
25
+ "feather": "Minimize2",
26
+ "hasText": true,
27
+ "commands": [
28
+ "selectall",
29
+ "toggleSplitSelectionIntoLines",
30
+ "gotolinestart",
31
+ "gotolinestart",
32
+ "backspace"
33
+ ],
34
+ "style": {
35
+ "bottom": "0.4rem",
36
+ "right": "7.4rem"
37
+ }
38
+ },
39
+ {
40
+ "name": "Save",
41
+ "primary": true,
42
+ "hasText": true,
43
+ "showWithIcon": true,
44
+ "commands": [
45
+ "save-state",
46
+ [
47
+ "response",
48
+ "save"
49
+ ]
50
+ ],
51
+ "style": {
52
+ "bottom": "0.4rem",
53
+ "right": "21.4rem"
54
+ }
55
+ },
56
+ {
57
+ "name": "Run",
58
+ "primary": true,
59
+ "hasText": true,
60
+ "showWithIcon": true,
61
+ "commands": [
62
+ "run-state",
63
+ [
64
+ "response",
65
+ "run"
66
+ ]
67
+ ],
68
+ "style": {
69
+ "bottom": "0.4rem",
70
+ "right": "35.4rem"
71
+ }
72
+ },
73
+ {
74
+ "name": "Next",
75
+ "hasText": true,
76
+ "showWithIcon": true,
77
+ "commands": [
78
+ "save-state",
79
+ [
80
+ "response",
81
+ "next"
82
+ ]
83
+ ],
84
+ "style": {
85
+ "bottom": "0.4rem",
86
+ "right": "28.4rem"
87
+ }
88
+ },
89
+ {
90
+ "name": "Remove",
91
+ "hasText": true,
92
+ "showWithIcon": true,
93
+ "commands": [
94
+ "save-state",
95
+ [
96
+ "response",
97
+ "remove"
98
+ ]
99
+ ],
100
+ "style": {
101
+ "bottom": "0.4rem",
102
+ "right": "14.4rem"
103
+ }
104
+ }
105
+ ]
@@ -0,0 +1,73 @@
1
+ /* assets/custom.css */
2
+
3
+ /* Set the background color for the entire page */
4
+ .reportview-container {
5
+ background-color: white;
6
+ }
7
+
8
+ /* Set the background color for the sidebar */
9
+ .sidebar .sidebar-content {
10
+ background-color: white;
11
+ }
12
+
13
+ /* Header styling */
14
+ .header {
15
+ background-color: #1E90FF;
16
+ padding: 40px 20px;
17
+ text-align: left;
18
+ }
19
+
20
+ .header h1 {
21
+ color: white;
22
+ font-family: 'Helvetica', sans-serif;
23
+ font-weight: bold;
24
+ font-size: 48px;
25
+ margin-bottom: 10px;
26
+ }
27
+
28
+ /* Footer styling */
29
+ .footer {
30
+ position: fixed;
31
+ left: 0;
32
+ bottom: 0;
33
+ width: 100%;
34
+ background-color: #1E90FF;
35
+ color: white;
36
+ text-align: center;
37
+ padding: 10px 0;
38
+ font-family: 'Helvetica', sans-serif;
39
+ font-size: 14px;
40
+ }
41
+
42
+ /* Hide Streamlit's default footer */
43
+ footer {
44
+ visibility: hidden;
45
+ }
46
+
47
+ /* UVP highlighting style */
48
+ .uvp-highlight {
49
+ background-color: #f0f8ff;
50
+ color: #333333;
51
+ padding: 20px;
52
+ border-left: 5px solid #1E90FF;
53
+ border-radius: 5px;
54
+ margin-top: 20px;
55
+ margin-bottom: 20px;
56
+ font-size: 18px;
57
+ line-height: 1.6;
58
+ }
59
+
60
+ .uvp-highlight ul {
61
+ list-style-type: disc;
62
+ margin-left: 20px;
63
+ }
64
+
65
+ .uvp-highlight strong {
66
+ color: #1E90FF;
67
+ }
68
+
69
+ /* Limit the main container width */
70
+ .block-container {
71
+ max-width: 800px;
72
+ margin: 0 auto;
73
+ }
File without changes