halib 0.2.34__tar.gz → 0.2.35__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.
- {halib-0.2.34 → halib-0.2.35}/PKG-INFO +2 -2
- {halib-0.2.34 → halib-0.2.35}/README.md +1 -1
- {halib-0.2.34 → halib-0.2.35}/halib/utils/plotly_op.py +34 -20
- {halib-0.2.34 → halib-0.2.35}/halib.egg-info/PKG-INFO +2 -2
- {halib-0.2.34 → halib-0.2.35}/setup.py +1 -1
- {halib-0.2.34 → halib-0.2.35}/.gitignore +0 -0
- {halib-0.2.34 → halib-0.2.35}/GDriveFolder.txt +0 -0
- {halib-0.2.34 → halib-0.2.35}/LICENSE.txt +0 -0
- {halib-0.2.34 → halib-0.2.35}/MANIFEST.in +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/__init__.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/common/__init__.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/common/common.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/common/rich_color.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/exp/__init__.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/exp/core/__init__.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/exp/core/base_config.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/exp/core/base_exp.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/exp/core/param_gen.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/exp/data/__init__.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/exp/data/dataclass_util.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/exp/data/dataset.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/exp/data/torchloader.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/exp/perf/__init__.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/exp/perf/flop_calc.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/exp/perf/gpu_mon.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/exp/perf/perfcalc.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/exp/perf/perfmetrics.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/exp/perf/perftb.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/exp/perf/profiler.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/exp/viz/__init__.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/exp/viz/plot.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/filetype/__init__.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/filetype/csvfile.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/filetype/ipynb.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/filetype/jsonfile.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/filetype/textfile.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/filetype/videofile.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/filetype/yamlfile.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/online/__init__.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/online/gdrive.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/online/gdrive_mkdir.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/online/projectmake.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/online/tele_noti.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/system/__init__.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/system/_list_pc.csv +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/system/cmd.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/system/filesys.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/system/path.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/utils/__init__.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/utils/dict.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/utils/list.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/utils/slack_op.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib/utils/wandb_op.py +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib.egg-info/SOURCES.txt +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib.egg-info/dependency_links.txt +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib.egg-info/requires.txt +0 -0
- {halib-0.2.34 → halib-0.2.35}/halib.egg-info/top_level.txt +0 -0
- {halib-0.2.34 → halib-0.2.35}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: halib
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.35
|
|
4
4
|
Summary: Small library for common tasks
|
|
5
5
|
Author: Hoang Van Ha
|
|
6
6
|
Author-email: hoangvanhauit@gmail.com
|
|
@@ -57,7 +57,7 @@ Dynamic: summary
|
|
|
57
57
|
|
|
58
58
|
## v0.2.x (Experiment & Core Updates)
|
|
59
59
|
|
|
60
|
-
### **v0.2.
|
|
60
|
+
### **v0.2.35**
|
|
61
61
|
|
|
62
62
|
- ✨ **New Feature:**: introduce `utils.PlotlyUtils` with parallel coordinates plot and data table support
|
|
63
63
|
|
|
@@ -109,25 +109,13 @@ class PlotlyUtils:
|
|
|
109
109
|
# 5. Prepare Table Display
|
|
110
110
|
# Clean up columns: Move exp_id to front, drop internal numeric_id
|
|
111
111
|
cols = ["exp_id"] + [c for c in df.columns if c not in ["exp_id", "numeric_id"]]
|
|
112
|
+
cols = [col for col in cols if col not in exclude_dims]
|
|
113
|
+
|
|
112
114
|
df_display = df[cols].copy()
|
|
113
115
|
df_display.insert(0, "Selection", '<button class="select-btn">Select</button>')
|
|
114
116
|
|
|
115
117
|
chart_html = fig.to_html(full_html=False, include_plotlyjs="cdn")
|
|
116
118
|
|
|
117
|
-
# Create a display copy with a 'Select' button column
|
|
118
|
-
df_display = df.copy()
|
|
119
|
-
df_display_cols = df_display.columns.tolist()
|
|
120
|
-
# move 'exp_id' to the front for better visibility
|
|
121
|
-
if "exp_id" in df_display_cols:
|
|
122
|
-
df_display_cols.insert(
|
|
123
|
-
0, df_display_cols.pop(df_display_cols.index("exp_id"))
|
|
124
|
-
)
|
|
125
|
-
df_display = df_display[df_display_cols]
|
|
126
|
-
# remove 'numeric_id' from display
|
|
127
|
-
if "numeric_id" in df_display.columns:
|
|
128
|
-
df_display = df_display.drop(columns=["numeric_id"])
|
|
129
|
-
df_display.insert(0, "Selection", '<button class="select-btn">Select</button>')
|
|
130
|
-
|
|
131
119
|
table_html = df_display.to_html(
|
|
132
120
|
classes="display nowrap", table_id="exp_table", index=False, escape=False
|
|
133
121
|
)
|
|
@@ -141,16 +129,42 @@ class PlotlyUtils:
|
|
|
141
129
|
<script type="text/javascript" charset="utf8" src="https://code.jquery.com/jquery-3.5.1.js"></script>
|
|
142
130
|
<script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/1.11.5/js/jquery.dataTables.js"></script>
|
|
143
131
|
<style>
|
|
144
|
-
body {{
|
|
145
|
-
|
|
132
|
+
body {{
|
|
133
|
+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
134
|
+
margin: 20px;
|
|
135
|
+
background-color: #f0f2f5;
|
|
136
|
+
}}
|
|
137
|
+
.container {{
|
|
138
|
+
background: white;
|
|
139
|
+
padding: 30px;
|
|
140
|
+
border-radius: 12px;
|
|
141
|
+
box-shadow: 0 4px 20px rgba(0,0,0,0.08);
|
|
142
|
+
}}
|
|
143
|
+
|
|
144
|
+
/* --- TABLE FONT SIZE FIX --- */
|
|
145
|
+
table.dataTable {{
|
|
146
|
+
font-size: 11px; /* Smaller overall text */
|
|
147
|
+
}}
|
|
148
|
+
table.dataTable thead th {{
|
|
149
|
+
background-color: #333;
|
|
150
|
+
color: white;
|
|
151
|
+
padding: 8px !important;
|
|
152
|
+
font-size: 12px;
|
|
153
|
+
}}
|
|
154
|
+
table.dataTable tbody td {{
|
|
155
|
+
padding: 4px 8px !important; /* Compact rows */
|
|
156
|
+
}}
|
|
157
|
+
|
|
146
158
|
#exp_table tbody tr:nth-child(even), #selected_table tbody tr:nth-child(even) {{ background-color: #f2f2f2; }}
|
|
147
159
|
#exp_table tbody tr:nth-child(odd), #selected_table tbody tr:nth-child(odd) {{ background-color: #ffffff; }}
|
|
148
160
|
#exp_table tbody tr:hover, #selected_table tbody tr:hover {{ background-color: #e0e0e0; }}
|
|
149
|
-
|
|
161
|
+
|
|
150
162
|
h2 {{ color: #2c3e50; border-bottom: 2px solid #eee; padding-bottom: 10px; margin-top: 40px; }}
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
.
|
|
163
|
+
|
|
164
|
+
/* Smaller buttons */
|
|
165
|
+
.select-btn {{ background-color: #28a745; color: white; border: none; padding: 3px 7px; cursor: pointer; border-radius: 4px; font-size: 10px; }}
|
|
166
|
+
.remove-btn {{ background-color: #dc3545; color: white; border: none; padding: 3px 7px; cursor: pointer; border-radius: 4px; font-size: 10px; }}
|
|
167
|
+
.clear-btn {{ background-color: #6c757d; color: white; border: none; padding: 8px 12px; cursor: pointer; border-radius: 4px; margin-bottom: 10px; font-size: 12px; }}
|
|
154
168
|
</style>
|
|
155
169
|
</head>
|
|
156
170
|
<body>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: halib
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.35
|
|
4
4
|
Summary: Small library for common tasks
|
|
5
5
|
Author: Hoang Van Ha
|
|
6
6
|
Author-email: hoangvanhauit@gmail.com
|
|
@@ -57,7 +57,7 @@ Dynamic: summary
|
|
|
57
57
|
|
|
58
58
|
## v0.2.x (Experiment & Core Updates)
|
|
59
59
|
|
|
60
|
-
### **v0.2.
|
|
60
|
+
### **v0.2.35**
|
|
61
61
|
|
|
62
62
|
- ✨ **New Feature:**: introduce `utils.PlotlyUtils` with parallel coordinates plot and data table support
|
|
63
63
|
|
|
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
|
|
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
|
|
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
|