cwicr-report-generator

Featured

Generate professional cost estimation reports from CWICR calculations. HTML, PDF, Excel outputs with charts and breakdowns.

Data & Documents 310 stars 79 forks Updated 2 weeks ago MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
83
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# CWICR Report Generator ## Overview Generate professional cost reports from CWICR calculations - executive summaries, detailed breakdowns, charts, and export to multiple formats. ## Python Implementation ```python import pandas as pd from typing import Dict, Any, List, Optional from dataclasses import dataclass, field from datetime import datetime from pathlib import Path import json @dataclass class ReportSection: """Report section content.""" title: str content: str chart_type: Optional[str] = None chart_data: Optional[Dict] = None @dataclass class CostReport: """Complete cost report.""" project_name: str generated_date: datetime total_cost: float currency: str sections: List[ReportSection] line_items: List[Dict] summary: Dict[str, Any] class CWICRReportGenerator: """Generate cost estimation reports.""" def __init__(self, project_name: str = "Project", currency: str = "USD"): self.project_name = project_name self.currency = currency self.sections: List[ReportSection] = [] self.line_items: List[Dict] = [] def add_summary(self, summary_data: Dict[str, float]): """Add executive summary section.""" content = f""" <div class="summary-box"> <h3>Cost Summary</h3> <table class="summary-table"> <tr><td>Labor</td><td class="amount">${summary_data.get('labor', 0):,.2f}</td></tr> <tr...

Details

Author
datadrivenconstruction
Repository
datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction
Created
7 months ago
Last Updated
2 weeks ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category