From 1f8631dbab20eebb35f7dc2ff66c3fb390b73a26 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 -> 1930 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 | 70 +++++++++++++---- config/builders/periflash.py | 25 ++++++ config/change_sources.py | 51 +++++------- config/schedulers.py | 74 ++++++++---------- config/workers.py | 6 -- master.cfg | 35 +++------ 17 files changed, 158 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.pyc b/config/builders/__pycache__/bicycle_statistics.cpython-36.pyc index 615696a258072fa72d23f6f77a4563d65428cb0a..3c0bf58be76d06588a9daa5d0582ff1ca8295bf6 100644 GIT binary patch literal 1930 zcmaJ>&2ke*5Z>8ctz=n}Wn&BmW0DvQ3P@W(@#msa!7_wYz;;=r2wO#|R@) zWbhU@a@7mu4e}Z}77N8D`u!QRrETjHuSV4`7(jcP>oS{WH3#)K$ zVmehSCFiMiEUDrB3-2|jPV1vZYK)esMdx5`qD%X?>$JS1y;^ZjO;4BUDY!5p^6dLx zUTCy1It}Y^5k5is>43mzlY+B?9?!rAtPcpS!=;JgoTd6`6*f?Q4$i>&fex1^1U6v< zEw13J&g1zSTvdDnQMdq~!?hnYXC5{?TI2d365d8Z6uqGv4QMLLsW+rB4k$}SA>}kl zg*oPaAgnhrdret(XUKVyZrS$0=dE7gdawI_6t#fb5PPU#_k8cj3urUtF85RJdua<* z|Hm#l;=?%l4?AJ?m>YRRVTCR}hc$>O0`0rwfD0?XQ51S(KY*;p2`+h)Edpi$v%kHIJ zKgu?h_VmVo;ev)rEgtjC!biFx&E}d-MiC;0VYtB?_bAO)KYVX9$L9GT4`iB5QA}7o zq8=ATMw58V0#VB0!OT^XI0(Lu5Tipk_^7iSu7=JQ(HkpDmx!hphoKumwxUq%#k`s8 zHS>fEGjUUV9QP7T`i=WHTQ~09Yu&heuXXGG*3DaYZ)Xkr&}BA4H?4qHiiNQCF=4|H z^SSfxFiyEB_@O(XqIehw;}AobWvu&m?VyP%0Tc82bL2i1#lGwDm>o3;t790u4U?V2 zuc+o_+{F|j4q|~bN;}-`1@yTeqM)K;q-m$9lMCc!&#$#@~h)& z<4V6n@(w4^sy5QN>e*vXbvJUlIx}QHBWEa1%@*WL#TBM!Ij1JkI}N+CuzMUxib?hm zp*;8$(=AIKo0A#%f<_UGCrM}oV$n-yfpqht`G;uQDYa>=-Dz$YX8hExs80bro&sVa z2kBUVB}2TQG#=5A_ zT(**6Jn*BGNz_%m%#^!=Bo-2&)h@ zsI=7#eynPjU6q=($Ff3?RagUs3i%V{x>PJZ2xB?5zmQd$?jTvyO=6N7(i$m|B~n2S h_l8AuQq~nUOJrFulNFyGO7wT;Ws! zr%{KhkfTDt{tmbos;!?=idcX6Eg@-T2@x?}wrPtd-9{T7-Nf|D6%Wj}ht% z5)hyjscAxMmM}^LE3IpiaKTGk(9!`07I3h^$!&0N=ru*npPUD4;KMou5a!OU?9u@b zMz8@v&TplL%osKyf-S@Zwz0tu+(BjVSIJ5jc4054g2Voem3VL$4&IPt4erfIeE1!$ zlb9J>Y0)Xe7rLm7l^5FBS=Bb;(i=^ubD1{TxpC@L>Ha-^upU$6W^G-k4fIFsYiy!< zkzHh!c%gKv3#E%pU2e@6MFsO#PqVI@zHa3!A^VUY_V4)4$*{XCQWCvd#1%m=^bCDC zY1fGcjJqlp5+`}TL-m=+N&m?{-rL0DF+y=9LVYTSm$TUKf7l006FeCPKTR{;$_qIN zjhh0@@P{Utor|hE{pH<+E2WU9ZS%6oWrWgID>)gWf3!XH@E+DJEGqGc;!W)$jhRQs QG@ub;AK9T1^DXMJpC>VkzW@LL 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{