etlplus.utils
etlplus.utils package.
Small shared helpers used across modules.
Functions
|
Return a consistent record count for JSON-like data payloads. |
|
Return a finite |
|
Return whether value is an integer, excluding booleans. |
|
Return whether value is an |
|
Normalize configuration-like values into strings. |
|
Return named items in topological order. |
|
Return node names in topological order. |
Classes
|
Cohesive float-oriented parsing and normalization rules. |
|
Cohesive integer-oriented parsing and normalization rules. |
|
Parse required fields from mapping-style payloads. |
|
Normalize optionally mapping-like inputs into concrete mapping shapes. |
|
Dependency graph state for name-based topological sorting. |
|
Parse and classify path-like strings. |
|
Resolve secret keys from an environment-style mapping. |
|
Resolve secret keys from a local JSON/YAML mapping file. |
|
Resolve additive secret tokens with an environment-first provider model. |
|
Parse sequence-style payloads into concrete sequence types. |
|
Resolve token substitutions across nested Python containers. |
|
Resolve normalized text choices using one mapping and fallback. |
|
Normalize user-provided text and text-backed choices. |
|
Centralize tolerant scalar parsing rules for config-like payloads. |
|
StrEnum with ergonomic helpers. |
|
Centralize JSON parse, render, and print behavior. |
|
Hash one filesystem path when it exists. |
|
Validate and normalize JSON-record payloads for one data format. |
|
Collect unresolved text tokens and their stable paths in nested values. |
|
Append human-readable warnings without raising exceptions. |
|
Provider contract for resolving one secret key. |