cloudleak-cli 0.1.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.
@@ -0,0 +1,284 @@
1
+ Metadata-Version: 2.5
2
+ Name: cloudleak-cli
3
+ Version: 0.1.0
4
+ Summary: Offline, zero-IAM audit CLI for AWS, Azure, GCP and FOCUS billing exports: data-quality doctor, invoice reconciliation, month-over-month variance, evidence-graded findings and fail-closed redaction.
5
+ Project-URL: Homepage, https://github.com/pranavg21/cloudleak
6
+ Project-URL: Issues, https://github.com/pranavg21/cloudleak/issues
7
+ Project-URL: Changelog, https://github.com/pranavg21/cloudleak/blob/main/CHANGELOG.md
8
+ Project-URL: Security, https://github.com/pranavg21/cloudleak/blob/main/SECURITY.md
9
+ Author: The CloudLeak Authors
10
+ License-Expression: Apache-2.0
11
+ License-File: LICENSE
12
+ License-File: NOTICE
13
+ Keywords: aws-cur,azure-cost-management,billing,cloud-cost,duckdb,finops,focus,gcp-billing,reconciliation
14
+ Classifier: Development Status :: 4 - Beta
15
+ Classifier: Environment :: Console
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: Intended Audience :: Financial and Insurance Industry
18
+ Classifier: Intended Audience :: System Administrators
19
+ Classifier: Operating System :: OS Independent
20
+ Classifier: Programming Language :: Python :: 3
21
+ Classifier: Programming Language :: Python :: 3 :: Only
22
+ Classifier: Programming Language :: Python :: 3.10
23
+ Classifier: Programming Language :: Python :: 3.11
24
+ Classifier: Programming Language :: Python :: 3.12
25
+ Classifier: Programming Language :: Python :: 3.13
26
+ Classifier: Topic :: Office/Business :: Financial :: Accounting
27
+ Classifier: Topic :: System :: Systems Administration
28
+ Classifier: Typing :: Typed
29
+ Requires-Python: >=3.10
30
+ Requires-Dist: duckdb<3,>=1.3
31
+ Provides-Extra: dev
32
+ Requires-Dist: jsonschema>=4.21; extra == 'dev'
33
+ Requires-Dist: pytest>=8; extra == 'dev'
34
+ Requires-Dist: ruff==0.17.6; extra == 'dev'
35
+ Description-Content-Type: text/markdown
36
+
37
+ # CloudLeak
38
+
39
+ **Compare a billing export with an invoice on your own machine, before anyone grants an IAM role.**
40
+
41
+ CloudLeak is an offline command-line tool for the people who are handed a pile of billing exports and asked
42
+ "can we trust these numbers, what changed, and where is money going?": FinOps consultants doing a
43
+ pre-engagement assessment, MSPs scoping a prospect, and platform engineers who inherited the cloud bill.
44
+
45
+ - **`reconcile`** compares billed charges with a supplied invoice and reports the signed difference in the
46
+ invoice currency, including fractions of a cent.
47
+ - **`doctor`** flags missing manifest partitions, duplicate files, mixed Azure cost bases, unparseable
48
+ amounts, inconsistent tag keys and FOCUS columns that are empty throughout an export.
49
+ - **`variance`** explains a month-over-month change as a bridge that adds up exactly: new and discontinued
50
+ spend, usage volume, unit rate, credits, tax and purchases.
51
+ - **`audit`** writes a single-file HTML brief (plus JSON, Markdown, CSV, SARIF) with evidence-graded
52
+ findings and read-only verification commands.
53
+ - **`redact`** pseudonymizes exports so they can be shared with an outside consultant or an AI tool,
54
+ and checks the finished bundle against its publication rules.
55
+
56
+ No cloud credentials. No network access. No telemetry. One runtime dependency
57
+ ([DuckDB](https://duckdb.org)). Apache-2.0.
58
+
59
+ ## What CloudLeak can and cannot prove
60
+
61
+ | Question | What CloudLeak says |
62
+ | --- | --- |
63
+ | What billed amounts and invoice identifiers does this delivery contain? | **Billing observation** (Level 1). Totals cover the supplied records. The tool reports period finality separately when the export provides evidence. |
64
+ | Which charges have a billing line that names a pattern: idle public IPv4, NAT processing, unused commitment, extended support, gp2 volumes, snapshot storage, log ingestion, cross-zone transfer? | **Supported hypothesis** (Level 2), with what is unknown, when it could be legitimate, and read-only commands to verify it |
65
+ | Is a resource unused, orphaned or safe to delete? How much would we save? | **Not provable from billing data.** CloudLeak never claims it and never prints a savings figure |
66
+
67
+ A billing export is a historical ledger, not an inventory. A $1,200 disk might be a production database. A
68
+ quiet load balancer might be the disaster-recovery path. So CloudLeak has no "expensive disk", "idle load
69
+ balancer" or "big GPU" rules, and every finding's `verified_savings` is `null`, enforced by the code and
70
+ by the published JSON Schema.
71
+
72
+ ## Install
73
+
74
+ Install from this source checkout with Python 3.10 or newer and uv. Run the following from the directory
75
+ containing this README, with uv's tool executable directory on your PATH. [uv setup](https://docs.astral.sh/uv/guides/tools/)
76
+
77
+ ```bash
78
+ uv tool install .
79
+ cloudleak --version
80
+ ```
81
+
82
+ This quickstart installs the checkout pending the first PyPI release of `cloudleak-cli`.
83
+ The PyPI project named `cloudleak` belongs to a different project.
84
+
85
+ ## Reconcile a synthetic invoice
86
+
87
+ From any empty working directory, generate two months of invented billing data, two synthetic September
88
+ invoices, and an HTML audit you can open at `cloudleak-demo/report.html`.
89
+
90
+ ```bash
91
+ cloudleak demo -q
92
+ cloudleak reconcile cloudleak-demo/m1 --invoices cloudleak-demo/invoices.csv
93
+ ```
94
+
95
+ The second command exits **1**. The invoices round the September totals to cents. CloudLeak subtracts the
96
+ invoice amount from the export total and keeps the signed residual.
97
+
98
+ | Invoice | Export total (USD) | Invoice (USD) | Difference (USD) |
99
+ | --- | ---: | ---: | ---: |
100
+ | AWS `EUINAA26090001` | 27206.8066200011 | 27206.81 | −0.0033799989 |
101
+ | GCP September period | 586.439680001 | 586.44 | −0.000319999 |
102
+
103
+ To accept a difference of up to one cent for the finalized AWS invoice, run the same comparison for its ID.
104
+
105
+ ```bash
106
+ cloudleak reconcile cloudleak-demo/m1 --invoice-id EUINAA26090001 --currency USD --total 27206.81 --tolerance 0.01
107
+ ```
108
+
109
+ This exits **0**. The reported difference is still `-0.0033799989` USD. GCP supplies an invoice month in
110
+ this demo, so its total alone cannot establish which invoice was issued or whether all charges arrived.
111
+
112
+ These commands inspect October's data quality and write the change between September and October to `brief.html`.
113
+
114
+ ```bash
115
+ cloudleak doctor cloudleak-demo/m2
116
+ cloudleak variance cloudleak-demo/m1 cloudleak-demo/m2 -o brief.html
117
+ ```
118
+
119
+ ## Commands
120
+
121
+ | Command | Use it to | Exit codes |
122
+ | --- | --- | --- |
123
+ | `cloudleak doctor PATH…` | Check completeness, finality and data quality before trusting a number. `--format junit` / `-o checks.xml` for CI | 0 ok · 1 a check reached `--fail-on` (default `fail`) |
124
+ | `cloudleak audit PATH… -o brief.html` | Full brief: totals, bridge, Level-2 findings, data quality, provenance | 0 · 1 per `--fail-on` (`fail`, `warn`, `findings`, `never`) |
125
+ | `cloudleak variance BASE CURRENT` | Explain what changed between two periods (or one path holding two) | 0 |
126
+ | `cloudleak reconcile PATH --invoice-id ID --total 812.36 --currency USD` | Compare billed amounts. Use `--invoices invoices.csv` for several invoices. | 0 within tolerance (inspect finality and status) · 1 difference or no matching rows · 2 invalid or ambiguous input |
127
+ | `cloudleak diff BEFORE AFTER` | Compare totals by charge category, service and account, row counts, and invoice coverage across deliveries | 0 · 1 with `--fail-on-change` |
128
+ | `cloudleak redact PATH… -o out.zip` | Pseudonymize for sharing; fail-closed | 0 · 2 if the publication checks fail |
129
+ | `cloudleak resolve ALIAS… --source PATH…` | Translate aliases in a consultant's notes back to real IDs, locally | 0 |
130
+ | `cloudleak checks` · `rules` · `schema finding` | List doctor checks, signature rules, or print the JSON Schema | 0 |
131
+
132
+ Exit code **2** always means "the input cannot be processed safely": an unreadable, ragged, truncated or
133
+ oversized file, an unknown format, or a usage error. CloudLeak never skips a malformed row; it names the
134
+ line instead.
135
+
136
+ Outputs pick their format from the extension: `.html`, `.json`, `.md`, `.csv`, `.sarif`, `.xml` (JUnit,
137
+ doctor only). Repeat `-o` for several.
138
+
139
+ ## Tested export shapes
140
+
141
+ These checks use synthetic charges and independent invoice totals; each row is exercised in CI by
142
+ [`tests/test_export_shapes.py`](tests/test_export_shapes.py). Use the table to choose the applicable comparison.
143
+
144
+ | Export | Tested comparison | Outside this evidence |
145
+ | --- | --- | --- |
146
+ | AWS legacy CUR and CUR 2.0 | Slash-named legacy CSV and named CUR 2.0 projections including split allocation, credits, refunds, RI-only and Savings Plans-only cases. Billed totals use unblended cost. | All-option exports and contractual net discounts |
147
+ | Azure Cost Management | Actual and amortized exports kept separate; selected EA, MCA, MOSP and MPA fields. MCA control checks billing-currency list cost. | Partner Center invoices, taxes and credits absent from the export |
148
+ | Google Cloud Billing | Flattened standard/detailed CSV and nested Parquet, including repeated credits and late usage assigned by invoice month | Full 2026 CUD migration and fee-offset handling |
149
+ | FOCUS Cost and Usage | Synthetic normative headers for 1.0–1.4; AWS 1.2 and selected Microsoft 1.0/1.2 export projections | Vendor-wide conformance and complete GCP/OCI delivery coverage |
150
+
151
+ A zero reconciliation exit code means the compared amounts agree within tolerance. Inspect the signed difference, status and period finality before treating that result as an invoice close.
152
+
153
+ Something not recognized? Open a [schema quirk issue](https://github.com/pranavg21/cloudleak/issues/new?template=schema-quirk.yml)
154
+ with a synthetic example. Replace private header names and values before sharing.
155
+
156
+ ## How the numbers are kept honest
157
+
158
+ - **Decimal amounts.** The canonical amount type is `DECIMAL(38,12)`. JSON carries money as strings,
159
+ including sub-cent residuals. Data already rounded by an upstream exporter has only the precision supplied.
160
+ - **Invoice scope.** Reconciliation uses billed cost in the invoice currency. The report identifies
161
+ excluded currencies and cost bases. Identical charge rows remain separate.
162
+ - **Periods are invoice periods, in UTC.** GCP late usage lands in the invoice month it was billed in. A
163
+ month-over-month percentage across periods of unequal coverage is reported per day, never as a raw spike.
164
+ - **The bridge closes.** Base total plus every driver equals the current total, exactly; the code
165
+ refuses to emit a bridge that does not.
166
+ - **Deterministic.** The same inputs produce byte-identical JSON (set `SOURCE_DATE_EPOCH` to pin the
167
+ timestamp). Every report records the input SHA-256s, CloudLeak and DuckDB versions and the rule-pack hash.
168
+
169
+ ## Findings: the evidence ladder
170
+
171
+ Every finding follows the [`cloudleak.finding.v1`](src/cloudleak/schemas/finding.v1.schema.json) contract.
172
+
173
+ | Level | Meaning | Produced by CloudLeak? |
174
+ | --- | --- | --- |
175
+ | L1 | Billing observation: spend, reconciliation deltas, variance drivers | Yes |
176
+ | L2 | Billing-supported hypothesis: the billing line itself names the pattern | Yes, the ceiling for billing data |
177
+ | L3 | Corroborated by an inventory snapshot (for example attachment state) | No |
178
+ | L4 | Owner-confirmed | No, recorded by people |
179
+ | L5 | Validated on a later finalized bill | No, recorded by people |
180
+
181
+ Each L2 finding includes the exact matched line items (source file hash and row numbers), what billing data
182
+ cannot tell you, when the charge is legitimate, an owner from tags or the account (never guessed), and
183
+ read-only `aws` / `az` / `gcloud` commands with every value shell-quoted. CloudLeak never generates a
184
+ command that changes infrastructure.
185
+
186
+ ## Redaction
187
+
188
+ `cloudleak redact` writes pseudonymized CSVs and a redaction report to a directory or ZIP. Account and
189
+ resource IDs, descriptions, service and SKU labels, regions, customer-defined tag headers, and tag keys
190
+ and values receive keyed aliases. Repeated values have the same HMAC-derived suffix under the same key.
191
+
192
+ The explicit column registry keeps numeric amounts and quantities, dates, recognized currency codes and
193
+ billing categories. Structured GCP credits retain each amount. Unknown columns stop publication unless
194
+ you choose `--drop-unclassified`. Diagnostics and the dropped-column inventory use column positions.
195
+
196
+ Before publication, CloudLeak reads the completed bundle and checks its member names, headers, data
197
+ cells and report. The report counts the CSV data cells checked. The default key lives in
198
+ `.cloudleak/redaction.key`. Use `--key-file` to select a private key elsewhere. On POSIX, keys and bundle
199
+ files use mode 0600 and bundle directories use 0700. Choose an output separate from the inputs and key.
200
+ Use a fresh directory for each bundle or `--force` to replace a ZIP.
201
+
202
+ Review whether the visible costs, dates, repeated aliases and file fingerprints can identify a client.
203
+ Pseudonymized labels can limit analyses that depend on service names, regions, SKUs or tag semantics.
204
+
205
+ ## Use in CI
206
+
207
+ ```yaml
208
+ - uses: pranavg21/cloudleak@main
209
+ with:
210
+ path: exports/
211
+ fail-on: fail
212
+ ```
213
+
214
+ The action runs `cloudleak doctor` and writes JUnit XML and SARIF you can upload. Or call the CLI directly:
215
+ `cloudleak doctor exports/ -o doctor.xml -o doctor.sarif`.
216
+
217
+ ## Performance
218
+
219
+ Measured with [`scripts/benchmark.py`](scripts/benchmark.py) on synthetic 35-column CUR 2.0 data, 4 vCPU,
220
+ Python 3.13, DuckDB 2.0.1, default `--memory-limit 2GB`:
221
+
222
+ | Rows | Uncompressed CSV | Input (.csv.gz) | `doctor` | `audit` | Peak RSS |
223
+ | --- | --- | --- | --- | --- | --- |
224
+ | 1,000,000 | 394 MB | 26 MB | 10 s | 11 s | 1.6 GB |
225
+ | 3,000,000 | 1.24 GB | 78 MB | 29 s | 31 s | 2.1 GB |
226
+ | 10,000,000 | ~4.1 GB | 259 MB | 79 s | 100 s | 2.4 GB |
227
+
228
+ `--memory-limit` sets DuckDB's memory budget. The process also uses memory outside that budget, and
229
+ DuckDB can spill to `--temp-dir`. In a separate synthetic reconciliation of a 10,063,750,122-byte CSV
230
+ with 1,250,000 rows, `--memory-limit 1GB` and two threads, peak process RSS reached 1,171,344 KiB
231
+ (1.20 GB). Allow for this overhead when sizing a container.
232
+
233
+ ## Air-gapped and container use
234
+
235
+ ```bash
236
+ docker build -t cloudleak .
237
+ ```
238
+
239
+ ```bash
240
+ docker run --rm --network=none --read-only --tmpfs /tmp:size=4g \
241
+ -v "$PWD/exports:/data:ro" -v "$PWD/out:/out" cloudleak audit /data -o /out/brief.html
242
+ ```
243
+
244
+ The container runs as a non-root user. Inside any environment, CloudLeak's DuckDB session cannot read
245
+ files outside the input directories, cannot load extensions or reach the network, and locks its own
246
+ configuration.
247
+
248
+ ## Security and privacy
249
+
250
+ Offline processing removes third-party exposure; it does not make data disappear. DuckDB spill files and
251
+ OS swap can hold fragments of billing data, and deleting files on an SSD does not erase them. For regulated
252
+ data, use full-disk encryption and point `--temp-dir` at an encrypted or RAM-backed location. Reports and
253
+ redaction keys are written with owner-only permissions. Details and reporting a vulnerability:
254
+ [SECURITY.md](SECURITY.md).
255
+
256
+ ## What CloudLeak deliberately does not do
257
+
258
+ No hosted service, login or dashboard server. No live cloud API access. No remediation, deletion or
259
+ Terraform generation. No commitment purchasing, Kubernetes allocation, LLM token proxying or "chat with
260
+ your bill". No confidence percentages or hygiene grades. These are either unsafe from billing data alone
261
+ or done well by others (OpenCost, Infracost, OpenOps, focus_validator, native cloud tools).
262
+
263
+ ## Project status
264
+
265
+ `0.1.0`, beta. The command surface and the `cloudleak.finding.v1` / `cloudleak.report.v1` schemas are
266
+ intended to stay stable; breaking changes will bump the schema version. The earlier Next.js / FastAPI
267
+ prototype was retired in favor of this CLI; it is preserved in git history at commit `489fbff`.
268
+
269
+ [docs/validation.md](docs/validation.md) lists, export by export, what is tested and what is not.
270
+ Validation so far uses synthetic fixtures with exact ground truth plus adversarial cases (attached disks,
271
+ in-use IPs, GPUs, refunds, identical Azure rows, preliminary months, hostile tags, malformed files). It
272
+ has not yet been evaluated on independently labeled production exports. If you run it on real exports,
273
+ [tell us what broke](https://github.com/pranavg21/cloudleak/issues) (synthetic, sanitized headers only).
274
+
275
+ ## Contributing
276
+
277
+ See [CONTRIBUTING.md](CONTRIBUTING.md), [docs/architecture.md](docs/architecture.md) and the
278
+ [check and rule catalog](docs/checks-and-rules.md). Good first contributions: a provider column CloudLeak does not
279
+ recognize, a doctor check for a defect you have seen in the wild, or a billing-signature rule with a
280
+ provider-explicit usage type.
281
+
282
+ ## License
283
+
284
+ [Apache-2.0](LICENSE). See [NOTICE](NOTICE).
@@ -0,0 +1,38 @@
1
+ cloudleak/__init__.py,sha256=N_D0MSDac5_RC2ZsTkQeFytUeKPzmKM437ZqGfCOD0g,2020
2
+ cloudleak/__main__.py,sha256=aLjSbXazpTp5uqwVhLyHIc_QOkfs4BwtpUFfhLe3Xf8,57
3
+ cloudleak/_version.py,sha256=kUR5RAFc7HCeiqdlX36dZOHkUI5wI6V_43RpEcD8b-0,22
4
+ cloudleak/analysis.py,sha256=lm4qYZS3t9Y03EHpeqC33eveg-SlKL6V4sTxFdkQ-ck,8635
5
+ cloudleak/cli.py,sha256=eWGPSZouKjBgQO0pmWLdasNrWCH8w5FG6PlfGEMRLPU,25784
6
+ cloudleak/diff.py,sha256=1qB_slsFNZ2fiJ94ccgb2j6r5J5tv2gCieYPCbGpxYk,4871
7
+ cloudleak/doctor.py,sha256=NGseGTQvF8OAKBp62rbiyk4hN2PM0khR4nmO30DmnVM,36716
8
+ cloudleak/engine.py,sha256=YWfPVmWtYo-7L_lARQy2l1h2SptyX2SHJpcIaE5Q8oI,24714
9
+ cloudleak/errors.py,sha256=nvnQGND0_VjQ3sWzSGfH2daBrJzJlaXicsgEQ0fgAPs,772
10
+ cloudleak/findings.py,sha256=yFefogyjyBGGPB0U8cX8Lbc2nlStqVslxB2Syh86i44,9769
11
+ cloudleak/fixtures.py,sha256=5rWuwytnhgtOKyRvwiDeEbVCw3d30cJF8xPGRabe5Jg,24430
12
+ cloudleak/money.py,sha256=WGnve0zD5oyGRZhkd5NZ_P_r-l-vIl6gt2o3hEHDOwk,2441
13
+ cloudleak/publication.py,sha256=Z3rqYm_16q8U0wZc17XFiSLocujtQVuVNDKQEV9fFWQ,7117
14
+ cloudleak/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
+ cloudleak/reconcile.py,sha256=2hk2gGe2OnLb6PsFl-QcCMBG81h6XoWyV21CF4HCaY8,18595
16
+ cloudleak/redact.py,sha256=up-c6XmfjYyQROD72vsVFsXQkPhosUcHpJZcOW8d_Fk,33639
17
+ cloudleak/report.py,sha256=olGYvsoV4fbvhc_iD-GEFdin7cuNdVvtf-lUBrdq794,6465
18
+ cloudleak/rules.py,sha256=rSbU83NeWD6H4wWHzlAI0OBXlC-3OrDpYCFsjyQW0cs,23240
19
+ cloudleak/sources.py,sha256=hwEamY53wyJZXAPfGy_oHZcQ3Sd-la2rySAf_SJM3Lw,12331
20
+ cloudleak/variance.py,sha256=3vzXDJtueVoSiGd17nZ974yA3-5K9awrQcCW2v9ZOtk,23411
21
+ cloudleak/providers/__init__.py,sha256=5BnklEmY157Cv_Vf0QxGYHFfzx1NMTL2XExslFll_vY,620
22
+ cloudleak/providers/aws.py,sha256=5IWsM1WoSEgEkU-JripyBNZPUaql4gI4BFKj1Xrme1o,6323
23
+ cloudleak/providers/azure.py,sha256=orO4kXMm_xPnSHfAYeFb3AlRXyjsCbCdST83yXz7iko,7569
24
+ cloudleak/providers/base.py,sha256=4mOjQ-yHNS5nwCl72jtym72W5iqe5iKDLpXIGrmV9uw,8589
25
+ cloudleak/providers/focus.py,sha256=iByjkaDb-2Slv_oNfXgysK88bXodyHYO74bGhv8HEEU,7057
26
+ cloudleak/providers/gcp.py,sha256=fDpHfdaaUz5P6baBwZtVYCFy4jTgYN0Fbmwyj6Xedes,7242
27
+ cloudleak/render/__init__.py,sha256=nqnX09zE4l-jWsc-7_tVW_UFV8cQ_noooJv2TWdfXnk,63
28
+ cloudleak/render/formats.py,sha256=idlWNwHCw_IkUaupbLBXpSXG-725LQ9_wnnBMaPpK0A,12844
29
+ cloudleak/render/html.py,sha256=oU7ez9vzX3QhZdWDY0LBGG1T15ZfKGiS6NjMTgK_UEo,22820
30
+ cloudleak/schemas/__init__.py,sha256=r_rSu58woXggghR7W6HSjKFffQIrhKhpj-ZI7xLI7TE,51
31
+ cloudleak/schemas/finding.v1.schema.json,sha256=UAG8I6Am4BLI100H98omgpH30xPg8iiHfCNIVQ8qNIk,5655
32
+ cloudleak/schemas/report.v1.schema.json,sha256=fP8uMGjgm9gdEOW5Q5nQzdbXE79YspJ9SThq0oeqhxk,1919
33
+ cloudleak_cli-0.1.0.dist-info/METADATA,sha256=ad79CovGmmNd1iKfVY1uIkg7XuwvCcOl5wu-5Epmw8g,16503
34
+ cloudleak_cli-0.1.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
35
+ cloudleak_cli-0.1.0.dist-info/entry_points.txt,sha256=yOmVXiIG7ObZRSajw1ibcwUKeFSI0-DCeiAM0ONQ0EE,49
36
+ cloudleak_cli-0.1.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
37
+ cloudleak_cli-0.1.0.dist-info/licenses/NOTICE,sha256=_ARXdtBVyeJ2oAm4vnuGeD2qH20Xp7Ms3HI7gATCtKw,1422
38
+ cloudleak_cli-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.33.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ cloudleak = cloudleak.cli:main
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,30 @@
1
+ CloudLeak
2
+ Copyright 2026 The CloudLeak Authors
3
+
4
+ This product is licensed under the Apache License, Version 2.0 (see LICENSE).
5
+
6
+ Releases of CloudLeak before 0.1.0 (the web prototype, up to commit 489fbff)
7
+ were published under the MIT License. Any portions carried forward from them
8
+ remain available under these terms:
9
+
10
+ MIT License
11
+
12
+ Copyright (c) 2026 Pranav Ghadge
13
+
14
+ Permission is hereby granted, free of charge, to any person obtaining a copy
15
+ of this software and associated documentation files (the "Software"), to deal
16
+ in the Software without restriction, including without limitation the rights
17
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
18
+ copies of the Software, and to permit persons to whom the Software is
19
+ furnished to do so, subject to the following conditions:
20
+
21
+ The above copyright notice and this permission notice shall be included in all
22
+ copies or substantial portions of the Software.
23
+
24
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
25
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
26
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
27
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
28
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
29
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30
+ SOFTWARE.