allspiceio/Generate BOM for a System Capture project with part data from an external DeHDL library repository

Generate a "complete BOM" for the project, fetching part data from an external DeHDL repository, and attach it as an artifact to the run. Works for System Capture projects.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
bom_fileAn input BOM file generated by py-allspice yes
library_pathPath (directory) to the root of a DeHDL / System Capture part library repository containing one or more *.ptf files. You can checkout a separate repo into a subdirectory and point here. yes
part_number_column_nameColumn header in the input BOM whose values will be matched against a column in the PTF files (see search_ptf_column_name). yes
part_type_column_nameColumn header in the input BOM whose values correspond to the PART type (the token after PART in the PTF file). Used to select which PTF file to search. yes
search_ptf_column_nameColumn header inside each PTF file to search for (e.g. AML, PART_NUMBER, VALUE). Must exactly match one of the parsed PTF title row entries. yes
include_ptf_columnsComma separated list of column names from the PTF file whose values you want to copy into the BOM for each matched part. Order must align with add_bom_columns. yes
add_bom_columnsComma separated list of column names to create (append) in the output BOM that will receive the corresponding values from include_ptf_columns. yes
output_pathPath to the output fileyescomplete_bom.csv

no outputs