blackduck-heatmap-metrics 0.1.8__tar.gz → 0.1.10__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.
Files changed (25) hide show
  1. {blackduck_heatmap_metrics-0.1.8/blackduck_heatmap_metrics.egg-info → blackduck_heatmap_metrics-0.1.10}/PKG-INFO +11 -18
  2. {blackduck_heatmap_metrics-0.1.8 → blackduck_heatmap_metrics-0.1.10}/README.md +10 -17
  3. {blackduck_heatmap_metrics-0.1.8 → blackduck_heatmap_metrics-0.1.10/blackduck_heatmap_metrics.egg-info}/PKG-INFO +11 -18
  4. {blackduck_heatmap_metrics-0.1.8 → blackduck_heatmap_metrics-0.1.10}/blackduck_heatmap_metrics.egg-info/SOURCES.txt +0 -8
  5. {blackduck_heatmap_metrics-0.1.8 → blackduck_heatmap_metrics-0.1.10}/blackduck_metrics/__init__.py +3 -3
  6. {blackduck_heatmap_metrics-0.1.8 → blackduck_heatmap_metrics-0.1.10}/blackduck_metrics/analyzer.py +276 -31
  7. {blackduck_heatmap_metrics-0.1.8 → blackduck_heatmap_metrics-0.1.10}/blackduck_metrics/cli.py +20 -2
  8. {blackduck_heatmap_metrics-0.1.8 → blackduck_heatmap_metrics-0.1.10}/blackduck_metrics/templates/template.html +409 -85
  9. {blackduck_heatmap_metrics-0.1.8 → blackduck_heatmap_metrics-0.1.10}/blackduck_metrics/templates/template_simple.html +276 -82
  10. {blackduck_heatmap_metrics-0.1.8 → blackduck_heatmap_metrics-0.1.10}/pyproject.toml +1 -1
  11. blackduck_heatmap_metrics-0.1.8/.gitignore +0 -142
  12. blackduck_heatmap_metrics-0.1.8/INSTALL.md +0 -128
  13. blackduck_heatmap_metrics-0.1.8/install.ps1 +0 -160
  14. blackduck_heatmap_metrics-0.1.8/main.py +0 -545
  15. blackduck_heatmap_metrics-0.1.8/release.ps1 +0 -453
  16. blackduck_heatmap_metrics-0.1.8/requirements.txt +0 -4
  17. blackduck_heatmap_metrics-0.1.8/template.html +0 -1453
  18. blackduck_heatmap_metrics-0.1.8/template_simple.html +0 -814
  19. {blackduck_heatmap_metrics-0.1.8 → blackduck_heatmap_metrics-0.1.10}/MANIFEST.in +0 -0
  20. {blackduck_heatmap_metrics-0.1.8 → blackduck_heatmap_metrics-0.1.10}/blackduck_heatmap_metrics.egg-info/dependency_links.txt +0 -0
  21. {blackduck_heatmap_metrics-0.1.8 → blackduck_heatmap_metrics-0.1.10}/blackduck_heatmap_metrics.egg-info/entry_points.txt +0 -0
  22. {blackduck_heatmap_metrics-0.1.8 → blackduck_heatmap_metrics-0.1.10}/blackduck_heatmap_metrics.egg-info/requires.txt +0 -0
  23. {blackduck_heatmap_metrics-0.1.8 → blackduck_heatmap_metrics-0.1.10}/blackduck_heatmap_metrics.egg-info/top_level.txt +0 -0
  24. {blackduck_heatmap_metrics-0.1.8 → blackduck_heatmap_metrics-0.1.10}/setup.cfg +0 -0
  25. {blackduck_heatmap_metrics-0.1.8 → blackduck_heatmap_metrics-0.1.10}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: blackduck-heatmap-metrics
3
- Version: 0.1.8
3
+ Version: 0.1.10
4
4
  Summary: Black Duck scan heatmap metrics analyzer with interactive visualizations
5
5
  Home-page: https://github.com/yourusername/blackduck-heatmap-metrics
6
6
  Author: Your Name
@@ -118,7 +118,7 @@ generate_html_report(analysis, chart_data, "output_report.html")
118
118
 
119
119
  ```bash
120
120
  # Basic usage - generates report with default settings
121
- bdmetrics "C:\Users\JouniLehto\Downloads\heatmap-data.zip"
121
+ bdmetrics "C:\Users\Downloads\heatmap-data.zip"
122
122
 
123
123
  # Specify output file
124
124
  bdmetrics "path/to/data.zip" -o custom_report.html
@@ -127,12 +127,15 @@ bdmetrics "path/to/data.zip" -o custom_report.html
127
127
  # Only projects with 50+ scans will appear in trend charts
128
128
  bdmetrics "path/to/data.zip" --min-scans 50
129
129
 
130
+ # Filter data from a specific year onwards (excludes older data)
131
+ bdmetrics "path/to/data.zip" --start-year 2020
132
+
130
133
  # Skip detailed year+project combinations for faster processing and smaller files
131
134
  # Recommended for large datasets (reduces file size by ~36%)
132
135
  bdmetrics "path/to/data.zip" --skip-detailed
133
136
 
134
137
  # Combine options for optimal performance with large datasets
135
- bdmetrics "path/to/data.zip" --min-scans 100 --skip-detailed -o report.html
138
+ bdmetrics "path/to/data.zip" --min-scans 100 --skip-detailed --start-year 2020 -o report.html
136
139
 
137
140
  # Show version
138
141
  bdmetrics --version
@@ -147,24 +150,15 @@ For large datasets with thousands of projects:
147
150
 
148
151
  - Use `--min-scans` to filter out low-activity projects from trend charts (default: 10)
149
152
  - Use `--skip-detailed` to skip year+project combination charts (saves ~36% file size)
153
+ - Use `--start-year` to exclude historical data before a specific year (e.g., `--start-year 2020`)
150
154
  - Example: Dataset with 37,706 projects → 7,261 projects (--min-scans 100) → 282 MB vs 456 MB baseline
151
155
 
152
- ### Legacy Usage (if using main.py directly)
153
-
154
- ```bash
155
- python main.py "path/to/your/heatmap-data.zip"
156
- ```
157
-
158
- ### Example
159
-
160
- ```bash
161
- python main.py "heatmap-data.zip"
162
- ```
163
-
164
- This will:
156
+ Running the `bdmetrics` command will:
165
157
  1. Extract and read all CSV files from the zip archive
166
158
  2. Analyze Black Duck scan metrics
167
- 3. Generate an interactive HTML report as `report_YYYYMMDD_HHMMSS.html`
159
+ 3. Generate two interactive HTML reports:
160
+ - Full report with all filters: `report_YYYYMMDD_HHMMSS.html`
161
+ - Simple report with year filter only: `report_YYYYMMDD_HHMMSS_simple.html`
168
162
 
169
163
  ## CSV Data Format
170
164
 
@@ -260,7 +254,6 @@ blackduck_heatmap_metrics/
260
254
  │ └── templates/
261
255
  │ ├── template.html # Full report template (all filters)
262
256
  │ └── template_simple.html # Simple report template (year filter only)
263
- ├── main.py # Legacy entry point
264
257
  ├── template.html # Root template for development
265
258
  ├── template_simple.html # Root simple template for development
266
259
  ├── setup.py # Package installation script
@@ -85,7 +85,7 @@ generate_html_report(analysis, chart_data, "output_report.html")
85
85
 
86
86
  ```bash
87
87
  # Basic usage - generates report with default settings
88
- bdmetrics "C:\Users\JouniLehto\Downloads\heatmap-data.zip"
88
+ bdmetrics "C:\Users\Downloads\heatmap-data.zip"
89
89
 
90
90
  # Specify output file
91
91
  bdmetrics "path/to/data.zip" -o custom_report.html
@@ -94,12 +94,15 @@ bdmetrics "path/to/data.zip" -o custom_report.html
94
94
  # Only projects with 50+ scans will appear in trend charts
95
95
  bdmetrics "path/to/data.zip" --min-scans 50
96
96
 
97
+ # Filter data from a specific year onwards (excludes older data)
98
+ bdmetrics "path/to/data.zip" --start-year 2020
99
+
97
100
  # Skip detailed year+project combinations for faster processing and smaller files
98
101
  # Recommended for large datasets (reduces file size by ~36%)
99
102
  bdmetrics "path/to/data.zip" --skip-detailed
100
103
 
101
104
  # Combine options for optimal performance with large datasets
102
- bdmetrics "path/to/data.zip" --min-scans 100 --skip-detailed -o report.html
105
+ bdmetrics "path/to/data.zip" --min-scans 100 --skip-detailed --start-year 2020 -o report.html
103
106
 
104
107
  # Show version
105
108
  bdmetrics --version
@@ -114,24 +117,15 @@ For large datasets with thousands of projects:
114
117
 
115
118
  - Use `--min-scans` to filter out low-activity projects from trend charts (default: 10)
116
119
  - Use `--skip-detailed` to skip year+project combination charts (saves ~36% file size)
120
+ - Use `--start-year` to exclude historical data before a specific year (e.g., `--start-year 2020`)
117
121
  - Example: Dataset with 37,706 projects → 7,261 projects (--min-scans 100) → 282 MB vs 456 MB baseline
118
122
 
119
- ### Legacy Usage (if using main.py directly)
120
-
121
- ```bash
122
- python main.py "path/to/your/heatmap-data.zip"
123
- ```
124
-
125
- ### Example
126
-
127
- ```bash
128
- python main.py "heatmap-data.zip"
129
- ```
130
-
131
- This will:
123
+ Running the `bdmetrics` command will:
132
124
  1. Extract and read all CSV files from the zip archive
133
125
  2. Analyze Black Duck scan metrics
134
- 3. Generate an interactive HTML report as `report_YYYYMMDD_HHMMSS.html`
126
+ 3. Generate two interactive HTML reports:
127
+ - Full report with all filters: `report_YYYYMMDD_HHMMSS.html`
128
+ - Simple report with year filter only: `report_YYYYMMDD_HHMMSS_simple.html`
135
129
 
136
130
  ## CSV Data Format
137
131
 
@@ -227,7 +221,6 @@ blackduck_heatmap_metrics/
227
221
  │ └── templates/
228
222
  │ ├── template.html # Full report template (all filters)
229
223
  │ └── template_simple.html # Simple report template (year filter only)
230
- ├── main.py # Legacy entry point
231
224
  ├── template.html # Root template for development
232
225
  ├── template_simple.html # Root simple template for development
233
226
  ├── setup.py # Package installation script
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: blackduck-heatmap-metrics
3
- Version: 0.1.8
3
+ Version: 0.1.10
4
4
  Summary: Black Duck scan heatmap metrics analyzer with interactive visualizations
5
5
  Home-page: https://github.com/yourusername/blackduck-heatmap-metrics
6
6
  Author: Your Name
@@ -118,7 +118,7 @@ generate_html_report(analysis, chart_data, "output_report.html")
118
118
 
119
119
  ```bash
120
120
  # Basic usage - generates report with default settings
121
- bdmetrics "C:\Users\JouniLehto\Downloads\heatmap-data.zip"
121
+ bdmetrics "C:\Users\Downloads\heatmap-data.zip"
122
122
 
123
123
  # Specify output file
124
124
  bdmetrics "path/to/data.zip" -o custom_report.html
@@ -127,12 +127,15 @@ bdmetrics "path/to/data.zip" -o custom_report.html
127
127
  # Only projects with 50+ scans will appear in trend charts
128
128
  bdmetrics "path/to/data.zip" --min-scans 50
129
129
 
130
+ # Filter data from a specific year onwards (excludes older data)
131
+ bdmetrics "path/to/data.zip" --start-year 2020
132
+
130
133
  # Skip detailed year+project combinations for faster processing and smaller files
131
134
  # Recommended for large datasets (reduces file size by ~36%)
132
135
  bdmetrics "path/to/data.zip" --skip-detailed
133
136
 
134
137
  # Combine options for optimal performance with large datasets
135
- bdmetrics "path/to/data.zip" --min-scans 100 --skip-detailed -o report.html
138
+ bdmetrics "path/to/data.zip" --min-scans 100 --skip-detailed --start-year 2020 -o report.html
136
139
 
137
140
  # Show version
138
141
  bdmetrics --version
@@ -147,24 +150,15 @@ For large datasets with thousands of projects:
147
150
 
148
151
  - Use `--min-scans` to filter out low-activity projects from trend charts (default: 10)
149
152
  - Use `--skip-detailed` to skip year+project combination charts (saves ~36% file size)
153
+ - Use `--start-year` to exclude historical data before a specific year (e.g., `--start-year 2020`)
150
154
  - Example: Dataset with 37,706 projects → 7,261 projects (--min-scans 100) → 282 MB vs 456 MB baseline
151
155
 
152
- ### Legacy Usage (if using main.py directly)
153
-
154
- ```bash
155
- python main.py "path/to/your/heatmap-data.zip"
156
- ```
157
-
158
- ### Example
159
-
160
- ```bash
161
- python main.py "heatmap-data.zip"
162
- ```
163
-
164
- This will:
156
+ Running the `bdmetrics` command will:
165
157
  1. Extract and read all CSV files from the zip archive
166
158
  2. Analyze Black Duck scan metrics
167
- 3. Generate an interactive HTML report as `report_YYYYMMDD_HHMMSS.html`
159
+ 3. Generate two interactive HTML reports:
160
+ - Full report with all filters: `report_YYYYMMDD_HHMMSS.html`
161
+ - Simple report with year filter only: `report_YYYYMMDD_HHMMSS_simple.html`
168
162
 
169
163
  ## CSV Data Format
170
164
 
@@ -260,7 +254,6 @@ blackduck_heatmap_metrics/
260
254
  │ └── templates/
261
255
  │ ├── template.html # Full report template (all filters)
262
256
  │ └── template_simple.html # Simple report template (year filter only)
263
- ├── main.py # Legacy entry point
264
257
  ├── template.html # Root template for development
265
258
  ├── template_simple.html # Root simple template for development
266
259
  ├── setup.py # Package installation script
@@ -1,15 +1,7 @@
1
- .gitignore
2
- INSTALL.md
3
1
  MANIFEST.in
4
2
  README.md
5
- install.ps1
6
- main.py
7
3
  pyproject.toml
8
- release.ps1
9
- requirements.txt
10
4
  setup.py
11
- template.html
12
- template_simple.html
13
5
  blackduck_heatmap_metrics.egg-info/PKG-INFO
14
6
  blackduck_heatmap_metrics.egg-info/SOURCES.txt
15
7
  blackduck_heatmap_metrics.egg-info/dependency_links.txt
@@ -5,9 +5,9 @@ A tool for analyzing Black Duck scan metrics from CSV files in zip archives.
5
5
  Generates interactive HTML dashboards with time series analysis and filtering.
6
6
  """
7
7
 
8
- __version__ = "0.1.8"
9
- __author__ = "Your Name"
10
- __email__ = "your.email@example.com"
8
+ __version__ = "0.1.10"
9
+ __author__ = "Jouni Lehto"
10
+ __email__ = "lehto.jouni@gmail.com"
11
11
 
12
12
  from .analyzer import read_csv_from_zip, analyze_data, generate_chart_data, generate_html_report
13
13