Catch expensive cloud code before it ships detects costly patterns and estimates your monthly bill impact
Project description
deburger
Catch expensive cloud code before it ships. Static analysis for your cloud bill.
Install
pip install deburger
Examples
Scan your project:
deburger init --provider aws
deburger check .
Compare cost between branches:
deburger diff main..feature-branch
Block expensive commits with a git hook:
deburger hook --install
git commit -m "Add feature"
# Commit blocked if expensive patterns found
CI/CD integration:
- name: Cost Analysis
run: |
pip install deburger
deburger check . --json > cost-report.json
deburger check . || exit 1
Get optimization suggestions:
deburger optimize app.py
Features
- Detects S3/storage calls in loops, missing connection pools, unbounded queries, cold start issues, sequential async, expensive logging
- Estimates monthly cost impact based on your traffic config
- Supports Python (AST) and JavaScript/TypeScript (pattern detection)
- Works with AWS, GCP, and Azure
- Git hook and CI/CD integration
- JSON output for automation (
--json) - Inline suppression with
deburger:ignore - No cloud credentials needed, runs entirely local
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file deburger-1.0.1.tar.gz.
File metadata
- Download URL: deburger-1.0.1.tar.gz
- Upload date:
- Size: 40.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd13946ad257e7f7a26fb434416bc4775bf005cd3fd285fee0bb1f3c039994a4
|
|
| MD5 |
5d6b26725b6c614713a1b9a277092c4e
|
|
| BLAKE2b-256 |
0da37500c884fbc9da434c51ce25620eb13c323f41ca4c5a22419da8833b84d9
|
File details
Details for the file deburger-1.0.1-py3-none-any.whl.
File metadata
- Download URL: deburger-1.0.1-py3-none-any.whl
- Upload date:
- Size: 48.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c44aa1857dd864990e7352570eb1203b1bf0207e9684862620512f3120ff5a1d
|
|
| MD5 |
2cf07833fb3bd83443751ecce205ae43
|
|
| BLAKE2b-256 |
efee725ce45555b1e9821287ee8d9249441573f9d39a15f540a9aecca61b65f3
|