headson 0.5.2__cp310-abi3-macosx_11_0_arm64.whl → 0.5.3__cp310-abi3-macosx_11_0_arm64.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 headson might be problematic. Click here for more details.
- headson/headson.abi3.so +0 -0
- {headson-0.5.2.dist-info → headson-0.5.3.dist-info}/METADATA +5 -4
- headson-0.5.3.dist-info/RECORD +6 -0
- headson-0.5.2.dist-info/RECORD +0 -6
- {headson-0.5.2.dist-info → headson-0.5.3.dist-info}/WHEEL +0 -0
- {headson-0.5.2.dist-info → headson-0.5.3.dist-info}/licenses/LICENSE +0 -0
headson/headson.abi3.so
CHANGED
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: headson
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.3
|
|
4
4
|
Classifier: Programming Language :: Python
|
|
5
5
|
Classifier: Programming Language :: Python :: 3
|
|
6
6
|
Classifier: Programming Language :: Rust
|
|
@@ -58,8 +58,9 @@ If you’re comfortable with tools like `head` and `tail`, use `headson` when yo
|
|
|
58
58
|
|
|
59
59
|
Common flags:
|
|
60
60
|
|
|
61
|
-
- `-n, --budget <BYTES>`: per‑file output budget. When multiple input files are provided, the total budget equals `<BYTES> * number_of_inputs`.
|
|
62
|
-
- `-N, --global-budget <BYTES>`: total output budget across all inputs. Useful when you want a fixed-size preview across many files (may omit entire files).
|
|
61
|
+
- `-n, --budget <BYTES>`: per‑file output budget. When multiple input files are provided, the default total budget equals `<BYTES> * number_of_inputs`.
|
|
62
|
+
- `-N, --global-budget <BYTES>`: total output budget across all inputs. Useful when you want a fixed-size preview across many files (may omit entire files).
|
|
63
|
+
- When used together with `--budget`, the final total budget is `min(global, per_file * number_of_inputs)`. Files are only truncated if they don't fit into this final global limit, and no single file expands beyond the per‑file budget.
|
|
63
64
|
- `-f, --template <json|pseudo|js>`: output style (default: `pseudo`)
|
|
64
65
|
- `-m, --compact`: no indentation, no spaces, no newlines
|
|
65
66
|
- `--no-newline`: single line output
|
|
@@ -167,7 +168,7 @@ print(
|
|
|
167
168
|
|
|
168
169
|
# Algorithm
|
|
169
170
|
|
|
170
|
-

|
|
171
|
+

|
|
171
172
|
|
|
172
173
|
## Footnotes
|
|
173
174
|
- <sup><b>[1]</b></sup> <b>Optimized tree representation</b>: An arena‑style tree stored in flat, contiguous buffers. Each node records its kind and value plus index ranges into shared child and key arrays. Arrays are ingested in a single pass and may be deterministically pre‑sampled: the first element is always kept; additional elements are selected via a fixed per‑index inclusion test; for kept elements, original indices are stored and full lengths are counted. This enables accurate omission info and internal gap markers later, while minimizing pointer chasing.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
headson-0.5.3.dist-info/METADATA,sha256=K4NeyheAWgMcRn7lk0w5ec6sVoMtO_QnkpO_UaEDuMw,8529
|
|
2
|
+
headson-0.5.3.dist-info/WHEEL,sha256=-lwEpi49KOTCcgx48T3fLSP8Dxynwa-iRMZNo-JZaqc,103
|
|
3
|
+
headson-0.5.3.dist-info/licenses/LICENSE,sha256=GZ9row3L2LsnOSbEuGMQZ0zKOIEd5tHr76cZHpg4KK8,1072
|
|
4
|
+
headson/__init__.py,sha256=8DXFB8ahlywyQXJsscl3w_wgbcQi7sj7zEuV28wR60E,187
|
|
5
|
+
headson/headson.abi3.so,sha256=ENRkGrOY31NNISdSQXMfKB88WM3kjYWiTp1nu6U05kE,604752
|
|
6
|
+
headson-0.5.3.dist-info/RECORD,,
|
headson-0.5.2.dist-info/RECORD
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
headson-0.5.2.dist-info/METADATA,sha256=lK92oHOsJnM4sbZYRpY4Fp1j7ueyG9QFZE1RH1emr2o,8262
|
|
2
|
-
headson-0.5.2.dist-info/WHEEL,sha256=-lwEpi49KOTCcgx48T3fLSP8Dxynwa-iRMZNo-JZaqc,103
|
|
3
|
-
headson-0.5.2.dist-info/licenses/LICENSE,sha256=GZ9row3L2LsnOSbEuGMQZ0zKOIEd5tHr76cZHpg4KK8,1072
|
|
4
|
-
headson/__init__.py,sha256=8DXFB8ahlywyQXJsscl3w_wgbcQi7sj7zEuV28wR60E,187
|
|
5
|
-
headson/headson.abi3.so,sha256=oghWxiBoIzGY-WMbDSe8v5bqXGZCf6hx5v47mEN_5x0,604752
|
|
6
|
-
headson-0.5.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|