aws-cost-calculator-cli 1.6.3__py3-none-any.whl → 2.0.0__py3-none-any.whl

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.

Potentially problematic release.


This version of aws-cost-calculator-cli might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aws-cost-calculator-cli
3
- Version: 1.6.3
3
+ Version: 2.0.0
4
4
  Summary: AWS Cost Calculator CLI - Calculate daily and annual AWS costs across multiple accounts
5
5
  Home-page: https://github.com/trilogy-group/aws-cost-calculator
6
6
  Author: Cost Optimization Team
@@ -229,6 +229,16 @@ cc setup-api
229
229
  # Enter your API secret when prompted (input will be hidden)
230
230
  ```
231
231
 
232
+ **CUR Configuration (for --resources flag):**
233
+
234
+ To use resource-level queries, configure CUR settings:
235
+ ```bash
236
+ cc setup-cur
237
+ # Enter: Database name, table name, S3 output location
238
+ ```
239
+
240
+ This saves configuration to `~/.config/cost-calculator/cur_config.json`
241
+
232
242
  Or set manually:
233
243
  ```bash
234
244
  export COST_API_SECRET="your-api-secret"
@@ -374,11 +384,13 @@ The `drill` command allows you to investigate cost changes at different levels o
374
384
  1. **Start broad:** `cc trends` → See EC2 costs up $1000
375
385
  2. **Drill by service:** `cc drill --service "EC2 - Other"` → See which accounts
376
386
  3. **Drill deeper:** `cc drill --service "EC2 - Other" --account 123` → See usage types
387
+ 4. **Resource-level:** `cc drill --service "EC2 - Other" --account 123 --resources` → See individual instance IDs
377
388
 
378
389
  **Features:**
379
390
  - **Week-over-week cost analysis**: Compare costs between consecutive weeks
380
391
  - **Month-over-month cost analysis**: Compare costs between consecutive months
381
392
  - **Drill-down analysis**: Analyze costs by service, account, or usage type
393
+ - **Resource-level analysis**: See individual resource IDs and costs using CUR data (NEW in v1.7.0)
382
394
  - **Pandas aggregations**: Time series analysis with sum, avg, std across all weeks
383
395
  - **Volatility detection**: Identify services with high cost variability and outliers
384
396
  - **Trend detection**: Auto-detect increasing/decreasing cost patterns
@@ -0,0 +1,15 @@
1
+ aws_cost_calculator_cli-2.0.0.dist-info/licenses/LICENSE,sha256=cYtmQZHNGGTXOtg3T7LHDRneleaH0dHXHfxFV3WR50Y,1079
2
+ cost_calculator/__init__.py,sha256=PJeIqvWh5AYJVrJxPPkI4pJnAt37rIjasrNS0I87kaM,52
3
+ cost_calculator/api_client.py,sha256=4ZI2XcGIN3FBeQqb7xOxQ91kCoeM43-rExiOELXoKBQ,2485
4
+ cost_calculator/cli.py,sha256=OxN0ZCVk1rZB1y1qGySSc0bSJYV7sdLlpz4ZhKrmt8o,76250
5
+ cost_calculator/cur.py,sha256=QaZ_nyDSw5_cti-h5Ho6eYLbqzY5TWoub24DpyzIiSs,9502
6
+ cost_calculator/drill.py,sha256=hGi-prLgZDvNMMICQc4fl3LenM7YaZ3To_Ei4LKwrdc,10543
7
+ cost_calculator/executor.py,sha256=yZTCUgJc1OpB892O3mq9ZA0Yekc7N-HvaW8xLFyrXjo,8681
8
+ cost_calculator/forensics.py,sha256=uhRo3I_zOeMEaBENHfgq65URga31W0Z4vzS2UN6VmTY,12819
9
+ cost_calculator/monthly.py,sha256=6k9F8S7djhX1wGV3-T1MZP7CvWbbfhSTEaddwCfVu5M,7932
10
+ cost_calculator/trends.py,sha256=k_s4ylBX50sqoiM_fwepi58HW01zz767FMJhQUPDznk,12246
11
+ aws_cost_calculator_cli-2.0.0.dist-info/METADATA,sha256=AH5JBVctCo41MMq0FIhejehxFj-A5LsN62hciwiqBHw,11978
12
+ aws_cost_calculator_cli-2.0.0.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
13
+ aws_cost_calculator_cli-2.0.0.dist-info/entry_points.txt,sha256=_5Qy4EcHbYVYrdgOu1E48faMHb9fLUl5VJ3djDHuJBo,47
14
+ aws_cost_calculator_cli-2.0.0.dist-info/top_level.txt,sha256=PRwGPPlNqASfyhGHDjSfyl4SXeE7GF3OVTu1tY1Uqyc,16
15
+ aws_cost_calculator_cli-2.0.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: setuptools (80.7.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -50,7 +50,8 @@ def call_lambda_api(endpoint, credentials, accounts, **kwargs):
50
50
  'monthly': 'https://6aueebodw6q4zdeu3aaexb6tle0fqhhr.lambda-url.us-east-1.on.aws/',
51
51
  'drill': 'https://3ncm2gzxrsyptrhud3ua3x5lju0akvsr.lambda-url.us-east-1.on.aws/',
52
52
  'analyze': 'https://y6npmidtxwzg62nrqzkbacfs5q0edwgs.lambda-url.us-east-1.on.aws/',
53
- 'profiles': 'https://64g7jq7sjygec2zmll5lsghrpi0txrzo.lambda-url.us-east-1.on.aws/'
53
+ 'profiles': 'https://64g7jq7sjygec2zmll5lsghrpi0txrzo.lambda-url.us-east-1.on.aws/',
54
+ 'forensics': 'https://gaekfzz7sc2hwn4mjyk64sieke0vadfo.lambda-url.us-east-1.on.aws/' # Will be populated after deployment
54
55
  }
55
56
 
56
57
  url = endpoint_urls.get(endpoint)