queryguard-cli 0.1.0__tar.gz → 0.2.0__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: queryguard-cli
3
- Version: 0.1.0
3
+ Version: 0.2.0
4
4
  Summary: A BigQuery Cost Analysis CLI Tool
5
5
  License-File: LICENSE
6
6
  Keywords: bigquery,gcp,cost-optimization,finops,cli
@@ -27,6 +27,7 @@ Description-Content-Type: text/markdown
27
27
 
28
28
  **The Forensic Auditor for your BigQuery Bill.**
29
29
 
30
+ [![CI](https://github.com/mark-de-haan/query-guard-cli/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/mark-de-haan/query-guard-cli/actions/workflows/test.yml)
30
31
  [![Python 3.12+](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.python.org/downloads/)
31
32
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
32
33
  [![Code Style: Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
@@ -37,6 +38,10 @@ Stop guessing who spent the budget. **Know.**
37
38
 
38
39
  ---
39
40
 
41
+ ![demo](demo.gif)
42
+
43
+ ---
44
+
40
45
  ## ⚡ Features
41
46
 
42
47
  * **🌍 Global Auto-Discovery**: Automatically scans your project to find active regions and queries them in parallel. No more guessing if data is in `us-central1` or `europe-west3`.
@@ -2,6 +2,7 @@
2
2
 
3
3
  **The Forensic Auditor for your BigQuery Bill.**
4
4
 
5
+ [![CI](https://github.com/mark-de-haan/query-guard-cli/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/mark-de-haan/query-guard-cli/actions/workflows/test.yml)
5
6
  [![Python 3.12+](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.python.org/downloads/)
6
7
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
8
  [![Code Style: Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
@@ -12,6 +13,10 @@ Stop guessing who spent the budget. **Know.**
12
13
 
13
14
  ---
14
15
 
16
+ ![demo](demo.gif)
17
+
18
+ ---
19
+
15
20
  ## ⚡ Features
16
21
 
17
22
  * **🌍 Global Auto-Discovery**: Automatically scans your project to find active regions and queries them in parallel. No more guessing if data is in `us-central1` or `europe-west3`.
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "queryguard-cli"
3
- version = "0.1.0"
3
+ version = "0.2.0"
4
4
  description = "A BigQuery Cost Analysis CLI Tool"
5
5
  authors = ["Mark de Haan <markdehaan90@gmail.com>"]
6
6
  readme = "README.md"
@@ -29,4 +29,4 @@ bqg = "queryguard.main:app"
29
29
 
30
30
  [build-system]
31
31
  requires = ["poetry-core"]
32
- build-backend = "poetry.core.masonry.api"
32
+ build-backend = "poetry.core.masonry.api"
@@ -64,4 +64,8 @@ class ForensicAuditor:
64
64
  if bytes_billed > (100 * 1024**3):
65
65
  risks.append("HEAVY SCAN")
66
66
 
67
- return risks
67
+ # 4. FORCE_NO_CACHE
68
+ if "FORCE_NO_CACHE" in sql.upper():
69
+ risks.append("CACHE BYPASS")
70
+
71
+ return risks
File without changes