Continued Colorization, pushed it to utils and colorized other helper scripts

This commit is contained in:
Driven-Element
2025-08-24 13:46:20 -04:00
parent 615fb77891
commit bdf3d4b9ec
5 changed files with 105 additions and 91 deletions
+2 -1
View File
@@ -16,6 +16,7 @@ import pandas as pd
import requests
import os
import json
import utils.colortext as ct
def aggregateHashes(executions_json) -> pd.DataFrame:
@@ -27,7 +28,7 @@ def aggregateHashes(executions_json) -> pd.DataFrame:
if df.empty:
return df
print(df)
print(color_text(df,"green"))
# Aggregate by sha256, deduplicate lists, and preserve order
agg_df = df.groupby("sha256").agg(lambda x: list(dict.fromkeys(x))).reset_index()