20 projects
minimindslab-json-deep-diff
Deterministically compare two JSON-compatible Python values or JSON strings recursively and report added, removed, and changed paths.
minimindslab-json-number-normalize
Normalize number-like JSON values in parsed Python data structures to a consistent representation for stable comparisons and snapshots.
minimindslab-json-pointer
Parse, validate, and resolve RFC 6901 JSON Pointer paths against Python dict/list structures.
minimindslab-key-value-parse
Parse simple key=value text into a deterministic mapping with configurable comment and blank-line handling.
minimindslab-key-value-sort
Deterministically sort flat key-value mappings by key, with optional case-insensitive ordering and stable output for reproducible config/text generation.
minimindslab-line-endings
Normalize and detect text line endings across LF, CRLF, and CR with optional trailing-newline control.
minimindslab-list-chunk
Deterministically split Python sequences or plain iterables into fixed-size chunks, with optional strict validation for positive chunk sizes.
minimindslab-ordered-set-diff
Deterministically compare two iterable inputs as ordered de-duplicated sequences and report added, removed, and common items while preserving first-seen order.
minimindslab-path-compress
Deterministically normalize and compress filesystem-like path strings by collapsing repeated separators, resolving . and .. segments lexically, and preserving absolute-vs-relative form.
minimindslab-path-glob-filter
Pure-Python helpers to filter relative file paths by simple include/exclude glob rules with deterministic matching order.
minimindslab-record-integer-summary
Summarize one named integer field across {records:[objects]} with count, sum, min, max, and optional missing/non-integer counts.
minimindslab-csv-cell-trim
Trim leading and trailing whitespace from every cell in CSV-like row data while preserving row structure and quoted empty fields.
minimindslab-semver-range
Parse and evaluate simple semantic version ranges against version strings without external dependencies.
minimindslab-shell-quote
Deterministically escape and unescape POSIX shell arguments and command lines for offline text processing.
minimindslab-tag-normalize
Normalize comma-separated tag strings into a deterministic unique list or canonical joined string by trimming whitespace, lowercasing optionally, dropping empties, and preserving first-seen order.
minimindslab-yaml-front-matter
Parse and emit simple YAML front matter blocks in plain text files, returning the extracted metadata and body without requiring PyYAML.
minimindslab-textwrap-preserve
Wrap plain text while preserving existing paragraph breaks, bullet indentation, and blank lines.
minimindslab-toml-sort
Deterministically sort TOML keys in a stable, human-friendly order while preserving values and comments as much as possible within a tiny pure-Python scope.
minimindslab-url-query-sort
Deterministically parse, normalize, and re-serialize URL query strings with stable key ordering and optional value sorting.
minimindslab-blank-line-collapse
Collapse repeated blank lines in text while preserving at most one blank line between non-empty lines.