From 2c86705557841a978a94ad32e2751cb5bc68bc18 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Thu, 2 Aug 2018 21:53:19 +0200 Subject: o No need to lower case the keys in the ini file. --- .../digikey-parts/digikey-part/493-4771-1-ND.ini | 38 +++++++++++----------- .../ee/digikey-parts/digikey-part/BC2AAPC-ND.ini | 20 ++++++------ .../digikey-part/RMCF1206JT10K0CT-ND.ini | 30 ++++++++--------- src/ee/ds/__init__.py | 4 ++- 4 files changed, 47 insertions(+), 45 deletions(-) diff --git a/demo/doit/ee/digikey-parts/digikey-part/493-4771-1-ND.ini b/demo/doit/ee/digikey-parts/digikey-part/493-4771-1-ND.ini index a263bf9..e4b36c3 100644 --- a/demo/doit/ee/digikey-parts/digikey-part/493-4771-1-ND.ini +++ b/demo/doit/ee/digikey-parts/digikey-part/493-4771-1-ND.ini @@ -5,23 +5,23 @@ type = digikey-part part-number = 493-4771-1-ND url = https://www.digikey.com/product-detail/en/nichicon/UCA2G100MPD1TD/493-4771-1-ND/3129112 mpn = UCA2G100MPD1TD -7/packaging = Cut Tape (CT) -1989/part status = Active -2049/capacitance = 10µF -3/tolerance = ±20% -2079/voltage - rated = 400V -724/esr (equivalent series resistance) = - -725/lifetime @ temp. = 10000 Hrs @ 105°C -252/operating temperature = -25°C ~ 105°C -52/polarization = - -707/ratings = - -405/applications = General Purpose -2253/ripple current @ low frequency = 140mA @ 120Hz -2260/ripple current @ high frequency = 280mA @ 100kHz -508/lead spacing = 0.197" (5.00mm) -46/size / dimension = 0.394" Dia (10.00mm) -1500/height - seated (max) = 0.846" (21.50mm) -884/surface mount land size = - -69/mounting type = Through Hole -16/package / case = Radial, Can +7/Packaging = Cut Tape (CT) +1989/Part Status = Active +2049/Capacitance = 10µF +3/Tolerance = ±20% +2079/Voltage - Rated = 400V +724/ESR (Equivalent Series Resistance) = - +725/Lifetime @ Temp. = 10000 Hrs @ 105°C +252/Operating Temperature = -25°C ~ 105°C +52/Polarization = - +707/Ratings = - +405/Applications = General Purpose +2253/Ripple Current @ Low Frequency = 140mA @ 120Hz +2260/Ripple Current @ High Frequency = 280mA @ 100kHz +508/Lead Spacing = 0.197" (5.00mm) +46/Size / Dimension = 0.394" Dia (10.00mm) +1500/Height - Seated (Max) = 0.846" (21.50mm) +884/Surface Mount Land Size = - +69/Mounting Type = Through Hole +16/Package / Case = Radial, Can diff --git a/demo/doit/ee/digikey-parts/digikey-part/BC2AAPC-ND.ini b/demo/doit/ee/digikey-parts/digikey-part/BC2AAPC-ND.ini index 5629485..b919629 100644 --- a/demo/doit/ee/digikey-parts/digikey-part/BC2AAPC-ND.ini +++ b/demo/doit/ee/digikey-parts/digikey-part/BC2AAPC-ND.ini @@ -5,14 +5,14 @@ type = digikey-part part-number = BC2AAPC-ND url = https://www.digikey.com/product-detail/en/mpd-memory-protection-devices/BC2AAPC/BC2AAPC-ND/455777 mpn = BC2AAPC -1989/part status = Active -252/operating temperature = -10°C ~ 100°C -69/mounting type = PCB, Through Hole -1445/battery type, function = Cylindrical, Holder -91/style = Holder (Open) -32/battery cell size = AA -36/number of cells = 2 -1142/battery series = - -258/termination style = PC Pin -759/height above board = 0.591" (15.01mm) +1989/Part Status = Active +252/Operating Temperature = -10°C ~ 100°C +69/Mounting Type = PCB, Through Hole +1445/Battery Type, Function = Cylindrical, Holder +91/Style = Holder (Open) +32/Battery Cell Size = AA +36/Number of Cells = 2 +1142/Battery Series = - +258/Termination Style = PC Pin +759/Height Above Board = 0.591" (15.01mm) diff --git a/demo/doit/ee/digikey-parts/digikey-part/RMCF1206JT10K0CT-ND.ini b/demo/doit/ee/digikey-parts/digikey-part/RMCF1206JT10K0CT-ND.ini index 8cff77a..48af2b7 100644 --- a/demo/doit/ee/digikey-parts/digikey-part/RMCF1206JT10K0CT-ND.ini +++ b/demo/doit/ee/digikey-parts/digikey-part/RMCF1206JT10K0CT-ND.ini @@ -5,19 +5,19 @@ type = digikey-part part-number = RMCF1206JT10K0CT-ND url = https://www.digikey.com/product-detail/en/stackpole-electronics-inc/RMCF1206JT10K0/RMCF1206JT10K0CT-ND/1942803 mpn = RMCF1206JT10K0 -7/packaging = Cut Tape (CT) -1989/part status = Active -3/tolerance = ±5% -252/operating temperature = -55°C ~ 155°C -46/size / dimension = 0.126" L x 0.063" W (3.20mm x 1.60mm) -1500/height - seated (max) = 0.028" (0.70mm) -16/package / case = 1206 (3216 Metric) -2085/resistance = 10 kOhms -2/power (watts) = 0.25W, 1/4W -174/composition = Thick Film -5/features = Automotive AEC-Q200 -17/temperature coefficient = ±200ppm/°C -1291/supplier device package = 1206 -1127/number of terminations = 2 -1531/failure rate = - +7/Packaging = Cut Tape (CT) +1989/Part Status = Active +3/Tolerance = ±5% +252/Operating Temperature = -55°C ~ 155°C +46/Size / Dimension = 0.126" L x 0.063" W (3.20mm x 1.60mm) +1500/Height - Seated (Max) = 0.028" (0.70mm) +16/Package / Case = 1206 (3216 Metric) +2085/Resistance = 10 kOhms +2/Power (Watts) = 0.25W, 1/4W +174/Composition = Thick Film +5/Features = Automotive AEC-Q200 +17/Temperature Coefficient = ±200ppm/°C +1291/Supplier Device Package = 1206 +1127/Number of Terminations = 2 +1531/Failure Rate = - diff --git a/src/ee/ds/__init__.py b/src/ee/ds/__init__.py index 026ab9b..e543051 100644 --- a/src/ee/ds/__init__.py +++ b/src/ee/ds/__init__.py @@ -431,7 +431,9 @@ class DataSetManager(object): @staticmethod def _blank_ini(): - return configparser.ConfigParser(interpolation=None) + parser = configparser.ConfigParser(interpolation=None) + parser.optionxform = str + return parser def _load_ini(self, path: Path): ini = self._blank_ini() -- cgit v1.2.3