tfbrief 0.1.2__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.
tfbrief/__init__.py ADDED
@@ -0,0 +1,20 @@
1
+ """TfBrief — Terraform plan JSON formatted for human review in CI logs."""
2
+
3
+ from tfbrief.review import (
4
+ HIDDEN_VALUE,
5
+ MAX_FIELDS_SHOWN,
6
+ MAX_RESOURCES_SHOWN,
7
+ plan_has_changes,
8
+ render,
9
+ )
10
+
11
+ __version__ = "0.1.2"
12
+
13
+ __all__ = [
14
+ "HIDDEN_VALUE",
15
+ "MAX_FIELDS_SHOWN",
16
+ "MAX_RESOURCES_SHOWN",
17
+ "__version__",
18
+ "plan_has_changes",
19
+ "render",
20
+ ]
tfbrief/__main__.py ADDED
@@ -0,0 +1,4 @@
1
+ from tfbrief.review import main
2
+
3
+ if __name__ == "__main__":
4
+ raise SystemExit(main())
tfbrief/review.py ADDED
@@ -0,0 +1,393 @@
1
+ #!/usr/bin/env python3
2
+ """Review terraform show -json plans or report whether their actions need apply."""
3
+
4
+ from __future__ import annotations
5
+
6
+ import json
7
+ import re
8
+ import sys
9
+ from typing import Any, Iterable
10
+
11
+ STYLES = {
12
+ "replace": ("\U0001f7e3", "35", "REPLACE"),
13
+ "delete": ("\U0001f534", "31", "DELETE"),
14
+ "update": ("\U0001f7e1", "33", "UPDATE"),
15
+ "create": ("\U0001f7e2", "32", "CREATE"),
16
+ "forget": ("\U0001f535", "36", "STOP MANAGING"),
17
+ "other": ("\u26aa", "37", "OTHER"),
18
+ }
19
+
20
+ HIDDEN_VALUE = "[REDACTED]"
21
+ SECRET_NAME = re.compile(
22
+ r"secret|password|token|private.?key|credential|api.?key|access.?key",
23
+ re.IGNORECASE,
24
+ )
25
+ _MISSING = object()
26
+
27
+ # Keep CI log output readable without horizontal scrolling in Azure DevOps and
28
+ # GitHub Actions. Resource and diff tables use this same compact width budget.
29
+ PANEL_WIDTH = 96
30
+ BAR_WIDTH = 30
31
+ MAX_RESOURCES_SHOWN = 50
32
+ MAX_FIELDS_SHOWN = 40
33
+
34
+
35
+ def plain(value: Any) -> str:
36
+ text = str(value)
37
+ return "".join(char if char.isprintable() else "?" for char in text)
38
+
39
+
40
+ def flatten(value: Any, path: str = "") -> Iterable[tuple[str, Any]]:
41
+ if isinstance(value, dict) and value:
42
+ for key, nested in value.items():
43
+ child = f"{path}.{key}" if path else str(key)
44
+ yield from flatten(nested, child)
45
+ else:
46
+ yield path or "(value)", value
47
+
48
+
49
+ def marked(mask: Any, path: str) -> bool:
50
+ node = mask
51
+ if node is True:
52
+ return True
53
+ for part in path.split("."):
54
+ if node is True:
55
+ return True
56
+ if isinstance(node, dict):
57
+ node = node.get(part)
58
+ elif isinstance(node, list) and part.isdigit():
59
+ index = int(part)
60
+ node = node[index] if index < len(node) else None
61
+ else:
62
+ return False
63
+
64
+ def contains_true(value: Any) -> bool:
65
+ if value is True:
66
+ return True
67
+ if isinstance(value, dict):
68
+ return any(contains_true(child) for child in value.values())
69
+ if isinstance(value, list):
70
+ return any(contains_true(child) for child in value)
71
+ return False
72
+
73
+ return contains_true(node)
74
+
75
+
76
+ def union_masks(left: Any, right: Any) -> Any:
77
+ """Combine before/after masks so a newly sensitive value hides both sides."""
78
+ if left is True or right is True:
79
+ return True
80
+ if isinstance(left, dict) or isinstance(right, dict):
81
+ left_map = left if isinstance(left, dict) else {}
82
+ right_map = right if isinstance(right, dict) else {}
83
+ return {
84
+ key: union_masks(left_map.get(key), right_map.get(key))
85
+ for key in left_map.keys() | right_map.keys()
86
+ }
87
+ if isinstance(left, list) or isinstance(right, list):
88
+ left_list = left if isinstance(left, list) else []
89
+ right_list = right if isinstance(right, list) else []
90
+ return [
91
+ union_masks(
92
+ left_list[index] if index < len(left_list) else None,
93
+ right_list[index] if index < len(right_list) else None,
94
+ )
95
+ for index in range(max(len(left_list), len(right_list)))
96
+ ]
97
+ return False
98
+
99
+
100
+ def display_value(
101
+ value: Any,
102
+ path: str,
103
+ sensitive_mask: Any,
104
+ unknown_mask: Any | None = None,
105
+ ) -> str:
106
+ if SECRET_NAME.search(path) or marked(sensitive_mask, path):
107
+ return HIDDEN_VALUE
108
+ if unknown_mask is not None and marked(unknown_mask, path):
109
+ return "(known after apply)"
110
+ if value is _MISSING:
111
+ return "(not set)"
112
+ return plain(json.dumps(value, ensure_ascii=False, sort_keys=True, separators=(",", ":")))
113
+
114
+
115
+ def shorten(value: str, width: int) -> str:
116
+ value = value.replace("|", "¦")
117
+ return value if len(value) <= width else value[: width - 1] + "…"
118
+
119
+
120
+ def compact(value: str, width: int) -> str:
121
+ value = value.replace("|", "¦")
122
+ if len(value) <= width:
123
+ return value
124
+ marker = "..."
125
+ remaining = width - len(marker)
126
+ left = (remaining + 1) // 2
127
+ right = remaining - left
128
+ return value[:left] + marker + (value[-right:] if right else "")
129
+
130
+
131
+ def changed_fields(change: dict[str, Any]) -> Iterable[tuple[str, str, str]]:
132
+ before = dict(flatten(change.get("before"))) if change.get("before") is not None else {}
133
+ after = dict(flatten(change.get("after"))) if change.get("after") is not None else {}
134
+ sensitive_mask = union_masks(
135
+ change.get("before_sensitive", False), change.get("after_sensitive", False)
136
+ )
137
+ after_unknown = change.get("after_unknown") or {}
138
+ for path in sorted(set(before) | set(after)):
139
+ old = before.get(path, _MISSING)
140
+ new = after.get(path, _MISSING)
141
+ if old != new or marked(after_unknown, path):
142
+ yield (
143
+ path,
144
+ display_value(old, path, sensitive_mask),
145
+ display_value(new, path, sensitive_mask, after_unknown),
146
+ )
147
+
148
+
149
+ def color(value: str, shade: str) -> str:
150
+ return f"\033[1;{shade}m{value}\033[0m"
151
+
152
+
153
+ def panel_border(left: str, right: str, width: int) -> str:
154
+ horizontal = "\u2500"
155
+ return color(left + horizontal * width + right, "36")
156
+
157
+
158
+ def panel_line(value: str, visible_width: int, width: int) -> None:
159
+ vertical = "\u2502"
160
+ edge = color(vertical, "36")
161
+ padding = " " * (width - visible_width - 2)
162
+ print(f"{edge} {value}{padding} {edge}")
163
+
164
+
165
+ def panel_line_centered(plain: str, width: int, shade: str = "36") -> None:
166
+ text_width = len(plain)
167
+ left = (width - text_width) // 2
168
+ value = (" " * left) + color(plain, shade)
169
+ panel_line(value, left + text_width, width)
170
+
171
+
172
+ def classify_action(actions: list[str]) -> str:
173
+ if "create" in actions and "delete" in actions:
174
+ return "replace"
175
+ if len(actions) == 1 and actions[0] in STYLES:
176
+ return actions[0]
177
+ return "other"
178
+
179
+
180
+ def group_resources(plan: dict[str, Any]) -> dict[str, list[tuple[str, str, dict[str, Any]]]]:
181
+ groups: dict[str, list[tuple[str, str, dict[str, Any]]]] = {action: [] for action in STYLES}
182
+ for resource in plan.get("resource_changes", []):
183
+ actions = resource["change"]["actions"]
184
+ if actions in ([], ["no-op"], ["read"]):
185
+ continue
186
+ action = classify_action(actions)
187
+ address = plain(resource["address"])
188
+ if action == "other":
189
+ address += " (" + ", ".join(map(plain, actions)) + ")"
190
+ groups[action].append((address, plain(resource.get("type", "unknown")), resource["change"]))
191
+ return groups
192
+
193
+
194
+ def plan_has_changes(plan: dict[str, Any]) -> bool:
195
+ """Return true for resource or output actions that require a Terraform apply."""
196
+ for resource in plan.get("resource_changes", []):
197
+ actions = resource.get("change", {}).get("actions", [])
198
+ if any(action not in {"no-op", "read"} for action in actions):
199
+ return True
200
+ for change in plan.get("output_changes", {}).values():
201
+ actions = change.get("actions", [])
202
+ if any(action != "no-op" for action in actions):
203
+ return True
204
+ return False
205
+
206
+
207
+ def summary_panel_width(plan: dict[str, Any], groups: dict[str, list]) -> int:
208
+ total = sum(map(len, groups.values()))
209
+ output_changes = sum(
210
+ change.get("actions") not in (None, [], ["no-op"])
211
+ for change in plan.get("output_changes", {}).values()
212
+ )
213
+ row_widths = []
214
+ for action, (_icon, _shade, _label) in STYLES.items():
215
+ if action == "other" and not groups[action]:
216
+ continue
217
+ percentage = (len(groups[action]) / total * 100) if total else 0
218
+ count_width = max(4, len(str(len(groups[action]))))
219
+ row_widths.append(
220
+ 2 + 2 + 16 + 1 + count_width + 1 + len(f"{percentage:>5.1f}%")
221
+ )
222
+ if output_changes:
223
+ row_widths.append(2 + 2 + 16 + 1 + max(4, len(str(output_changes))))
224
+ content_width = max([BAR_WIDTH, len("TFBRIEF"), *row_widths])
225
+ return min(PANEL_WIDTH, content_width + 2)
226
+
227
+
228
+ def resource_table_width(groups: dict[str, list]) -> int:
229
+ action_width = max(len("ACTION"), *(len(style[2]) for style in STYLES.values()))
230
+ addresses = [
231
+ address
232
+ for resources in groups.values()
233
+ for address, _, _ in resources[:MAX_RESOURCES_SHOWN]
234
+ ]
235
+ resource_width = max(len("RESOURCE ADDRESS"), *(len(address) for address in addresses))
236
+ resource_width = min(resource_width, PANEL_WIDTH + 2 - action_width - 7)
237
+ return action_width + resource_width + 7
238
+
239
+
240
+ def render_summary(
241
+ plan: dict[str, Any], groups: dict[str, list], panel_width: int
242
+ ) -> int:
243
+ print(panel_border("\u256d", "\u256e", panel_width))
244
+ panel_line_centered("TFBRIEF", panel_width)
245
+ print(panel_border("\u251c", "\u2524", panel_width))
246
+ total = sum(map(len, groups.values()))
247
+ if total:
248
+ palette = {
249
+ "replace": "45",
250
+ "delete": "41",
251
+ "update": "43",
252
+ "create": "42",
253
+ "forget": "44",
254
+ "other": "47",
255
+ }
256
+ active = [action for action in STYLES if groups[action]]
257
+ exact = {action: len(groups[action]) * BAR_WIDTH / total for action in active}
258
+ segments = {action: int(exact[action]) for action in active}
259
+ remaining = BAR_WIDTH - sum(segments.values())
260
+ for action in sorted(active, key=lambda item: exact[item] - segments[item], reverse=True)[:remaining]:
261
+ segments[action] += 1
262
+ strip = []
263
+ for action in active:
264
+ strip.append(color(" " * segments[action], palette[action]))
265
+ panel_line("".join(strip), BAR_WIDTH, panel_width)
266
+ print(panel_border("\u251c", "\u2524", panel_width))
267
+ for action, (icon, shade, label) in STYLES.items():
268
+ if action != "other" or groups[action]:
269
+ percentage = (len(groups[action]) / total * 100) if total else 0
270
+ value = f"{icon} {color(label.ljust(16), shade)} {len(groups[action]):>4} {percentage:>5.1f}%"
271
+ visible_width = (
272
+ 2 + 2 + 16 + 1 + max(4, len(str(len(groups[action]))))
273
+ + 1 + len(f"{percentage:>5.1f}%")
274
+ )
275
+ panel_line(value, visible_width, panel_width)
276
+ output_changes = sum(
277
+ change.get("actions") not in (None, [], ["no-op"])
278
+ for change in plan.get("output_changes", {}).values()
279
+ )
280
+ if output_changes:
281
+ output_label = color("OUTPUT CHANGES".ljust(16), "36")
282
+ visible_width = 2 + 2 + 16 + 1 + max(4, len(str(output_changes)))
283
+ panel_line(f"\U0001f4e4 {output_label} {output_changes:>4}", visible_width, panel_width)
284
+ print(panel_border("\u2570", "\u256f", panel_width))
285
+ return total
286
+
287
+
288
+ def render_resource_table(groups: dict[str, list], table_width: int) -> None:
289
+ action_width = max(len("ACTION"), *(len(style[2]) for style in STYLES.values()))
290
+ resource_width = table_width - action_width - 7
291
+ table_border = "+" + "-" * (action_width + 2) + "+" + "-" * (resource_width + 2) + "+"
292
+ print(color("RESOURCE ACTIONS", "36"))
293
+ print(table_border)
294
+ print(f"| {'ACTION'.ljust(action_width)} | {'RESOURCE ADDRESS'.ljust(resource_width)} |")
295
+ print(table_border)
296
+ shown = 0
297
+ total = sum(map(len, groups.values()))
298
+ for action, resources in groups.items():
299
+ _, shade, label = STYLES[action]
300
+ for address, _, _ in resources:
301
+ if shown >= MAX_RESOURCES_SHOWN:
302
+ break
303
+ action_cell = color(label.ljust(action_width), shade)
304
+ print(f"| {action_cell} | {compact(address, resource_width).ljust(resource_width)} |")
305
+ print(table_border)
306
+ shown += 1
307
+ if shown >= MAX_RESOURCES_SHOWN:
308
+ break
309
+ if total > shown:
310
+ print(
311
+ f"Resource list cap: showing {shown} of {total}; "
312
+ f"{total - shown} more resource(s) not shown."
313
+ )
314
+
315
+
316
+ def render_attribute_diffs(groups: dict[str, list]) -> None:
317
+ if not (groups["update"] or groups["replace"]):
318
+ return
319
+ print()
320
+ print(color("ATTRIBUTE DIFFS (updates and replacements only)", "36"))
321
+ attribute_width, old_width, new_width = 22, 25, 25
322
+ table_border = (
323
+ "+" + "-" * (attribute_width + 2)
324
+ + "+" + "-" * (old_width + 2)
325
+ + "+" + "-" * (new_width + 2) + "+"
326
+ )
327
+ for action in ("replace", "update"):
328
+ resources = groups[action]
329
+ icon, shade, label = STYLES[action]
330
+ for address, resource_type, change in resources:
331
+ heading = f"{icon} {label} {resource_type} {address}"
332
+ print(compact(heading, PANEL_WIDTH))
333
+ fields = list(changed_fields(change))
334
+ if not fields:
335
+ print(" No known field-level differences.")
336
+ continue
337
+ print(table_border)
338
+ print(
339
+ f"| {color('ATTRIBUTE'.ljust(attribute_width), '36')} "
340
+ f"| {color('BEFORE'.ljust(old_width), '36')} "
341
+ f"| {color('AFTER'.ljust(new_width), '36')} |"
342
+ )
343
+ print(table_border)
344
+ for path, old, new in fields[:MAX_FIELDS_SHOWN]:
345
+ print(
346
+ f"| {shorten(path, attribute_width).ljust(attribute_width)} "
347
+ f"| {color(shorten(old, old_width).ljust(old_width), '31')} "
348
+ f"| {color(shorten(new, new_width).ljust(new_width), '32')} |"
349
+ )
350
+ print(table_border)
351
+ if len(fields) > MAX_FIELDS_SHOWN:
352
+ print(f" {len(fields) - MAX_FIELDS_SHOWN} more attribute(s) not shown.")
353
+ print()
354
+
355
+
356
+ def render(plan: dict[str, Any]) -> None:
357
+ groups = group_resources(plan)
358
+ summary_width = summary_panel_width(plan, groups)
359
+ table_width = resource_table_width(groups)
360
+ aligned_width = min(PANEL_WIDTH + 2, max(summary_width + 2, table_width))
361
+ total = render_summary(plan, groups, aligned_width - 2)
362
+ if groups["forget"]:
363
+ print("\U0001f535 Stop managing removes Terraform tracking. The resource stays in place.")
364
+ if not total:
365
+ print("No resource changes. The infrastructure is already up to date.")
366
+ return
367
+ print()
368
+ render_resource_table(groups, aligned_width)
369
+ render_attribute_diffs(groups)
370
+
371
+
372
+ def main(argv: list[str] | None = None) -> int:
373
+ if hasattr(sys.stdout, "reconfigure"):
374
+ sys.stdout.reconfigure(encoding="utf-8", errors="replace")
375
+ args = sys.argv[1:] if argv is None else argv
376
+ if args not in ([], ["--has-changes"]):
377
+ print("Usage: tfbrief [--has-changes]", file=sys.stderr)
378
+ print(" python -m tfbrief [--has-changes]", file=sys.stderr)
379
+ return 2
380
+ try:
381
+ plan = json.load(sys.stdin)
382
+ except json.JSONDecodeError as error:
383
+ print(f"Invalid plan JSON: {error}", file=sys.stderr)
384
+ return 1
385
+ if args == ["--has-changes"]:
386
+ print(str(plan_has_changes(plan)).lower())
387
+ return 0
388
+ render(plan)
389
+ return 0
390
+
391
+
392
+ def cli() -> None:
393
+ raise SystemExit(main())
@@ -0,0 +1,113 @@
1
+ Metadata-Version: 2.5
2
+ Name: tfbrief
3
+ Version: 0.1.2
4
+ Summary: Human-readable Terraform plan output for CI — format terraform show -json into summaries, tables, and diffs
5
+ Project-URL: Homepage, https://github.com/infroware/tfbrief
6
+ Project-URL: Repository, https://github.com/infroware/tfbrief
7
+ Project-URL: Issues, https://github.com/infroware/tfbrief/issues
8
+ Project-URL: PyPI, https://pypi.org/project/tfbrief/
9
+ Author: infroware
10
+ License-Expression: MIT
11
+ License-File: LICENSE
12
+ Keywords: ci-cd,devops,github-actions,iac,infrastructure-as-code,plan-review,terraform,terraform-plan,terraform-show-json,tfbrief
13
+ Classifier: Development Status :: 4 - Beta
14
+ Classifier: Environment :: Console
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: License :: OSI Approved :: MIT License
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Topic :: System :: Systems Administration
22
+ Requires-Python: >=3.10
23
+ Description-Content-Type: text/markdown
24
+
25
+ # TfBrief
26
+
27
+ [![PyPI version](https://img.shields.io/pypi/v/tfbrief)](https://pypi.org/project/tfbrief/)
28
+ [![Python](https://img.shields.io/pypi/pyversions/tfbrief)](https://pypi.org/project/tfbrief/)
29
+
30
+ **TfBrief** turns [`terraform show -json`](https://developer.hashicorp.com/terraform/cli/commands/show) plan output into **readable CI logs**: a summary panel, per-resource actions, and attribute-level diffs. Use it in **Terraform**, **GitHub Actions**, and other **DevOps / IaC** pipelines when raw JSON is too noisy for reviewers.
31
+
32
+ - **Terraform plan review** without scrolling megabytes of JSON
33
+ - **CI/CD** friendly — stdlib only, `pip install tfbrief`, one pipe on stdout
34
+ - Optional **`--has-changes`** boolean for conditional `terraform apply`
35
+
36
+ **Install from PyPI:** [pypi.org/project/tfbrief](https://pypi.org/project/tfbrief/)
37
+
38
+ <!-- tfbrief-demo:start -->
39
+ <details open>
40
+ <summary><strong>Example output</strong> (fixture <a href="fixtures/minimal-plan.json"><code>minimal-plan.json</code></a>)</summary>
41
+
42
+ <div style="width:100%;overflow-x:auto">
43
+ <img src="docs/demo.svg" alt="TfBrief terminal output: summary, resource actions, and attribute diffs" style="display:block;width:auto;max-width:none;height:auto;background:#000000;border-radius:6px"/>
44
+ </div>
45
+
46
+ </details>
47
+ <!-- tfbrief-demo:end -->
48
+
49
+ ## Why TfBrief?
50
+
51
+ Hashicorp’s JSON plan is complete but awkward in **pull request checks** and **pipeline logs**. TfBrief is a small Python CLI focused on **infrastructure-as-code** workflows: operators see what will **create, update, or delete** before apply, without a JSON viewer or custom jq scripts.
52
+
53
+ Typical fit: **Terraform** modules in **GitHub Actions**, **GitLab CI**, or any job that already runs `terraform plan -out=tfplan`.
54
+
55
+ ## Install
56
+
57
+ ```bash
58
+ pip install tfbrief
59
+ ```
60
+
61
+ Requires Python 3.10+. The `tfbrief` command is on your PATH after install.
62
+
63
+ ## Usage
64
+
65
+ After `terraform plan -out=tfplan`, pipe the JSON plan into TfBrief:
66
+
67
+ ```bash
68
+ terraform show -json tfplan | tfbrief
69
+ ```
70
+
71
+ That prints the summary panel, resource table, and attribute diffs (see example above).
72
+
73
+ ### Optional: `--has-changes` (apply gate)
74
+
75
+ Same JSON input, different output — **no** formatted report. Stdout is only `true` or `false` so scripts can skip apply when the plan is empty:
76
+
77
+ ```bash
78
+ terraform show -json tfplan | tfbrief --has-changes
79
+ # true
80
+ ```
81
+
82
+ Plans with only `no-op` / `read` actions (and no output changes) print `false`. Resource or output changes print `true`. Invalid JSON prints an error to stderr and exits `1`.
83
+
84
+ Typical pattern — log for humans, gate for apply:
85
+
86
+ ```bash
87
+ terraform plan -out=tfplan
88
+ terraform show -json tfplan | tfbrief
89
+ if [ "$(terraform show -json tfplan | tfbrief --has-changes)" = "true" ]; then
90
+ terraform apply tfplan
91
+ fi
92
+ ```
93
+
94
+ You do **not** need `--has-changes` if you only want readable CI logs or apply manually.
95
+
96
+ ### GitHub Actions
97
+
98
+ ```yaml
99
+ - uses: actions/setup-python@v5
100
+ with:
101
+ python-version: "3.12"
102
+ - run: pip install -q tfbrief && terraform show -json tfplan | tfbrief
103
+ ```
104
+
105
+ Add `--has-changes` in a separate step only when a later step should run `terraform apply` conditionally.
106
+
107
+ ## Security
108
+
109
+ Redaction is **best-effort**. Treat CI logs as sensitive.
110
+
111
+ ## License
112
+
113
+ MIT — see [LICENSE](LICENSE).
@@ -0,0 +1,8 @@
1
+ tfbrief/__init__.py,sha256=a-HZqcg_SlqYXZOGUdHgFoYuyfXnWCd0YIWwOsGGGho,373
2
+ tfbrief/__main__.py,sha256=NMpuaIdayqUxBbPc7D_tHR2JIymgJZcT_RESRV6twc4,88
3
+ tfbrief/review.py,sha256=64iEDo6bg0-RwL5iXgYbppoAAucq6EtXO6H9gRSSriM,14906
4
+ tfbrief-0.1.2.dist-info/METADATA,sha256=RtZjPKc04nSg_ehFi1FMXd51TMmtfwMwdDn7FzetXMY,4344
5
+ tfbrief-0.1.2.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
6
+ tfbrief-0.1.2.dist-info/entry_points.txt,sha256=kVxqNOVvXSSvkFKGefNqwiK7ZuGTqU7GAaiBPA3WBDU,49
7
+ tfbrief-0.1.2.dist-info/licenses/LICENSE,sha256=O86ag6H9Mwsw1ci0ueQKyy4iAptnM_cvxlxyMUdGjoQ,1065
8
+ tfbrief-0.1.2.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
+ tfbrief = tfbrief.__main__:cli
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 infroware
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.