suisa-convert-acr-v4.py aktualisiert
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
# Format ACRCloud CSV/XLSX reports (Radio Stadtfilter) in das SUISA‑Layout
|
||||
# Format ACRCloud CSV/XLSX reports (Radio Stadtfilter) in das SUISA Layout
|
||||
# mit korrekter Spaltenreihenfolge, automatischer Spaltenbreite,
|
||||
# Fonts/Ausrichtung und sauberem Zeitformat.
|
||||
# Usage: python format_radio_report.py <input.xlsx> [-o <output.xlsx>]
|
||||
@@ -84,7 +83,7 @@ def _build_dataframe(src: Path) -> pd.DataFrame:
|
||||
return df_new
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Excel‑Nachformatierung
|
||||
# Excel Nachformatierung
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
def _autofit_and_align(xlsx: Path) -> None:
|
||||
@@ -128,7 +127,7 @@ def format_report(input_path: Path, output_path: Path) -> None:
|
||||
print(f"Formatiertes Reporting gespeichert → {output_path}")
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# CLI‑Entry
|
||||
# CLI Entry
|
||||
# ---------------------------------------------------------------------------
|
||||
if __name__ == "__main__":
|
||||
parser = argparse.ArgumentParser(description="Format ACRCloud XLSX für SUISA")
|
||||
|
||||
Reference in New Issue
Block a user