#!/usr/bin/env python3 """ Investor Pitch Deck Generator Creates HTML presentation from metrics and financial data Author: Alexa Amundson Copyright: BlackRoad OS, Inc. """ import json from datetime import datetime def load_all_data(): """Load all necessary data files""" data = {} files = { 'kpis': '../kpis.json', 'history': '../complete_history.json', 'financial': 'revenue_projections.json', 'investor': 'investor_deck_data.json' } for key, path in files.items(): try: with open(path, 'r') as f: data[key] = json.load(f) except FileNotFoundError: print(f"ā ļø {path} not found") data[key] = {} return data def generate_pitch_deck_html(data): """Generate complete pitch deck as HTML presentation""" kpis = data.get('kpis', {}).get('data', {}) history = data.get('history', {}).get('data', {}) financial = data.get('financial', {}).get('data', {}) investor = data.get('investor', {}).get('slide_data', {}) html = """