Skip to main content

Build cost spreadsheet for a KiCad project.

Project description

https://img.shields.io/github/workflow/status/hildogjr/KiCost/Python%20application https://img.shields.io/pypi/v/kicost.svg

KiCost script, also with Graphical User Interface - GUI, under MIT license for generate part-cost spreadsheets for circuit boards developed with KiCad and others EDAs.

KiCost is powered by the Kitspace PartInfo API. Partinfo hooks into paid-for 3rd party services. If you find KiCost useful please donate to the Kitspace Open Collective. If Kitspace doesn’t receive enough donations then this free service will have to be shut down.

https://raw.githubusercontent.com/hildogjr/KiCost/master/kicost/kitspace.png

Features

  • Easy installation via pip (see on documentation folder).

  • Processes the BOM XML file from your KiCad schematic to create a part-cost spreadsheet by scraping the web sites of several popular distributors for price and inventory data. (You can also enter your own quantity-adjusted pricing data for specialized parts or those not found at the supported distributors.);

  • Processes also BOM files from Altium, Proteus, Eagle, Upverter and hand made CSVs;

  • The spreadsheet contains quantity-adjusted pricing from each distributor for individual parts and the total board;

  • Enter the number of boards to be built in a spreadsheet cell and all the pricing for the total board and individual parts is updated;

  • The spreadsheet also shows the current inventory on-hand for each part at each distributor;

  • Enter the quantity of each part that you want to purchase from each distributor and lists of part numbers and quantities will appear in formats that you can cut-and-paste directly into the website ordering page of each distributor.

https://raw.githubusercontent.com/hildogjr/KiCost/master/docs/block_diag.png https://raw.githubusercontent.com/hildogjr/KiCost/master/docs/gui.png

Latest updates

1.1.8 (2022-05-09)

  • Add Digi-Key API

  • Add Mouser API

  • Add Farnell/Newark API (Element14)

  • Add TME API

  • Add cache for all APIs (including KitSpace and Octopart)

1.1.6 (2021-10-14)

  • Fix the Farnell import code order

  • Fix LCSC link and add BOM import links of all

  • Fix reference sorting and crashes

  • Add the user custom field capability to order quote

  • Add cell size adjust algorithm (use –max_column_width 0 to disable it)

  • Add pricing processing for subparts.

  • Add now the spreadsheet doesn’t need to be recomputed after loading.

  • Add --split_extra_fields to specify more fields to split for subparts.

  • Add --board_qty to specify the number of boards.

  • Add --force_en_us to workaround wxWidgets issues.

1.1.4 (2020-03-24)

  • Add TME and Arrow to Kitspace API.

  • Others cosmetic and internal changes.

Access https://github.com/hildogjr/KiCost/blob/master/kicost/HISTORY.rst for full development history.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kicost-1.1.8.tar.gz (353.1 kB view hashes)

Uploaded Source

Built Distribution

kicost-1.1.8-py2.py3-none-any.whl (198.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page