[Tests] Adapted for new KiCost
- KitSpace no longer supported
This commit is contained in:
parent
7e41c722b5
commit
b1c268b4c6
|
|
@ -3,7 +3,7 @@ kicost:
|
|||
version: 1
|
||||
# Cache Time To Live in days, -1 is forever
|
||||
# Default is 7
|
||||
cache_ttl: 0
|
||||
cache_ttl: -1
|
||||
# Base directory for the APIs caches
|
||||
# cache_path: ~/.cache/kicost
|
||||
|
||||
|
|
@ -45,22 +45,17 @@ APIs:
|
|||
# cpc_country: UK
|
||||
# Directory for the APIs caches
|
||||
# cache_path: ~/.cache/kicost/Element14
|
||||
Octopart:
|
||||
# Octopart API Key
|
||||
# key: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
||||
# API level: 3 or 4
|
||||
# level: 4
|
||||
# The extended API is for the Pro plan
|
||||
# extended: false
|
||||
# Only enabled if the key is defined
|
||||
Nexar:
|
||||
# Nexar client ID
|
||||
client_id: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
||||
# Nexar client secret
|
||||
client_secret: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
||||
# Only enabled if the client_id and client_secret are defined
|
||||
# enable: false
|
||||
# Country where we are buying
|
||||
# country: US
|
||||
# Directory for the APIs caches
|
||||
# cache_path: ~/.cache/kicost/Octopart
|
||||
KitSpace:
|
||||
# Normally enabled
|
||||
# enable: true
|
||||
# Directory for the APIs caches
|
||||
cache_path: ./discard
|
||||
cache_path: ./nexar
|
||||
TME:
|
||||
# TME token (anonymous or private)
|
||||
# token: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
|
|
|
|||
|
|
@ -0,0 +1,76 @@
|
|||
# KiCost configuration file
|
||||
kicost:
|
||||
version: 1
|
||||
# Cache Time To Live in days, -1 is forever
|
||||
# Default is 7
|
||||
cache_ttl: 0
|
||||
# Base directory for the APIs caches
|
||||
# cache_path: ~/.cache/kicost
|
||||
|
||||
|
||||
APIs:
|
||||
Digi-Key:
|
||||
# Digi-Key Client ID for a registered APP
|
||||
# client_id: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
# Digi-Key Client Secret for a registered APP
|
||||
# client_secret: XXXXXXXXXXXXXXXX
|
||||
# Use the sandbox server, doesn't count the usage, but returns old data
|
||||
# sandbox: false
|
||||
# Only enabled if the client_id and client_secret are defined
|
||||
# enable: true
|
||||
# Directory for the APIs caches
|
||||
# cache_path: ~/.cache/kicost/Digi-Key
|
||||
Mouser:
|
||||
# Mouser Part API key
|
||||
# key: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
||||
# Only enabled if the key is defined
|
||||
# enable: false
|
||||
# Directory for the APIs caches
|
||||
# cache_path: ~/.cache/kicost/Mouser
|
||||
Element14:
|
||||
# Element14 includes: Farnell, Newark and CPC
|
||||
# Element14 Product Search API key
|
||||
# key: XXXXXXXXXXXXXXXXXXXXXXXX
|
||||
# Only enabled if the key is defined
|
||||
# enable: false
|
||||
# Country used for Farnell queries.
|
||||
# Supported countries: BG,CZ,DK,AT,CH,DE,IE,IL,UK,ES,EE,FI,FR,HU,IT,LT,
|
||||
# LV,BE,NL,NO,PL,PT,RO,RU,SK,SI,SE,TR,CN,AU,NZ,HK,SG,MY,PH,TH,IN,KR,VN
|
||||
# farnell_country: UK
|
||||
# Country used for Newark queries.
|
||||
# Supported countries: US,CA,MX
|
||||
# newark_country: US
|
||||
# Country used for CPC queries.
|
||||
# Supported countries: UK,IE
|
||||
# cpc_country: UK
|
||||
# Directory for the APIs caches
|
||||
# cache_path: ~/.cache/kicost/Element14
|
||||
Octopart:
|
||||
# Octopart API Key
|
||||
# key: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
||||
# API level: 3 or 4
|
||||
# level: 4
|
||||
# The extended API is for the Pro plan
|
||||
# extended: false
|
||||
# Only enabled if the key is defined
|
||||
# enable: false
|
||||
# Directory for the APIs caches
|
||||
# cache_path: ~/.cache/kicost/Octopart
|
||||
KitSpace:
|
||||
# Normally enabled
|
||||
enable: true
|
||||
# Directory for the APIs caches
|
||||
cache_path: ./discard
|
||||
TME:
|
||||
# TME token (anonymous or private)
|
||||
# token: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
# TME application secret
|
||||
# app_secret: XXXXXXXXXXXXXXXXXXXX
|
||||
# Only enabled if the token and app_secret are defined
|
||||
# enable: false
|
||||
# Country where we are buying
|
||||
# country: US
|
||||
# Language for the texts
|
||||
# language: EN
|
||||
# Directory for the APIs caches
|
||||
# cache_path: ~/.cache/kicost/TME
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -2,14 +2,14 @@
|
|||
,,,kibom-variant_2c,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,, 2021-04-06,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,Schematic:,kibom-variant_2c,,,,,Board Qty:,50,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,Variant:,default,,,,,Unit Cost:,0.002,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,Revision:,A,,,,,Total Cost:,0.1,,,,,0,0 of 1 parts found,,,,,0.61,1 of 1 parts found,,,,,0.7292,1 of 1 parts found,,,,,0,0 of 1 parts found,,,,,0.5,1 of 1 parts found,,,,,0.1,1 of 1 parts found,,,,,0,0 of 1 parts found,,,,,0,0 of 1 parts found,,,,,0,0 of 1 parts found
|
||||
,,,Variant:,default,,,,,Unit Cost:,0.012,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,Revision:,A,,,,,Total Cost:,0.6,,,,,2.35,1 of 1 parts found,,,,,0.93,1 of 1 parts found,,,,,0.9632,1 of 1 parts found,,,,,0,0 of 1 parts found,,,,,0.6,1 of 1 parts found,,,,,0.6,1 of 1 parts found,,,,,0,0 of 1 parts found,,,,,0,0 of 1 parts found,,,,,0,0 of 1 parts found
|
||||
,,,Date:,2021-04-06,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,KiCad Version:,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
|
||||
Global Part Info,,,,,,,,,,,Arrow,,,,,,Digi-Key,,,,,,Farnell,,,,,,LCSC,,,,,,Mouser,,,,,,Newark,,,,,,RS Components,,,,,,TME,,,,,,test,,,,,
|
||||
References,Value,Real value,Tolerancia,Voltage,Footprint,Manufacturer,Manufacturer P/N,Build Quantity,Unit$,Ext$,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#
|
||||
R1 R2,1k,1000,1% 5%,,,Bourns,CR0603-JW-102ELF,100,0.001,0.1,,,,,,,51387,,0.0061,1,0.61,CR0603-JW-102ELFCT-ND,55000,,0.007292,10,0.7292,2333561,,,,,,,52251,,0.005,1,0.5,652CR0603JW102ELF,110000,,0.001,1,0.1,02J2284,,,,,,,,,,,,,,,,,,
|
||||
R1 R2,1k,1000,1% 5%,,,Bourns,CR0603-JW-102ELF,100,0.006,0.6,70000,,0.0235,1,2.35,CR0603-JW-102ELF,1412546,,0.0093,1,0.93,CR0603-JW-102ELFTR-ND,13835,,0.009632,10,0.9632,2333561,,,,,,,216052,,0.006,1,0.6,652-CR0603-JW-102ELF,1242,,0.006,1,0.6,02J2284,,,,,,,,,,,,,,,,,,
|
||||
|
||||
,Used currency rates:,,,,,,,,Total Purchase:,0,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,,,,,0,
|
||||
,USD($)/GBP(£):,1.375941592305018,,,,,,,Purchase description:,,,,,,,,,,,,,,,,,,,,,"Copy this header and order to a CSV
|
||||
|
|
|
|||
|
|
|
@ -1,13 +1,13 @@
|
|||
,,,KiBot Bill of Materials,,,,,,,,,,,,,,,,,,,
|
||||
,,,Schematic:,kibom-variant_2c,,,,,Board Qty:,50,,,,,,,,,,,,
|
||||
,,,Variant:,default,,,,,Unit Cost:,0.01,,,,,,,,,,,,
|
||||
,,,Revision:,A,,,,,Total Cost:,0.5,,,,,0.5,1 of 1 parts found,,,,,0.61,1 of 1 parts found
|
||||
,,,Variant:,default,,,,,Unit Cost:,0.012,,,,,,,,,,,,
|
||||
,,,Revision:,A,,,,,Total Cost:,0.6,,,,,0.6,1 of 1 parts found,,,,,0.93,1 of 1 parts found
|
||||
,,,Date:,2021-04-06,,,,,,,,,,,,,,,,,,
|
||||
,,,KiCad Version:,,,,,,,,,,,,,,,,,,,
|
||||
|
||||
Global Part Info,,,,,,,,,,,Mouser,,,,,,Digi-Key,,,,,
|
||||
References,Value,Real value,Tolerancia,Voltage,Footprint,Manufacturer,Manufacturer P/N,Build Quantity,Unit$,Ext$,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#
|
||||
R1 R2,1k,1000,1% 5%,,,Bourns,CR0603-JW-102ELF,100,0.005,0.5,110042,,0.005,1,0.5,652CR0603JW102ELF,38625,,0.0061,1,0.61,CR0603-JW-102ELFCT-ND
|
||||
R1 R2,1k,1000,1% 5%,,,Bourns,CR0603-JW-102ELF,100,0.006,0.6,216052,,0.006,1,0.6,652-CR0603-JW-102ELF,1412546,,0.0093,1,0.93,CR0603-JW-102ELFTR-ND
|
||||
|
||||
,,,,,,,,,Total Purchase:,0,Buy here,,,,0,,Buy here,,,,0,
|
||||
Created:,,,,,,,,,Purchase description:,,,,,,,,,,,,,
|
||||
|
|
|
|||
|
|
|
@ -1,13 +1,13 @@
|
|||
,,,KiBot Bill of Materials,,,,,,,,,,,,,,,,,,,
|
||||
,,,Schematic:,kibom-variant_2c,,,,,Board Qty:,50,,,,,,,,,,,,
|
||||
,,,Variant:,default,,,,,Unit Cost:,0.0332,,,,,,,,,,,,
|
||||
,,,Revision:,A,,,,,Total Cost:,1.66,,,,,1.8,1 of 1 parts found,,,,,1.66,1 of 1 parts found
|
||||
,,,Variant:,default,,,,,Unit Cost:,0.0292,,,,,,,,,,,,
|
||||
,,,Revision:,A,,,,,Total Cost:,1.46,,,,,1.5,1 of 1 parts found,,,,,1.46,1 of 1 parts found
|
||||
,,,Date:,2021-04-06,,,,,,,,,,,,,,,,,,
|
||||
,,,KiCad Version:,,,,,,,,,,,,,,,,,,,
|
||||
|
||||
Global Part Info,,,,,,,,,,,Mouser,,,,,,Digi-Key,,,,,
|
||||
References,Value,Real value,Tolerancia,Voltage,Footprint,Manufacturer,Manufacturer P/N,Build Quantity,Unit$,Ext$,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#
|
||||
C1 C2,1nF, 1000pF,20%,50 V 100 V,,Samsung,CL10B102KC8NNNC,100,0.0166,1.66,NonStk,,0.018,1,1.8,187CL10B102KC8NNNC,NonStk,,0.0166,1,1.66,1276-1131-1-ND
|
||||
C1 C2,1nF, 1000pF,20%,50 V 100 V,,Samsung,CL10B102KC8NNNC,100,0.0146,1.46,313811,,0.015,1,1.5,187-CL10B102KC8NNNC,753814,,0.0146,1,1.46,1276-1131-2-ND
|
||||
|
||||
,,,,,,,,,Total Purchase:,0,Buy here,,,,0,,Buy here,,,,0,
|
||||
Created:,,,,,,,,,Purchase description:,,,,,,,,,,,,,
|
||||
|
|
|
|||
|
|
|
@ -2,14 +2,14 @@
|
|||
,,,kibom-variant_2c,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,, 2021-04-06,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,Schematic:,kibom-variant_2c,,,,,Board Qty:,50,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,Variant:,default,,,,,Unit Cost:,0.0098,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,Revision:,A,,,,,Total Cost:,0.49,,,,,0,0 of 1 parts found,,,,,1.66,1 of 1 parts found,,,,,2.0089,1 of 1 parts found,,,,,0.49,1 of 1 parts found,,,,,1.8,1 of 1 parts found,,,,,1.8,1 of 1 parts found,,,,,0,1 of 1 parts found,,,,,2.2725,1 of 1 parts found,,,,,0,0 of 1 parts found
|
||||
,,,Variant:,default,,,,,Unit Cost:,0.009,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,Revision:,A,,,,,Total Cost:,0.45,,,,,1.42,1 of 1 parts found,,,,,1.46,1 of 1 parts found,,,,,0.7705,1 of 1 parts found,,,,,0.45,1 of 1 parts found,,,,,1.5,1 of 1 parts found,,,,,6.8,1 of 1 parts found,,,,,0,0 of 1 parts found,,,,,1.5554,1 of 1 parts found,,,,,0,0 of 1 parts found
|
||||
,,,Date:,2021-04-06,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,KiCad Version:,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
|
||||
Global Part Info,,,,,,,,,,,Arrow,,,,,,Digi-Key,,,,,,Farnell,,,,,,LCSC,,,,,,Mouser,,,,,,Newark,,,,,,RS Components,,,,,,TME,,,,,,test,,,,,
|
||||
References,Value,Real value,Tolerancia,Voltage,Footprint,Manufacturer,Manufacturer P/N,Build Quantity,Unit$,Ext$,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#
|
||||
C1 C2,1nF, 1000pF,20%,50 V 100 V,,Samsung,CL10B102KC8NNNC,100,0.0049,0.49,,,,,,,NonStk,,0.0166,1,1.66,1276-1131-1-ND,3860,,0.020089,10,2.0089,3013404,542250,,0.0049,50,0.49,C153291,NonStk,,0.018,1,1.8,187CL10B102KC8NNNC,19600,,0.018,1,1.8,82AC9311,NonStk,,,4000,,7665480,5789,,0.022725,100,2.2725,CL10B102KC8NNNC,,,,,,
|
||||
C1 C2,1nF, 1000pF,20%,50 V 100 V,,Samsung,CL10B102KC8NNNC,100,0.0045,0.45,8870,,0.0142,1,1.42,CL10B102KC8NNNC,753814,,0.0146,1,1.46,1276-1131-2-ND,6,,0.007705,10,0.7705,3013404,34300,,0.0045,100,0.45,C153291,313811,,0.015,1,1.5,187-CL10B102KC8NNNC,4489,,0.068,1,6.8,82AC9311,,,,,,,34400,,0.015554,100,1.5554,CL10B102KC8NNNC,,,,,,
|
||||
|
||||
,Used currency rates:,,,,,,,,Total Purchase:,0,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,,,,,0,
|
||||
,USD($)/EUR(€):,1.1873,,,,,,,Purchase description:,,,,,,,,,,,,,,,,,,,,,"Copy this header and order to a CSV
|
||||
|
|
|
|||
|
|
|
@ -1,2 +1,2 @@
|
|||
References,case_package,case_package_si,packaging,pin_count,power_rating,reach_svhc_compliance,resistance,resistance_tolerance,rohs_status,size_length,size_thickness,size_width,temperature_coefficient,voltage_rating_dc
|
||||
R1 R2,0603,1608,"Cut Tape (CT), Tape & Reel (TR)",2,100 mW,No SVHC,1.00 kΩ,±5%,Compliant,1.60 mm,457 µm,787 µm,-200 ppm/°C to 200 ppm/°C,50.0 V
|
||||
References,Case Code (Imperial),Case Code (Metric),Case/Package,Composition,Contact Plating,Depth,Features,Height,Length,Max Operating Temperature,Max Power Dissipation,Military Standard,Min Operating Temperature,Mount,Number of Pins,Number of Terminations,Packaging,Power Rating,REACH SVHC,Radiation Hardening,Resistance,RoHS,Schedule B,Temperature Coefficient,Termination,Thickness,Tolerance,Voltage Rating,Voltage Rating (DC),Width
|
||||
R1 R2,,,,Thick Film,,800 µm,Moisture Resistant,550 µm,1.6 mm,,,,,Surface Mount,,,Cut Tape,,,,1 kΩ,Compliant,,,SMD/SMT,457 µm,5 %,,,800 µm
|
||||
|
|
|
|||
|
|
|
@ -1,2 +1,2 @@
|
|||
References,capacitance,capacitance_tolerance,case_package,dielectric_characteristic,lead_free_status,mounting_style,operating_temperature,rohs_status,voltage_rating_dc
|
||||
C1 C2,1.00 nF,±10%,0603,X7R,Lead Free,Surface Mount,-55.0 °C (min),Compliant,100 V
|
||||
References,Capacitance,Case Code (Imperial),Case Code (Metric),Case/Package,Contact Plating,Depth,Dielectric,Height,Lead Free,Length,Lifecycle Status,Material,Max Operating Temperature,Min Operating Temperature,Mount,Radiation Hardening,RoHS,Schedule B,Thickness,Tolerance,Voltage,Voltage Rating,Voltage Rating (DC),Width
|
||||
C1 C2,1 nF,,,,,800 µm,X7R,800 µm,,1.6 mm,,Ceramic,,,Surface Mount,,Compliant,,889 µm,10 %,100 V,,,787.4 µm
|
||||
|
|
|
|||
|
|
|
@ -0,0 +1,22 @@
|
|||
,,,KiBot Bill of Materials,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,kibom-variant_2c,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,, 2021-04-06,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,Schematic:,kibom-variant_2c,,,,,Board Qty:,50,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,Variant:,default,,,,,Unit Cost:,0.002,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,Revision:,A,,,,,Total Cost:,0.1,,,,,0,0 of 1 parts found,,,,,0.61,1 of 1 parts found,,,,,0.7292,1 of 1 parts found,,,,,0,0 of 1 parts found,,,,,0.5,1 of 1 parts found,,,,,0.1,1 of 1 parts found,,,,,0,0 of 1 parts found,,,,,0,0 of 1 parts found,,,,,0,0 of 1 parts found
|
||||
,,,Date:,2021-04-06,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,KiCad Version:,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
|
||||
Global Part Info,,,,,,,,,,,Arrow,,,,,,Digi-Key,,,,,,Farnell,,,,,,LCSC,,,,,,Mouser,,,,,,Newark,,,,,,RS Components,,,,,,TME,,,,,,test,,,,,
|
||||
References,Value,Real value,Tolerancia,Voltage,Footprint,Manufacturer,Manufacturer P/N,Build Quantity,Unit$,Ext$,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#
|
||||
R1 R2,1k,1000,1% 5%,,,Bourns,CR0603-JW-102ELF,100,0.001,0.1,,,,,,,51387,,0.0061,1,0.61,CR0603-JW-102ELFCT-ND,55000,,0.007292,10,0.7292,2333561,,,,,,,52251,,0.005,1,0.5,652CR0603JW102ELF,110000,,0.001,1,0.1,02J2284,,,,,,,,,,,,,,,,,,
|
||||
|
||||
,Used currency rates:,,,,,,,,Total Purchase:,0,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,,,,,0,
|
||||
,USD($)/GBP(£):,1.375941592305018,,,,,,,Purchase description:,,,,,,,,,,,,,,,,,,,,,"Copy this header and order to a CSV
|
||||
file and use it for JLCPCB
|
||||
manufacturer PCB house.
|
||||
The multipart components that use
|
||||
""#"" symbol are not allowed by JLCPCB.",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
|
||||
Created:,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
KiCost,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
,,,KiBot Bill of Materials,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,kibom-variant_2c,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,, 2021-04-06,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,Schematic:,kibom-variant_2c,,,,,Board Qty:,50,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,Variant:,default,,,,,Unit Cost:,0.0098,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,Revision:,A,,,,,Total Cost:,0.49,,,,,0,0 of 1 parts found,,,,,1.66,1 of 1 parts found,,,,,2.0089,1 of 1 parts found,,,,,0.49,1 of 1 parts found,,,,,1.8,1 of 1 parts found,,,,,1.8,1 of 1 parts found,,,,,0,1 of 1 parts found,,,,,2.2725,1 of 1 parts found,,,,,0,0 of 1 parts found
|
||||
,,,Date:,2021-04-06,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,KiCad Version:,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
|
||||
Global Part Info,,,,,,,,,,,Arrow,,,,,,Digi-Key,,,,,,Farnell,,,,,,LCSC,,,,,,Mouser,,,,,,Newark,,,,,,RS Components,,,,,,TME,,,,,,test,,,,,
|
||||
References,Value,Real value,Tolerancia,Voltage,Footprint,Manufacturer,Manufacturer P/N,Build Quantity,Unit$,Ext$,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#
|
||||
C1 C2,1nF, 1000pF,20%,50 V 100 V,,Samsung,CL10B102KC8NNNC,100,0.0049,0.49,,,,,,,NonStk,,0.0166,1,1.66,1276-1131-1-ND,3860,,0.020089,10,2.0089,3013404,542250,,0.0049,50,0.49,C153291,NonStk,,0.018,1,1.8,187CL10B102KC8NNNC,19600,,0.018,1,1.8,82AC9311,NonStk,,,4000,,7665480,5789,,0.022725,100,2.2725,CL10B102KC8NNNC,,,,,,
|
||||
|
||||
,Used currency rates:,,,,,,,,Total Purchase:,0,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,,,,,0,
|
||||
,USD($)/EUR(€):,1.1873,,,,,,,Purchase description:,,,,,,,,,,,,,,,,,,,,,"Copy this header and order to a CSV
|
||||
file and use it for JLCPCB
|
||||
manufacturer PCB house.
|
||||
The multipart components that use
|
||||
""#"" symbol are not allowed by JLCPCB.",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,USD($)/GBP(£):,1.375941592305018,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
Created:,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
KiCost,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
References,case_package,case_package_si,packaging,pin_count,power_rating,reach_svhc_compliance,resistance,resistance_tolerance,rohs_status,size_length,size_thickness,size_width,temperature_coefficient,voltage_rating_dc
|
||||
R1 R2,0603,1608,"Cut Tape (CT), Tape & Reel (TR)",2,100 mW,No SVHC,1.00 kΩ,±5%,Compliant,1.60 mm,457 µm,787 µm,-200 ppm/°C to 200 ppm/°C,50.0 V
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
References,capacitance,capacitance_tolerance,case_package,dielectric_characteristic,lead_free_status,mounting_style,operating_temperature,rohs_status,voltage_rating_dc
|
||||
C1 C2,1.00 nF,±10%,0603,X7R,Lead Free,Surface Mount,-55.0 °C (min),Compliant,100 V
|
||||
|
|
|
@ -3,46 +3,46 @@
|
|||
,,,KiCad Version:,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
|
||||
,,,merge_1,,,,,Board Qty0:,50,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,Schematic:,merge_1,,,,Unit Cost0:,0.0452,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,Revision:,,,,,Total Cost0:,2.26,,,,,0,0 of 3 parts found,,,,,3.905,3 of 3 parts found,,,,,5828.8395,3 of 3 parts found,,,,,0.505,2 of 3 parts found,,,,,3.2,3 of 3 parts found,,,,,3.6,3 of 3 parts found,,,,,5.3662,2 of 3 parts found,,,,,9.1617,3 of 3 parts found
|
||||
,,,Schematic:,merge_1,,,,Unit Cost0:,0.0712,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,Revision:,,,,,Total Cost0:,3.56,,,,,2.94,3 of 3 parts found,,,,,3.65,3 of 3 parts found,,,,,4.6438,3 of 3 parts found,,,,,0.395,2 of 3 parts found,,,,,3.7,3 of 3 parts found,,,,,5.95,3 of 3 parts found,,,,,0,0 of 3 parts found,,,,,10.2072,3 of 3 parts found
|
||||
,,,Date:,2021-05-11_13-08-20,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,Company:,Test company,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,ID:,prj0:,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,merge_2,,,,,Board Qty1:,20,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,Schematic:,2nd project,,,,Unit Cost1:,0.0542,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,Revision:,,,,,Total Cost1:,1.084,,,,,0,0 of 4 parts found,,,,,1.852,4 of 4 parts found,,,,,2332.1467,4 of 4 parts found,,,,,0.202,2 of 4 parts found,,,,,1.48,4 of 4 parts found,,,,,1.62,4 of 4 parts found,,,,,2.229,3 of 4 parts found,,,,,4.22,4 of 4 parts found
|
||||
,,,Schematic:,2nd project,,,,Unit Cost1:,0.083,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,Revision:,,,,,Total Cost1:,1.66,,,,,1.412,4 of 4 parts found,,,,,1.7,4 of 4 parts found,,,,,2.141,4 of 4 parts found,,,,,0.158,2 of 4 parts found,,,,,1.72,4 of 4 parts found,,,,,2.68,4 of 4 parts found,,,,,0,0 of 4 parts found,,,,,4.4198,4 of 4 parts found
|
||||
,,,Date:,2021-05-11_13-10-07,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,ID:,prj1:,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
|
||||
,,,merge_3,,,,,Board Qty2:,30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,Schematic:,merge_3,,,,Unit Cost2:,0.045,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,Revision:,,,,,Total Cost2:,1.35,,,,,0,0 of 2 parts found,,,,,2.175,2 of 2 parts found,,,,,4.1072,2 of 2 parts found,,,,,0,0 of 2 parts found,,,,,1.47,2 of 2 parts found,,,,,1.35,2 of 2 parts found,,,,,0.6192,2 of 2 parts found,,,,,4.43,2 of 2 parts found
|
||||
,,,Schematic:,merge_3,,,,Unit Cost2:,0.0586,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,Revision:,,,,,Total Cost2:,1.758,,,,,1.758,2 of 2 parts found,,,,,1.8,2 of 2 parts found,,,,,2.2043,2 of 2 parts found,,,,,0,0 of 2 parts found,,,,,1.8,2 of 2 parts found,,,,,2.61,2 of 2 parts found,,,,,0,0 of 2 parts found,,,,,3.2157,2 of 2 parts found
|
||||
,,,Date:,2021-05-11_13-10-48,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,ID:,prj2:,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
|
||||
,,,,,,,,Total Prjs Cost:,4.694,,,,,0,0 of 4 parts found,,,,,7.932,4 of 4 parts found,,,,,8165.0933,4 of 4 parts found,,,,,0.546,2 of 4 parts found,,,,,6.15,4 of 4 parts found,,,,,6.57,4 of 4 parts found,,,,,6.6458,3 of 4 parts found,,,,,16.7599,4 of 4 parts found
|
||||
,,,,,,,,Total Prjs Cost:,6.978,,,,,5.858,4 of 4 parts found,,,,,7.15,4 of 4 parts found,,,,,8.989,4 of 4 parts found,,,,,0,2 of 4 parts found,,,,,7.22,4 of 4 parts found,,,,,10.47,4 of 4 parts found,,,,,0,0 of 4 parts found,,,,,16.3551,4 of 4 parts found
|
||||
Global Part Info,,,,,,,,,,Arrow,,,,,,Digi-Key,,,,,,Farnell,,,,,,LCSC,,,,,,Mouser,,,,,,Newark,,,,,,RS Components,,,,,,TME,,,,,
|
||||
References,Value,Footprint,Manufacturer P/N,Qty.Prj0,Qty.Prj1,Qty.Prj2,Build Quantity,Unit$,Ext$,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#,Avail,Purch,Unit$,MOQ,Ext$,Cat#
|
||||
"prj0:C1
|
||||
prj1:C2",1nF,,GRM1555C1H102JA01D,50,20,0,70,0.0078,0.546,,,,,,,3602377,,0.0242,1,1.694,490-3244-1-ND,NonStk,,116.514734,1,8156.0314,1118130,13600,,0.0078,50,0.546,C76947,NonStk,,0.026,1,1.82,81GRM1555C1H102JA1D,NonStk,,0.034,10,2.38,38K1651,2000,,0.09494,50,6.6458,6242913,100700,,0.058409,50,4.0886,GRM1555C1H102JA01D
|
||||
prj1:C2",1nF,,GRM1555C1H102JA01D,50,20,0,70,0.0206,1.442,3190000,,0.021,1,1.47,GRM1555C1H102JA01D,25106085,,0.0206,1,1.442,490-3244-2-ND,90000,,0.024629,10,1.7241,8819556,625044,,,100,,C76947,1886448,,0.021,1,1.47,81-GRM1555C1H102JA1D,90000,,0.027,1,1.89,38K1651,,,,,,,85580,,0.063497,50,4.4448,GRM1555C1H102JA01D
|
||||
"prj1:C1
|
||||
prj0:C2",10nF,,GRM155R71E103KA01D,50,20,0,70,0.0104,0.728,,,,,,,2329523,,0.0104,1,0.728,490-1312-1-ND,10000,,0.017887,1,1.2521,1118150,133200,,,100,,C77013,42743,,0.011,1,0.77,81GRM36X103K25,10000,,0.011,1,0.77,37K6460,,,,,,,124600,,,100,,GRM155R71E103KA01D
|
||||
prj0:C2",10nF,,GRM155R71E103KA01D,50,20,0,70,0.0164,1.148,590000,,,10000,,GRM155R71E103KA01D,12826631,,0.0164,1,1.148,490-1312-2-ND,NonStk,,0.017887,1,1.2521,1118150,383000,,,100,,C77013,3459853,,0.017,1,1.19,81-GRM36X103K25,NonStk,,,10000,,37K6460,,,,,,,35800,,,100,,GRM155R71E103KA01D
|
||||
"prj0:R1-R3
|
||||
prj1:R2-R4
|
||||
prj2:R5",1k,,RC0805JR-071KL,150,60,30,240,0.009,2.16,,,,,,,512,,0.0145,1,3.48,311-1.0KARCT-ND,47623,,0.014723,1,3.5334,1799479,,,,,,,192935,,0.009,1,2.16,603RC0805JR071KL,1498,,0.009,1,2.16,68R0253,2100,,,5000,,1995761,17400,,0.0366,100,8.784,RC0805JR071K
|
||||
prj2:R5",1k,,RC0805JR-071KL,150,60,30,240,0.0114,2.736,120000,,0.0114,1,2.736,RC0805JR-071KL,1634060,,0.012,1,2.88,311-1.0KARTR-ND,566830,,0.016786,10,4.0288,9234004,,,,,,,796409,,0.012,1,2.88,603-RC0805JR-071KL,566830,,0.027,1,6.48,68R0253,,,,,,,92400,,0.039798,100,9.5516,RC0805JR-071K
|
||||
"prj1:R1
|
||||
prj2:R1-R4",10k,,RC0805JR-0710KL,0,20,120,140,0.009,1.26,,,,,,,5497493,,0.0145,1,2.03,311-10KARCT-ND,22848,,0.030546,1,4.2764,2131807,,,,,,,2294842,,0.01,1,1.4,603RC0805JR0710KL,10000,,0.009,1,1.26,80K7383,3800,,,5000,,1995759,240800,,0.027767,100,3.8873,RC0805JR0710K
|
||||
prj2:R1-R4",10k,,RC0805JR-0710KL,0,20,120,140,0.0118,1.652,230000,,0.0118,1,1.652,RC0805JR-0710KL,1298629,,0.012,1,1.68,311-10KARTR-ND,949261,,0.014172,10,1.9841,9234136,,,,,,,1921502,,0.012,1,1.68,603-RC0805JR-0710KL,1967,,0.015,1,2.1,80K7383,,,,,,,146100,,0.016848,100,2.3587,RC0805JR-0710K
|
||||
|
||||
,Used currency rates:,,,,,,,Total Purchase:,0,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,,Buy here,,,,0,
|
||||
,USD($)/GBP(£):,1.375941592305018,,,,,,Purchase description:,,,,,,,,,,,,,,,,,,,,,"Copy this header and order to a CSV
|
||||
,USD($)/EUR(€):,1.1873,,,,,,Purchase description:,,,,,,,,,,,,,,,,,,,,,"Copy this header and order to a CSV
|
||||
file and use it for JLCPCB
|
||||
manufacturer PCB house.
|
||||
The multipart components that use
|
||||
""#"" symbol are not allowed by JLCPCB.",,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,USD($)/GBP(£):,1.375941592305018,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
|
||||
Created:,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
KiCost,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
|
||||
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,,,,,,,,,0,,,,,,0,,,,,,0,,,,,,0,,,,,,0,,,,,,0,,,,,,0,,,,,,0,,,,
|
||||
,,,,,,,,,,,0,,,,,,0,,,,,,0,,,,,,0,,,,,,0,,,,,,0,,,,,,0,,,,,,0,,,,
|
||||
|
|
|
|||
|
|
|
@ -86,13 +86,13 @@ def test_kicost_bom_simple(test_dir):
|
|||
ctx.expect_out_file_d(output)
|
||||
convert2csv(ctx, output, sheet='Costs')
|
||||
csv = output[:-4]+'csv'
|
||||
ctx.compare_txt_d2(csv)
|
||||
ctx.compare_txt_d2(csv, 'ks_'+csv)
|
||||
convert2csv(ctx, output, sheet='Costs (DNF)')
|
||||
ctx.compare_txt_d2(csv, output[:-5]+'_dnf.csv')
|
||||
ctx.compare_txt_d2(csv, 'ks_'+output[:-5]+'_dnf.csv')
|
||||
convert2csv(ctx, output, sheet='Specs')
|
||||
ctx.compare_txt_d2(csv, output[:-5]+'_spec.csv')
|
||||
ctx.compare_txt_d2(csv, 'ks_'+output[:-5]+'_spec.csv')
|
||||
convert2csv(ctx, output, sheet='Specs (DNF)')
|
||||
ctx.compare_txt_d2(csv, output[:-5]+'_spec_dnf.csv')
|
||||
ctx.compare_txt_d2(csv, 'ks_'+output[:-5]+'_spec_dnf.csv')
|
||||
ctx.clean_up()
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -36,6 +36,6 @@ outputs:
|
|||
- 'Voltage'
|
||||
xlsx:
|
||||
kicost: true
|
||||
kicost_config: tests/data/kicost_default_config.yaml
|
||||
kicost_config: tests/data/kicost_kitspace_config.yaml
|
||||
specs: true
|
||||
extra_info: ['%f', ' %d']
|
||||
|
|
|
|||
Loading…
Reference in New Issue