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
Metadata
Release files for deburger 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| deburger-1.0.1.tar.gz | 40.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| deburger-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 89.3 kB
Release files / deburger-1.0.1.tar.gz
| Download URL | deburger-1.0.1.tar.gz |
|---|---|
| Size | 40.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dd13946ad257e7f7a26fb434416bc4775bf005cd3fd285fee0bb1f3c039994a4
|
|
BLAKE2b-256 checksum How to use checksums |
0da37500c884fbc9da434c51ce25620eb13c323f41ca4c5a22419da8833b84d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / deburger-1.0.1-py3-none-any.whl
| Download URL | deburger-1.0.1-py3-none-any.whl |
|---|---|
| Size | 48.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c44aa1857dd864990e7352570eb1203b1bf0207e9684862620512f3120ff5a1d
|
|
BLAKE2b-256 checksum How to use checksums |
efee725ce45555b1e9821287ee8d9249441573f9d39a15f540a9aecca61b65f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|