nxp_monkey.search

design / api / search

search

Kind: function.

Search parts matching query. Returns a ranked list of SearchHit. Uses the local SQLite index when present and falls back to the NXP portfolio map when the index has not been built.

Rationale

The "easy way to find parts" entry point. Partial matches are first-class: searching for "MCXA" returns every MCXA part without needing wildcards. Masked NXP keys such as MIMX9352xxxxM also match concrete orderable MPNs such as MIMX9352CVVXMAB. Fuzzy mode adds edit-ratio matches for typos and is opt-in to keep the default output predictable.

Working definition

Given a query that may be a full part number, a concrete MPN, a family root, or a typo, return the parts a human would expect to see, ordered best-first. The exact scoring is documented in the CLI design doc and may evolve.

part_variants

Kind: function.

Look up the recorded SDK variant list for one part. Wrapper for the common case of "which variants are available for this part" without constructing a PartInfo.