aboutsummaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
Diffstat (limited to 'demo')
-rw-r--r--demo/doit/dodo.py6
-rw-r--r--demo/doit/ee/digikey-resolved-parts/data-set.ini3
-rw-r--r--demo/doit/ee/digikey-resolved-parts/digikey-part-stub/493-4771-1-ND.ini8
-rw-r--r--demo/doit/ee/digikey-resolved-parts/digikey-part-stub/BC2AAPC-ND.ini9
-rw-r--r--demo/doit/ee/digikey-resolved-parts/digikey-part-stub/RMCF1206JT10K0CT-ND.ini8
5 files changed, 34 insertions, 0 deletions
diff --git a/demo/doit/dodo.py b/demo/doit/dodo.py
index 145c0a7..15b31c0 100644
--- a/demo/doit/dodo.py
+++ b/demo/doit/dodo.py
@@ -1,7 +1,11 @@
+import ee.bom.doit
+import ee.digikey.doit
import ee.doit
import ee.kicad.doit
# noinspection PyUnresolvedReferences
from ee.bom.doit import *
+# noinspection PyUnresolvedReferences
+from ee.digikey.doit import *
from ee.kicad.doit import *
prj = "demo"
@@ -30,6 +34,8 @@ ee.bom.doit.init(
data_set_manager=dsm,
)
+ee.digikey.doit.doit_config.configure(data_set_manager=dsm)
+
def task_orders():
data_sets = [ee.bom.doit.output_data_set_for_task(task_bom)]
diff --git a/demo/doit/ee/digikey-resolved-parts/data-set.ini b/demo/doit/ee/digikey-resolved-parts/data-set.ini
new file mode 100644
index 0000000..870a079
--- /dev/null
+++ b/demo/doit/ee/digikey-resolved-parts/data-set.ini
@@ -0,0 +1,3 @@
+[data-set]
+name = digikey-resolved-parts
+
diff --git a/demo/doit/ee/digikey-resolved-parts/digikey-part-stub/493-4771-1-ND.ini b/demo/doit/ee/digikey-resolved-parts/digikey-part-stub/493-4771-1-ND.ini
new file mode 100644
index 0000000..3cfb7d9
--- /dev/null
+++ b/demo/doit/ee/digikey-resolved-parts/digikey-part-stub/493-4771-1-ND.ini
@@ -0,0 +1,8 @@
+[meta]
+type = digikey-part-stub
+
+[values]
+part-number = 493-4771-1-ND
+mpn = UCA2G100MPD1TD
+url = /product-detail/en/nichicon/UCA2G100MPD1TD/493-4771-1-ND/3129112
+
diff --git a/demo/doit/ee/digikey-resolved-parts/digikey-part-stub/BC2AAPC-ND.ini b/demo/doit/ee/digikey-resolved-parts/digikey-part-stub/BC2AAPC-ND.ini
new file mode 100644
index 0000000..013dae3
--- /dev/null
+++ b/demo/doit/ee/digikey-resolved-parts/digikey-part-stub/BC2AAPC-ND.ini
@@ -0,0 +1,9 @@
+[meta]
+type = digikey-part-stub
+
+[values]
+part-number = BC2AAPC-ND
+mpn = BC2AAPC
+url = https://www.digikey.com/product-detail/en/mpd-memory-protection-devices/BC2AAPC/BC2AAPC-ND/455777
+description = EMITTER IR 940NM 100MA RADIAL
+
diff --git a/demo/doit/ee/digikey-resolved-parts/digikey-part-stub/RMCF1206JT10K0CT-ND.ini b/demo/doit/ee/digikey-resolved-parts/digikey-part-stub/RMCF1206JT10K0CT-ND.ini
new file mode 100644
index 0000000..86a5504
--- /dev/null
+++ b/demo/doit/ee/digikey-resolved-parts/digikey-part-stub/RMCF1206JT10K0CT-ND.ini
@@ -0,0 +1,8 @@
+[meta]
+type = digikey-part-stub
+
+[values]
+part-number = RMCF1206JT10K0CT-ND
+mpn = RMCF1206JT10K0
+url = /product-detail/en/stackpole-electronics-inc/RMCF1206JT10K0/RMCF1206JT10K0CT-ND/1942803
+