hildogjr / KiCost

Build cost spreadsheet for a KiCad project.
MIT License
503 stars 98 forks source link

Improve the selection for different packaging offers for partinfo #384

Closed ghost closed 4 years ago

ghost commented 4 years ago

Some distributors offer multiple packaging options like cut-tape, reel, etc. for the same part number. This patch adds some code to prefer specific options for partinfo similar as done in api_octopart.py.

This also solves the issue #376 by prefering the cut-tape options over the reel options for DigiKey by evaluating the DigiKey part number.