From f68a38b7a2e0672b9d06816662d4f1d8ee78f08f Mon Sep 17 00:00:00 2001 From: Thomas Klaehn Date: Fri, 22 Nov 2019 10:59:53 +0100 Subject: [PATCH] restructure config --- config/__init__.py | 4 + config/__pycache__/__init__.cpython-36.pyc | Bin 111 -> 205 bytes .../__pycache__/change_sources.cpython-36.pyc | Bin 1313 -> 439 bytes config/__pycache__/schedulers.cpython-36.pyc | Bin 1434 -> 546 bytes config/__pycache__/workers.cpython-36.pyc | Bin 561 -> 411 bytes config/builders/__init__.py | 9 +++ .../__pycache__/__init__.cpython-36.pyc | Bin 120 -> 337 bytes .../__pycache__/ads1115.cpython-36.pyc | Bin 997 -> 997 bytes .../bicycle_statistics.cpython-36.pyc | Bin 929 -> 1954 bytes .../__pycache__/gpio_ftdi.cpython-36.pyc | Bin 795 -> 795 bytes .../__pycache__/periflash.cpython-36.pyc | Bin 0 -> 982 bytes config/builders/bicycle_statistics.py | 69 ++++++++++++---- config/builders/periflash.py | 25 ++++++ config/change_sources.py | 51 +++++------- config/schedulers.py | 74 ++++++++---------- config/workers.py | 6 -- master.cfg | 35 +++------ 17 files changed, 157 insertions(+), 116 deletions(-) create mode 100644 config/builders/__pycache__/periflash.cpython-36.pyc create mode 100644 config/builders/periflash.py diff --git a/config/__init__.py b/config/__init__.py index e69de29..16aff3d 100644 --- a/config/__init__.py +++ b/config/__init__.py @@ -0,0 +1,4 @@ +from .change_sources import append +from .schedulers import append +from .workers import append + diff --git a/config/__pycache__/__init__.cpython-36.pyc b/config/__pycache__/__init__.cpython-36.pyc index 0155a51488907650d6b81fac0eca80c1e14f0819..66a1f18a7a3d382a7eac0240f8d6fb67a3120378 100644 GIT binary patch literal 205 zcmXr!<>lhhDUXe3U|@I*#Bjg_WH|tFu?CPxVMt-jVaR2SVq}D{nUL7bP&QLAgC_G! zMxb&{##?NO1qG>jDSnzPxA>AX67$kiy*`6c?v`FUxX>H6{UnR%Hd@$q^EmA5!-a`QpD?LgKQ Lvj7PmMjl20!a*@S delta 71 zcmX@hm~U;&%gZ$}wkVbX2p)q77+?f49Dul(1xTbY1T$zd`mJOr0trKjiBk;$p3d%8Gm`>?s^A3{fm8oWTs5ToW$@ z)km=xr55Cu7UkUHNGeLqOU_6wj^ZiE&&l!3D@iRXOUy}TgqjATnSj_CWEvlksA0%r zC}C`7WCXH+#xeS7GTmZJEGS6LOS#3FTpVALT3iyJtjTzbFF7MIFFiHB7-&y&YVk^j zA`YPTUrPE(rIU?V6eL-JJUNi5EI@*Rk&CSeB;u#ZI=PZX*#hJPumD&W62S?SxW!?U Yo1apelWGTYUNOjA9ws(MCPpqv0PHS0rT_o{ literal 1313 zcmb7D%We}f6t$CdX7cQlmTuWpksw1_l?AF05(~tpLZYikXf$KHiQDPS$aX4a#16Ln z2mA`3;4Q2E0xPcV)=EJ^Wg?$BK6CE1bA5f(?{}J1eEbn1^b;*T0r1x_N1a=X$0TS_)`oSS~{#mdBKR%p)bXn zOsO1?$H(>fVWGEn8{54ubCph6l2%oH{IK|?5R;?c&p26-oIR5&Ra`1gd{ENghy^sMFCnrDG$ zp=Xg}(8c(4*wz6Ql@(OCiA+p;CPepu`qt6iyBRcrb-7d39nf!2Ne_T8Ra|ev{I+U| zE8;!L6#=f#z+In2LgN!Azay~=fA-gtIGgjFW~GWrS)B7}eBU>!7NQ5n15=(Y0E9b# z{OtGBVNY+|r5aWFe98+cOkpSOw_Lr4+r@m2{r7SLWE{AwaJY;0EqAEjqreINc$3&fn;idkO#m diff --git a/config/__pycache__/schedulers.cpython-36.pyc b/config/__pycache__/schedulers.cpython-36.pyc index 9af26d38029dc53f57907cedeb92f2852544fdc8..a3a3ca4960a7a265e07259cea7b7f43d93bda60b 100644 GIT binary patch delta 308 zcmbQmy@*A{n3tDp^V-f>6D|gZ#|%h-4ajx?;$jbmi7Iv)DV!->Eeuf{DXhT^n%plz z3N@K-aTO=~GKwK;VBx)G4 z7)ltM85togCI|~?Hlv>=^DVZ-f`Zh%lv^BN^Wzf@;VdIf#v+hGD;bJ-COfjINO1x= z>L61=mNGDMF>-Mify6X9Cr@W_@&|g0;TE4;eo=C2FwCt*+(1FFq9Ps;3qkOLRCCzm X=7aoX2Xb^V$N&K*HlV>gi~@=PfWkY{ literal 1434 zcmaKryKdVs7==aImT!{fYc9QH*N_-a(XA+g2FRGjodmRoMAEWcSu#kbfP-%B8lbPy zSK`v4Q(vJ|`BO4uph0Eu@cf4#DN`U{d0yvd!aj^$%lc&uJ`nSU<5V-mmzc=KBO{;C;;xG(RA| zT4%q@K{cbVXAB9{Fk_%+jP#5#nV2_>Dt@T>BLX$>BXUemzFFazH0D-t`WrrcV9O52 zD@yJ%%DAlGi8KoxLAhAqd);5)0LkW-6>EycZBUo>Jlas{;Z>9;bg@h`L0RYvM(JEc zaYo;#8_J{`-=!I$>{h`%be9FgbWyGw*sP&m&6-MNJK3hiVkt-(`Xyun+0vHpc-T7_ zQnhr_OT38V{kml(n-Sr&+3a=bm3URk?&l&Ck@~aIb{h`Lv4cns;}q|3Mi*Q}BIP2* z{Qk7c&L6Y$?M|$U{K+9w;7^p@pOlOLI~S`1tsm%Z)vi_J-<5o^)|NnD5h|T+T+O(; zaSh`fyVzT5iKnynUie8b4EF zq0WDPnhhqhzhCiUo82X8&h-mfP0bG{^E6K~`i@08Ud{J6CUmd$HMr5Yfcc7)y&E{| z24Q^_vH{2tWCSt>nSdOD9D|&IoPs<9c@FXd1a_kLd?2tX*?O}n;Nrf8L&dL@^leA& V(?wNpKUMdTt8)k0sAar%wZBEEZlC}F diff --git a/config/__pycache__/workers.cpython-36.pyc b/config/__pycache__/workers.cpython-36.pyc index 5be240deafe2d8778c683a76199b2d7964116ce4..3318ddcb3e112e3e2c97576cad8bc83de2dfff5a 100644 GIT binary patch delta 280 zcmdnUGMic1n3tF9@Y>E;4@L%t#|%h-4ajx?;$p3d%8Gm`Y$@z53{fm89Kj5loD(zL z>!Y|+@{_Yui{dl#i%V{?X67cQrzQgp0Rs@t1jNojT+9a~Y8bK@N*J3N8G$UI35HikX1ZP9E?ni983VyP&$$T literal 561 zcmZuu%SyvQ6rGtoOoH?0$=iW1;PRHm`cK=Bb`a(NH1AYmM3!sSN2(7S#G4k<}P(mdt z11cNYkt#*46qRZLrus&4WV%O0MVo-ME<_XLpt7Ogt&m1&BP=y*tnXt<=v~3C$z_ SLiEhL0BxdUg7pdsHpnmQ%#5r6 diff --git a/config/builders/__init__.py b/config/builders/__init__.py index e69de29..8555343 100644 --- a/config/builders/__init__.py +++ b/config/builders/__init__.py @@ -0,0 +1,9 @@ +from .ads1115 import append +from .bicycle_statistics import append +from .gpio_ftdi import append +from .gpio_sys import append +from .i2c_bb import append +from .periflash import append +from .test_c import append +from .voltage_app import append + diff --git a/config/builders/__pycache__/__init__.cpython-36.pyc b/config/builders/__pycache__/__init__.cpython-36.pyc index 2a1fccc9c2b233b841b4fd852d6f257d711fde8b..b61dd1c0291125648ef0a02e47b6a5a583bdf363 100644 GIT binary patch literal 337 zcmYk$y-ve05C?EOg*2g*fp=htR5c2S4Iy{|7Pd;r@>jx1ZXD%YP#%d_x|NBUjS06! z$Ya$OVTL=l<#4Tq zQdAChgw{!Xr94;+Let{SyC6F&;*t+GF5=un{9M&)2hJ!TYVG?Ly5rxDSPKC?1R>VL UM8)0Ko1L@w`(yDU#yL;lFZys*MF0Q* delta 72 zcmcb}RAFt*%ga@qQ54Gn1dl-k3@`#24nSPY0whuxf*CX!{Z=v*frO#NWHv@ikR$^D DgA)lW diff --git a/config/builders/__pycache__/ads1115.cpython-36.pyc b/config/builders/__pycache__/ads1115.cpython-36.pyc index 4c92dd50b72fd717021583c89c4129200544b60c..714c94527591aeb8876a910826435789666d1a0e 100644 GIT binary patch delta 93 zcmaFL{*--#0uy7@WJRV2j3Senn6-oj85kHufw-6jNH8#RF%}6476F)%QQ0&y`5kYHfsVk{DxY|m`SCkW)-Voyv- f2`))3xHY+sSyoCIC{zSeUj)*CM2Jn^%4`4tn*tJ4 diff --git a/config/builders/__pycache__/bicycle_statistics.cpython-36.py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ceDE(Xez&uOXEn om-HpQf;@7jts8pTP}C~vD@IvgHA^T%DV|w+38{@16{Bwc1qZlB8nu5GEyARvbHZoTN?DpD}=e${Y%G2#TVJflfu1YzB&e=Fzeo{eh&CTF92J zd5bRH`!rlT^%XkxB-?G!hQOVU;&*r7-I1?*z0Sv6efsJW@`K!4J7~X0(ce)40h*AM zPH5^(97?3KaBs=Plis2w>B0vGT=1X;e$;~Y9lfQ9*_;Ki1s&LiF7zV*fzus$1l`Dc z;G_?`Fn~RjeK$M6J^-9JcY(S}2K8d2%N(VaU9;2AvsLMB`A;+za${zT?v=-8Gv zve4EmO`KRaij8fFB+q0OgyB^2Ow6sHas;XB&D@wmpD>1~(KO-Wau#RV2qc4CTuQ~J zu~>>khT3owYZD7SLgR47js!Tp{WM{N2vBk55%>O zO3`CxT~%gi0LoSMifMJlGWpqH2_-P#hBI@Suvwf)%}!VJPS{jm#94LRpw}7ysRtb! zSYDdSN0L01)m9iPiKQuHeV$zNrM4Ts7k?|R_L|bBxd}y4gx9&k&J11a)iLb$YG2#h zwr5s!+ARZF7KgyivA$K9@-{UeCSPAf*~NY}B9*QRi&v-ctv4jNomWLz&2TbwBhW Vs=gD@KJC&0$`NXx4xA1RoZrVC3@!iw diff --git a/config/builders/__pycache__/gpio_ftdi.cpython-36.pyc b/config/builders/__pycache__/gpio_ftdi.cpython-36.pyc index 60d1fe04956a203bfa6976eb03ddb04259bfd428..86a77afb73409b256e1f3e9d5e154e445861e668 100644 GIT binary patch delta 80 zcmbQuHk)lj3L|6GeE=; zQ@L=+mH)tjKeSg)`~^~%V=ufM*3+IJB8jUHS+yq|!HAK)mW zI7bDJaA8GOVMli1L=HyG&KkEUa+#ZX%*uRfL8eJ<>d?mAqVC+f#ZcvBE$UI9Hff8t z=T6jys(=R6OE7b3XKqIwhO;gWAirY#e~d2RKrX?w2c12-O4q)jXqB!EQMmpGxS`Nd zEfG%`o#u=S)ew@^LOD~J=F0tC@oUCsFOpQAfaPS=kE`NXUgu;`GoFrfA|`$KqTCTD zWjs-CK>&e=Sb3C<$uyUtr995+YRYr&!hy5iedqQ9UpX}qVzwpY`gkzdIoj>->>u`b z4i5W!N5{K+2d`%9qiLGcQ6;zIx?XkxZktvy@VlB+LaIhukc6q`J$h&>rz8ba?Zq+r zT_|r%Vp;JUO{?Zr#$st`U4{