Vendor Map Generation Script (tendril-genvmaps)

This script generates vendor maps for all recognized components in the library.

Warning

This script retrieves information from vendors. It will take some time to execute.

See also

tendril.sourcing.electronics.gen_vendor_mapfile

Script Usage

(Re)generate vendor maps.

usage: tendril-genvmaps [-h] [--version] [--all] [--force] [--lazy]
                        [VENDOR_NAME]
Positional arguments:
vendor_name Name of the vendor. Ignored for –all.
Options:
--version show program’s version number and exit
--all, -a Run for all vendors.
--force, -f Regenerate mapfile for all idents, even if is not stale.
--lazy, -l Don’t regenerate mapfile for idents which exist, even if it is stale.
tendril.scripts.genvmaps._get_parser()[source]

Constructs the CLI argument parser for the tendril-genvmaps script.

tendril.scripts.genvmaps.run(vobj=None, force=False, lazy=False)[source]

Generates vendor maps for the provided vendor.

Parameters:vobj – Vendor to generate the map for, or None for all.
tendril.scripts.genvmaps.main()[source]

The tendril-genvmaps script entry point.