pyasic-umhost 0.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (601) hide show
  1. pyasic_umhost-0.0.1/LICENSE.txt +176 -0
  2. pyasic_umhost-0.0.1/PKG-INFO +325 -0
  3. pyasic_umhost-0.0.1/README.md +293 -0
  4. pyasic_umhost-0.0.1/pyasic/__init__.py +28 -0
  5. pyasic_umhost-0.0.1/pyasic/config/__init__.py +348 -0
  6. pyasic_umhost-0.0.1/pyasic/config/base.py +150 -0
  7. pyasic_umhost-0.0.1/pyasic/config/fans.py +421 -0
  8. pyasic_umhost-0.0.1/pyasic/config/mining/__init__.py +821 -0
  9. pyasic_umhost-0.0.1/pyasic/config/mining/algo.py +66 -0
  10. pyasic_umhost-0.0.1/pyasic/config/mining/presets.py +54 -0
  11. pyasic_umhost-0.0.1/pyasic/config/mining/scaling.py +129 -0
  12. pyasic_umhost-0.0.1/pyasic/config/pools.py +691 -0
  13. pyasic_umhost-0.0.1/pyasic/config/temperature.py +155 -0
  14. pyasic_umhost-0.0.1/pyasic/data/__init__.py +427 -0
  15. pyasic_umhost-0.0.1/pyasic/data/boards.py +67 -0
  16. pyasic_umhost-0.0.1/pyasic/data/device.py +31 -0
  17. pyasic_umhost-0.0.1/pyasic/data/error_codes/X19.py +28 -0
  18. pyasic_umhost-0.0.1/pyasic/data/error_codes/__init__.py +32 -0
  19. pyasic_umhost-0.0.1/pyasic/data/error_codes/base.py +18 -0
  20. pyasic_umhost-0.0.1/pyasic/data/error_codes/bos.py +29 -0
  21. pyasic_umhost-0.0.1/pyasic/data/error_codes/innosilicon.py +62 -0
  22. pyasic_umhost-0.0.1/pyasic/data/error_codes/vnish.py +28 -0
  23. pyasic_umhost-0.0.1/pyasic/data/error_codes/whatsminer.py +526 -0
  24. pyasic_umhost-0.0.1/pyasic/data/fans.py +44 -0
  25. pyasic_umhost-0.0.1/pyasic/data/pools.py +91 -0
  26. pyasic_umhost-0.0.1/pyasic/device/__init__.py +4 -0
  27. pyasic_umhost-0.0.1/pyasic/device/algorithm/__init__.py +26 -0
  28. pyasic_umhost-0.0.1/pyasic/device/algorithm/base.py +23 -0
  29. pyasic_umhost-0.0.1/pyasic/device/algorithm/blake256.py +13 -0
  30. pyasic_umhost-0.0.1/pyasic/device/algorithm/eaglesong.py +13 -0
  31. pyasic_umhost-0.0.1/pyasic/device/algorithm/equihash.py +13 -0
  32. pyasic_umhost-0.0.1/pyasic/device/algorithm/ethash.py +12 -0
  33. pyasic_umhost-0.0.1/pyasic/device/algorithm/handshake.py +13 -0
  34. pyasic_umhost-0.0.1/pyasic/device/algorithm/hashrate/__init__.py +24 -0
  35. pyasic_umhost-0.0.1/pyasic/device/algorithm/hashrate/base.py +95 -0
  36. pyasic_umhost-0.0.1/pyasic/device/algorithm/hashrate/blake256.py +18 -0
  37. pyasic_umhost-0.0.1/pyasic/device/algorithm/hashrate/eaglesong.py +18 -0
  38. pyasic_umhost-0.0.1/pyasic/device/algorithm/hashrate/equihash.py +18 -0
  39. pyasic_umhost-0.0.1/pyasic/device/algorithm/hashrate/ethash.py +18 -0
  40. pyasic_umhost-0.0.1/pyasic/device/algorithm/hashrate/handshake.py +18 -0
  41. pyasic_umhost-0.0.1/pyasic/device/algorithm/hashrate/kadena.py +18 -0
  42. pyasic_umhost-0.0.1/pyasic/device/algorithm/hashrate/kheavyhash.py +18 -0
  43. pyasic_umhost-0.0.1/pyasic/device/algorithm/hashrate/scrypt.py +18 -0
  44. pyasic_umhost-0.0.1/pyasic/device/algorithm/hashrate/sha256.py +18 -0
  45. pyasic_umhost-0.0.1/pyasic/device/algorithm/hashrate/unit/__init__.py +23 -0
  46. pyasic_umhost-0.0.1/pyasic/device/algorithm/hashrate/unit/base.py +71 -0
  47. pyasic_umhost-0.0.1/pyasic/device/algorithm/hashrate/unit/blake256.py +16 -0
  48. pyasic_umhost-0.0.1/pyasic/device/algorithm/hashrate/unit/eaglesong.py +16 -0
  49. pyasic_umhost-0.0.1/pyasic/device/algorithm/hashrate/unit/equihash.py +34 -0
  50. pyasic_umhost-0.0.1/pyasic/device/algorithm/hashrate/unit/ethash.py +16 -0
  51. pyasic_umhost-0.0.1/pyasic/device/algorithm/hashrate/unit/handshake.py +16 -0
  52. pyasic_umhost-0.0.1/pyasic/device/algorithm/hashrate/unit/kadena.py +16 -0
  53. pyasic_umhost-0.0.1/pyasic/device/algorithm/hashrate/unit/kheavyhash.py +16 -0
  54. pyasic_umhost-0.0.1/pyasic/device/algorithm/hashrate/unit/scrypt.py +16 -0
  55. pyasic_umhost-0.0.1/pyasic/device/algorithm/hashrate/unit/sha256.py +16 -0
  56. pyasic_umhost-0.0.1/pyasic/device/algorithm/hashrate/unit/x11.py +16 -0
  57. pyasic_umhost-0.0.1/pyasic/device/algorithm/hashrate/x11.py +18 -0
  58. pyasic_umhost-0.0.1/pyasic/device/algorithm/kadena.py +13 -0
  59. pyasic_umhost-0.0.1/pyasic/device/algorithm/kheavyhash.py +13 -0
  60. pyasic_umhost-0.0.1/pyasic/device/algorithm/scrypt.py +12 -0
  61. pyasic_umhost-0.0.1/pyasic/device/algorithm/sha256.py +13 -0
  62. pyasic_umhost-0.0.1/pyasic/device/algorithm/x11.py +13 -0
  63. pyasic_umhost-0.0.1/pyasic/device/firmware.py +30 -0
  64. pyasic_umhost-0.0.1/pyasic/device/makes.py +37 -0
  65. pyasic_umhost-0.0.1/pyasic/device/models.py +572 -0
  66. pyasic_umhost-0.0.1/pyasic/errors/__init__.py +59 -0
  67. pyasic_umhost-0.0.1/pyasic/load/__init__.py +352 -0
  68. pyasic_umhost-0.0.1/pyasic/logger/__init__.py +46 -0
  69. pyasic_umhost-0.0.1/pyasic/miners/__init__.py +20 -0
  70. pyasic_umhost-0.0.1/pyasic/miners/antminer/__init__.py +25 -0
  71. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X15/Z15.py +22 -0
  72. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X15/__init__.py +16 -0
  73. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X17/S17.py +34 -0
  74. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X17/T17.py +30 -0
  75. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X17/__init__.py +18 -0
  76. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X19/S19.py +104 -0
  77. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X19/T19.py +22 -0
  78. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X19/__init__.py +36 -0
  79. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X21/S21.py +30 -0
  80. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X21/T21.py +22 -0
  81. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X21/__init__.py +17 -0
  82. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X3/HS3.py +22 -0
  83. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X3/KA3.py +22 -0
  84. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X3/KS3.py +22 -0
  85. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X3/L3.py +22 -0
  86. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X3/__init__.py +19 -0
  87. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X5/KS5.py +25 -0
  88. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X5/__init__.py +16 -0
  89. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X7/D7.py +21 -0
  90. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X7/K7.py +21 -0
  91. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X7/L7.py +21 -0
  92. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X7/__init__.py +18 -0
  93. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X9/D9.py +22 -0
  94. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X9/E9.py +22 -0
  95. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X9/L9.py +22 -0
  96. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X9/S9.py +30 -0
  97. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X9/T9.py +22 -0
  98. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/X9/__init__.py +21 -0
  99. pyasic_umhost-0.0.1/pyasic/miners/antminer/bmminer/__init__.py +23 -0
  100. pyasic_umhost-0.0.1/pyasic/miners/antminer/bosminer/X17/S17.py +34 -0
  101. pyasic_umhost-0.0.1/pyasic/miners/antminer/bosminer/X17/T17.py +30 -0
  102. pyasic_umhost-0.0.1/pyasic/miners/antminer/bosminer/X17/__init__.py +18 -0
  103. pyasic_umhost-0.0.1/pyasic/miners/antminer/bosminer/X19/S19.py +89 -0
  104. pyasic_umhost-0.0.1/pyasic/miners/antminer/bosminer/X19/T19.py +22 -0
  105. pyasic_umhost-0.0.1/pyasic/miners/antminer/bosminer/X19/__init__.py +33 -0
  106. pyasic_umhost-0.0.1/pyasic/miners/antminer/bosminer/X21/S21.py +26 -0
  107. pyasic_umhost-0.0.1/pyasic/miners/antminer/bosminer/X21/T21.py +22 -0
  108. pyasic_umhost-0.0.1/pyasic/miners/antminer/bosminer/X21/__init__.py +18 -0
  109. pyasic_umhost-0.0.1/pyasic/miners/antminer/bosminer/X9/S9.py +22 -0
  110. pyasic_umhost-0.0.1/pyasic/miners/antminer/bosminer/X9/__init__.py +17 -0
  111. pyasic_umhost-0.0.1/pyasic/miners/antminer/bosminer/__init__.py +20 -0
  112. pyasic_umhost-0.0.1/pyasic/miners/antminer/cgminer/X15/Z15.py +22 -0
  113. pyasic_umhost-0.0.1/pyasic/miners/antminer/cgminer/X15/__init__.py +16 -0
  114. pyasic_umhost-0.0.1/pyasic/miners/antminer/cgminer/X3/D3.py +21 -0
  115. pyasic_umhost-0.0.1/pyasic/miners/antminer/cgminer/X3/__init__.py +17 -0
  116. pyasic_umhost-0.0.1/pyasic/miners/antminer/cgminer/X5/DR5.py +22 -0
  117. pyasic_umhost-0.0.1/pyasic/miners/antminer/cgminer/X5/__init__.py +16 -0
  118. pyasic_umhost-0.0.1/pyasic/miners/antminer/cgminer/__init__.py +19 -0
  119. pyasic_umhost-0.0.1/pyasic/miners/antminer/epic/X19/S19.py +61 -0
  120. pyasic_umhost-0.0.1/pyasic/miners/antminer/epic/X19/__init__.py +26 -0
  121. pyasic_umhost-0.0.1/pyasic/miners/antminer/epic/X21/S21.py +26 -0
  122. pyasic_umhost-0.0.1/pyasic/miners/antminer/epic/X21/T21.py +22 -0
  123. pyasic_umhost-0.0.1/pyasic/miners/antminer/epic/X21/__init__.py +18 -0
  124. pyasic_umhost-0.0.1/pyasic/miners/antminer/epic/__init__.py +18 -0
  125. pyasic_umhost-0.0.1/pyasic/miners/antminer/hiveon/X19/S19.py +104 -0
  126. pyasic_umhost-0.0.1/pyasic/miners/antminer/hiveon/X19/T19.py +22 -0
  127. pyasic_umhost-0.0.1/pyasic/miners/antminer/hiveon/X19/__init__.py +36 -0
  128. pyasic_umhost-0.0.1/pyasic/miners/antminer/hiveon/X9/T9.py +146 -0
  129. pyasic_umhost-0.0.1/pyasic/miners/antminer/hiveon/X9/__init__.py +17 -0
  130. pyasic_umhost-0.0.1/pyasic/miners/antminer/hiveon/__init__.py +18 -0
  131. pyasic_umhost-0.0.1/pyasic/miners/antminer/luxos/X19/S19.py +49 -0
  132. pyasic_umhost-0.0.1/pyasic/miners/antminer/luxos/X19/T19.py +22 -0
  133. pyasic_umhost-0.0.1/pyasic/miners/antminer/luxos/X19/__init__.py +25 -0
  134. pyasic_umhost-0.0.1/pyasic/miners/antminer/luxos/X21/S21.py +22 -0
  135. pyasic_umhost-0.0.1/pyasic/miners/antminer/luxos/X21/__init__.py +17 -0
  136. pyasic_umhost-0.0.1/pyasic/miners/antminer/luxos/X9/S9.py +22 -0
  137. pyasic_umhost-0.0.1/pyasic/miners/antminer/luxos/X9/__init__.py +17 -0
  138. pyasic_umhost-0.0.1/pyasic/miners/antminer/luxos/__init__.py +19 -0
  139. pyasic_umhost-0.0.1/pyasic/miners/antminer/marathon/X19/S19.py +54 -0
  140. pyasic_umhost-0.0.1/pyasic/miners/antminer/marathon/X19/__init__.py +9 -0
  141. pyasic_umhost-0.0.1/pyasic/miners/antminer/marathon/X21/S21.py +22 -0
  142. pyasic_umhost-0.0.1/pyasic/miners/antminer/marathon/X21/T21.py +22 -0
  143. pyasic_umhost-0.0.1/pyasic/miners/antminer/marathon/X21/__init__.py +2 -0
  144. pyasic_umhost-0.0.1/pyasic/miners/antminer/marathon/__init__.py +2 -0
  145. pyasic_umhost-0.0.1/pyasic/miners/antminer/mskminer/X19/S19.py +24 -0
  146. pyasic_umhost-0.0.1/pyasic/miners/antminer/mskminer/X19/__init__.py +17 -0
  147. pyasic_umhost-0.0.1/pyasic/miners/antminer/mskminer/__init__.py +17 -0
  148. pyasic_umhost-0.0.1/pyasic/miners/antminer/vnish/X17/S17.py +25 -0
  149. pyasic_umhost-0.0.1/pyasic/miners/antminer/vnish/X17/__init__.py +16 -0
  150. pyasic_umhost-0.0.1/pyasic/miners/antminer/vnish/X19/S19.py +74 -0
  151. pyasic_umhost-0.0.1/pyasic/miners/antminer/vnish/X19/T19.py +22 -0
  152. pyasic_umhost-0.0.1/pyasic/miners/antminer/vnish/X19/__init__.py +30 -0
  153. pyasic_umhost-0.0.1/pyasic/miners/antminer/vnish/X21/S21.py +22 -0
  154. pyasic_umhost-0.0.1/pyasic/miners/antminer/vnish/X21/T21.py +22 -0
  155. pyasic_umhost-0.0.1/pyasic/miners/antminer/vnish/X21/__init__.py +18 -0
  156. pyasic_umhost-0.0.1/pyasic/miners/antminer/vnish/X3/L3.py +22 -0
  157. pyasic_umhost-0.0.1/pyasic/miners/antminer/vnish/X3/__init__.py +17 -0
  158. pyasic_umhost-0.0.1/pyasic/miners/antminer/vnish/X7/L7.py +22 -0
  159. pyasic_umhost-0.0.1/pyasic/miners/antminer/vnish/X7/__init__.py +17 -0
  160. pyasic_umhost-0.0.1/pyasic/miners/antminer/vnish/__init__.py +21 -0
  161. pyasic_umhost-0.0.1/pyasic/miners/auradine/__init__.py +1 -0
  162. pyasic_umhost-0.0.1/pyasic/miners/auradine/flux/AD/AT1.py +6 -0
  163. pyasic_umhost-0.0.1/pyasic/miners/auradine/flux/AD/AT2.py +10 -0
  164. pyasic_umhost-0.0.1/pyasic/miners/auradine/flux/AD/__init__.py +2 -0
  165. pyasic_umhost-0.0.1/pyasic/miners/auradine/flux/AI/AI2.py +6 -0
  166. pyasic_umhost-0.0.1/pyasic/miners/auradine/flux/AI/AI3.py +6 -0
  167. pyasic_umhost-0.0.1/pyasic/miners/auradine/flux/AI/__init__.py +2 -0
  168. pyasic_umhost-0.0.1/pyasic/miners/auradine/flux/AT/AD2.py +6 -0
  169. pyasic_umhost-0.0.1/pyasic/miners/auradine/flux/AT/AD3.py +6 -0
  170. pyasic_umhost-0.0.1/pyasic/miners/auradine/flux/AT/__init__.py +2 -0
  171. pyasic_umhost-0.0.1/pyasic/miners/auradine/flux/__init__.py +3 -0
  172. pyasic_umhost-0.0.1/pyasic/miners/avalonminer/__init__.py +17 -0
  173. pyasic_umhost-0.0.1/pyasic/miners/avalonminer/cgminer/A10X/A1026.py +22 -0
  174. pyasic_umhost-0.0.1/pyasic/miners/avalonminer/cgminer/A10X/A1047.py +22 -0
  175. pyasic_umhost-0.0.1/pyasic/miners/avalonminer/cgminer/A10X/A1066.py +22 -0
  176. pyasic_umhost-0.0.1/pyasic/miners/avalonminer/cgminer/A10X/__init__.py +19 -0
  177. pyasic_umhost-0.0.1/pyasic/miners/avalonminer/cgminer/A11X/A1126.py +22 -0
  178. pyasic_umhost-0.0.1/pyasic/miners/avalonminer/cgminer/A11X/A1166.py +22 -0
  179. pyasic_umhost-0.0.1/pyasic/miners/avalonminer/cgminer/A11X/__init__.py +18 -0
  180. pyasic_umhost-0.0.1/pyasic/miners/avalonminer/cgminer/A12X/A1246.py +22 -0
  181. pyasic_umhost-0.0.1/pyasic/miners/avalonminer/cgminer/A12X/__init__.py +17 -0
  182. pyasic_umhost-0.0.1/pyasic/miners/avalonminer/cgminer/A15X/A1566.py +22 -0
  183. pyasic_umhost-0.0.1/pyasic/miners/avalonminer/cgminer/A15X/__init__.py +17 -0
  184. pyasic_umhost-0.0.1/pyasic/miners/avalonminer/cgminer/A7X/A721.py +22 -0
  185. pyasic_umhost-0.0.1/pyasic/miners/avalonminer/cgminer/A7X/A741.py +22 -0
  186. pyasic_umhost-0.0.1/pyasic/miners/avalonminer/cgminer/A7X/A761.py +22 -0
  187. pyasic_umhost-0.0.1/pyasic/miners/avalonminer/cgminer/A7X/__init__.py +19 -0
  188. pyasic_umhost-0.0.1/pyasic/miners/avalonminer/cgminer/A8X/A821.py +22 -0
  189. pyasic_umhost-0.0.1/pyasic/miners/avalonminer/cgminer/A8X/A841.py +22 -0
  190. pyasic_umhost-0.0.1/pyasic/miners/avalonminer/cgminer/A8X/A851.py +22 -0
  191. pyasic_umhost-0.0.1/pyasic/miners/avalonminer/cgminer/A8X/__init__.py +19 -0
  192. pyasic_umhost-0.0.1/pyasic/miners/avalonminer/cgminer/A9X/A921.py +22 -0
  193. pyasic_umhost-0.0.1/pyasic/miners/avalonminer/cgminer/A9X/__init__.py +17 -0
  194. pyasic_umhost-0.0.1/pyasic/miners/avalonminer/cgminer/__init__.py +24 -0
  195. pyasic_umhost-0.0.1/pyasic/miners/avalonminer/cgminer/nano/__init__.py +17 -0
  196. pyasic_umhost-0.0.1/pyasic/miners/avalonminer/cgminer/nano/nano3.py +107 -0
  197. pyasic_umhost-0.0.1/pyasic/miners/backends/__init__.py +38 -0
  198. pyasic_umhost-0.0.1/pyasic/miners/backends/antminer.py +690 -0
  199. pyasic_umhost-0.0.1/pyasic/miners/backends/auradine.py +437 -0
  200. pyasic_umhost-0.0.1/pyasic/miners/backends/avalonminer.py +360 -0
  201. pyasic_umhost-0.0.1/pyasic/miners/backends/bfgminer.py +268 -0
  202. pyasic_umhost-0.0.1/pyasic/miners/backends/bitaxe.py +7 -0
  203. pyasic_umhost-0.0.1/pyasic/miners/backends/bmminer.py +308 -0
  204. pyasic_umhost-0.0.1/pyasic/miners/backends/braiins_os.py +1116 -0
  205. pyasic_umhost-0.0.1/pyasic/miners/backends/btminer.py +738 -0
  206. pyasic_umhost-0.0.1/pyasic/miners/backends/cgminer.py +174 -0
  207. pyasic_umhost-0.0.1/pyasic/miners/backends/elphapex.py +374 -0
  208. pyasic_umhost-0.0.1/pyasic/miners/backends/epic.py +475 -0
  209. pyasic_umhost-0.0.1/pyasic/miners/backends/espminer.py +235 -0
  210. pyasic_umhost-0.0.1/pyasic/miners/backends/goldshell.py +215 -0
  211. pyasic_umhost-0.0.1/pyasic/miners/backends/hammer.py +472 -0
  212. pyasic_umhost-0.0.1/pyasic/miners/backends/hiveon.py +280 -0
  213. pyasic_umhost-0.0.1/pyasic/miners/backends/iceriver.py +251 -0
  214. pyasic_umhost-0.0.1/pyasic/miners/backends/innosilicon.py +405 -0
  215. pyasic_umhost-0.0.1/pyasic/miners/backends/luckyminer.py +7 -0
  216. pyasic_umhost-0.0.1/pyasic/miners/backends/luxminer.py +430 -0
  217. pyasic_umhost-0.0.1/pyasic/miners/backends/marathon.py +353 -0
  218. pyasic_umhost-0.0.1/pyasic/miners/backends/mskminer.py +110 -0
  219. pyasic_umhost-0.0.1/pyasic/miners/backends/unknown.py +124 -0
  220. pyasic_umhost-0.0.1/pyasic/miners/backends/vnish.py +323 -0
  221. pyasic_umhost-0.0.1/pyasic/miners/backends/whatsminer.py +36 -0
  222. pyasic_umhost-0.0.1/pyasic/miners/base.py +597 -0
  223. pyasic_umhost-0.0.1/pyasic/miners/bitaxe/__init__.py +1 -0
  224. pyasic_umhost-0.0.1/pyasic/miners/bitaxe/espminer/BM/BM1366.py +6 -0
  225. pyasic_umhost-0.0.1/pyasic/miners/bitaxe/espminer/BM/BM1368.py +6 -0
  226. pyasic_umhost-0.0.1/pyasic/miners/bitaxe/espminer/BM/BM1370.py +6 -0
  227. pyasic_umhost-0.0.1/pyasic/miners/bitaxe/espminer/BM/BM1397.py +6 -0
  228. pyasic_umhost-0.0.1/pyasic/miners/bitaxe/espminer/BM/__init__.py +4 -0
  229. pyasic_umhost-0.0.1/pyasic/miners/bitaxe/espminer/__init__.py +1 -0
  230. pyasic_umhost-0.0.1/pyasic/miners/blockminer/__init__.py +17 -0
  231. pyasic_umhost-0.0.1/pyasic/miners/blockminer/epic/__init__.py +17 -0
  232. pyasic_umhost-0.0.1/pyasic/miners/blockminer/epic/blockminer/__init__.py +17 -0
  233. pyasic_umhost-0.0.1/pyasic/miners/blockminer/epic/blockminer/blockminer.py +26 -0
  234. pyasic_umhost-0.0.1/pyasic/miners/braiins/__init__.py +17 -0
  235. pyasic_umhost-0.0.1/pyasic/miners/braiins/braiins/BMM/BMM.py +26 -0
  236. pyasic_umhost-0.0.1/pyasic/miners/braiins/braiins/BMM/__init__.py +17 -0
  237. pyasic_umhost-0.0.1/pyasic/miners/braiins/braiins/__init__.py +17 -0
  238. pyasic_umhost-0.0.1/pyasic/miners/data.py +85 -0
  239. pyasic_umhost-0.0.1/pyasic/miners/device/__init__.py +0 -0
  240. pyasic_umhost-0.0.1/pyasic/miners/device/firmware.py +46 -0
  241. pyasic_umhost-0.0.1/pyasic/miners/device/makes.py +74 -0
  242. pyasic_umhost-0.0.1/pyasic/miners/device/models/__init__.py +28 -0
  243. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X15/Z15.py +36 -0
  244. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X15/__init__.py +16 -0
  245. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X17/S17.py +54 -0
  246. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X17/T17.py +45 -0
  247. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X17/__init__.py +18 -0
  248. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X19/S19.py +225 -0
  249. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X19/T19.py +27 -0
  250. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X19/__init__.py +42 -0
  251. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X21/S21.py +45 -0
  252. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X21/T21.py +27 -0
  253. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X21/__init__.py +18 -0
  254. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X3/D3.py +27 -0
  255. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X3/HS3.py +27 -0
  256. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X3/KA3.py +27 -0
  257. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X3/KS3.py +27 -0
  258. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X3/L3.py +27 -0
  259. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X3/__init__.py +20 -0
  260. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X5/DR5.py +27 -0
  261. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X5/KS5.py +36 -0
  262. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X5/__init__.py +17 -0
  263. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X7/D7.py +27 -0
  264. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X7/K7.py +27 -0
  265. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X7/L7.py +27 -0
  266. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X7/__init__.py +18 -0
  267. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X9/D9.py +27 -0
  268. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X9/E9.py +27 -0
  269. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X9/L9.py +27 -0
  270. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X9/S9.py +45 -0
  271. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X9/T9.py +27 -0
  272. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/X9/__init__.py +21 -0
  273. pyasic_umhost-0.0.1/pyasic/miners/device/models/antminer/__init__.py +23 -0
  274. pyasic_umhost-0.0.1/pyasic/miners/device/models/auradine/AD/AD2.py +11 -0
  275. pyasic_umhost-0.0.1/pyasic/miners/device/models/auradine/AD/AD3.py +11 -0
  276. pyasic_umhost-0.0.1/pyasic/miners/device/models/auradine/AD/__init__.py +2 -0
  277. pyasic_umhost-0.0.1/pyasic/miners/device/models/auradine/AI/AI2.py +11 -0
  278. pyasic_umhost-0.0.1/pyasic/miners/device/models/auradine/AI/AI3.py +11 -0
  279. pyasic_umhost-0.0.1/pyasic/miners/device/models/auradine/AI/__init__.py +2 -0
  280. pyasic_umhost-0.0.1/pyasic/miners/device/models/auradine/AT/AT1.py +12 -0
  281. pyasic_umhost-0.0.1/pyasic/miners/device/models/auradine/AT/AT2.py +19 -0
  282. pyasic_umhost-0.0.1/pyasic/miners/device/models/auradine/AT/__init__.py +2 -0
  283. pyasic_umhost-0.0.1/pyasic/miners/device/models/auradine/__init__.py +3 -0
  284. pyasic_umhost-0.0.1/pyasic/miners/device/models/avalonminer/A10X/A1026.py +27 -0
  285. pyasic_umhost-0.0.1/pyasic/miners/device/models/avalonminer/A10X/A1047.py +27 -0
  286. pyasic_umhost-0.0.1/pyasic/miners/device/models/avalonminer/A10X/A1066.py +26 -0
  287. pyasic_umhost-0.0.1/pyasic/miners/device/models/avalonminer/A10X/__init__.py +19 -0
  288. pyasic_umhost-0.0.1/pyasic/miners/device/models/avalonminer/A11X/A1126.py +27 -0
  289. pyasic_umhost-0.0.1/pyasic/miners/device/models/avalonminer/A11X/A1166.py +27 -0
  290. pyasic_umhost-0.0.1/pyasic/miners/device/models/avalonminer/A11X/__init__.py +19 -0
  291. pyasic_umhost-0.0.1/pyasic/miners/device/models/avalonminer/A12X/A1246.py +27 -0
  292. pyasic_umhost-0.0.1/pyasic/miners/device/models/avalonminer/A12X/__init__.py +17 -0
  293. pyasic_umhost-0.0.1/pyasic/miners/device/models/avalonminer/A15X/A1566.py +27 -0
  294. pyasic_umhost-0.0.1/pyasic/miners/device/models/avalonminer/A15X/__init__.py +17 -0
  295. pyasic_umhost-0.0.1/pyasic/miners/device/models/avalonminer/A7X/A721.py +27 -0
  296. pyasic_umhost-0.0.1/pyasic/miners/device/models/avalonminer/A7X/A741.py +27 -0
  297. pyasic_umhost-0.0.1/pyasic/miners/device/models/avalonminer/A7X/A761.py +27 -0
  298. pyasic_umhost-0.0.1/pyasic/miners/device/models/avalonminer/A7X/__init__.py +19 -0
  299. pyasic_umhost-0.0.1/pyasic/miners/device/models/avalonminer/A8X/A821.py +27 -0
  300. pyasic_umhost-0.0.1/pyasic/miners/device/models/avalonminer/A8X/A841.py +27 -0
  301. pyasic_umhost-0.0.1/pyasic/miners/device/models/avalonminer/A8X/A851.py +27 -0
  302. pyasic_umhost-0.0.1/pyasic/miners/device/models/avalonminer/A8X/__init__.py +19 -0
  303. pyasic_umhost-0.0.1/pyasic/miners/device/models/avalonminer/A9X/A921.py +27 -0
  304. pyasic_umhost-0.0.1/pyasic/miners/device/models/avalonminer/A9X/__init__.py +17 -0
  305. pyasic_umhost-0.0.1/pyasic/miners/device/models/avalonminer/__init__.py +24 -0
  306. pyasic_umhost-0.0.1/pyasic/miners/device/models/avalonminer/nano/__init__.py +1 -0
  307. pyasic_umhost-0.0.1/pyasic/miners/device/models/avalonminer/nano/nano3.py +12 -0
  308. pyasic_umhost-0.0.1/pyasic/miners/device/models/bitaxe/BM/BM1366.py +12 -0
  309. pyasic_umhost-0.0.1/pyasic/miners/device/models/bitaxe/BM/BM1368.py +12 -0
  310. pyasic_umhost-0.0.1/pyasic/miners/device/models/bitaxe/BM/BM1370.py +12 -0
  311. pyasic_umhost-0.0.1/pyasic/miners/device/models/bitaxe/BM/BM1397.py +12 -0
  312. pyasic_umhost-0.0.1/pyasic/miners/device/models/bitaxe/BM/__init__.py +4 -0
  313. pyasic_umhost-0.0.1/pyasic/miners/device/models/bitaxe/__init__.py +1 -0
  314. pyasic_umhost-0.0.1/pyasic/miners/device/models/braiins/BMM/BMM1.py +19 -0
  315. pyasic_umhost-0.0.1/pyasic/miners/device/models/braiins/BMM/__init__.py +1 -0
  316. pyasic_umhost-0.0.1/pyasic/miners/device/models/braiins/__init__.py +1 -0
  317. pyasic_umhost-0.0.1/pyasic/miners/device/models/elphapex/DGX/DG1.py +27 -0
  318. pyasic_umhost-0.0.1/pyasic/miners/device/models/elphapex/DGX/__init__.py +1 -0
  319. pyasic_umhost-0.0.1/pyasic/miners/device/models/elphapex/__init__.py +1 -0
  320. pyasic_umhost-0.0.1/pyasic/miners/device/models/epic/__init__.py +1 -0
  321. pyasic_umhost-0.0.1/pyasic/miners/device/models/epic/blockminer/__init__.py +1 -0
  322. pyasic_umhost-0.0.1/pyasic/miners/device/models/epic/blockminer/blockminer.py +21 -0
  323. pyasic_umhost-0.0.1/pyasic/miners/device/models/goldshell/X5/CK5.py +27 -0
  324. pyasic_umhost-0.0.1/pyasic/miners/device/models/goldshell/X5/HS5.py +27 -0
  325. pyasic_umhost-0.0.1/pyasic/miners/device/models/goldshell/X5/KD5.py +27 -0
  326. pyasic_umhost-0.0.1/pyasic/miners/device/models/goldshell/X5/__init__.py +18 -0
  327. pyasic_umhost-0.0.1/pyasic/miners/device/models/goldshell/XBox/KDBox.py +36 -0
  328. pyasic_umhost-0.0.1/pyasic/miners/device/models/goldshell/XBox/__init__.py +1 -0
  329. pyasic_umhost-0.0.1/pyasic/miners/device/models/goldshell/XMax/KDMax.py +27 -0
  330. pyasic_umhost-0.0.1/pyasic/miners/device/models/goldshell/XMax/__init__.py +16 -0
  331. pyasic_umhost-0.0.1/pyasic/miners/device/models/goldshell/__init__.py +18 -0
  332. pyasic_umhost-0.0.1/pyasic/miners/device/models/hammer/DX/D10.py +27 -0
  333. pyasic_umhost-0.0.1/pyasic/miners/device/models/hammer/DX/__init__.py +1 -0
  334. pyasic_umhost-0.0.1/pyasic/miners/device/models/hammer/__init__.py +1 -0
  335. pyasic_umhost-0.0.1/pyasic/miners/device/models/iceriver/KSX/KS0.py +26 -0
  336. pyasic_umhost-0.0.1/pyasic/miners/device/models/iceriver/KSX/KS1.py +26 -0
  337. pyasic_umhost-0.0.1/pyasic/miners/device/models/iceriver/KSX/KS2.py +27 -0
  338. pyasic_umhost-0.0.1/pyasic/miners/device/models/iceriver/KSX/KS3.py +43 -0
  339. pyasic_umhost-0.0.1/pyasic/miners/device/models/iceriver/KSX/KS5.py +44 -0
  340. pyasic_umhost-0.0.1/pyasic/miners/device/models/iceriver/KSX/__init__.py +5 -0
  341. pyasic_umhost-0.0.1/pyasic/miners/device/models/iceriver/__init__.py +1 -0
  342. pyasic_umhost-0.0.1/pyasic/miners/device/models/innosilicon/A10X/A10X.py +26 -0
  343. pyasic_umhost-0.0.1/pyasic/miners/device/models/innosilicon/A10X/__init__.py +16 -0
  344. pyasic_umhost-0.0.1/pyasic/miners/device/models/innosilicon/A11X/A11.py +27 -0
  345. pyasic_umhost-0.0.1/pyasic/miners/device/models/innosilicon/A11X/A11M.py +27 -0
  346. pyasic_umhost-0.0.1/pyasic/miners/device/models/innosilicon/A11X/__init__.py +17 -0
  347. pyasic_umhost-0.0.1/pyasic/miners/device/models/innosilicon/T3X/T3H.py +27 -0
  348. pyasic_umhost-0.0.1/pyasic/miners/device/models/innosilicon/T3X/__init__.py +17 -0
  349. pyasic_umhost-0.0.1/pyasic/miners/device/models/innosilicon/__init__.py +19 -0
  350. pyasic_umhost-0.0.1/pyasic/miners/device/models/luckyminer/LV/LV07.py +12 -0
  351. pyasic_umhost-0.0.1/pyasic/miners/device/models/luckyminer/LV/LV08.py +12 -0
  352. pyasic_umhost-0.0.1/pyasic/miners/device/models/luckyminer/LV/__init__.py +2 -0
  353. pyasic_umhost-0.0.1/pyasic/miners/device/models/luckyminer/__init__.py +1 -0
  354. pyasic_umhost-0.0.1/pyasic/miners/device/models/volcminer/DX/D1.py +27 -0
  355. pyasic_umhost-0.0.1/pyasic/miners/device/models/volcminer/DX/__init__.py +1 -0
  356. pyasic_umhost-0.0.1/pyasic/miners/device/models/volcminer/__init__.py +1 -0
  357. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M2X/M20.py +12 -0
  358. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M2X/M20P.py +21 -0
  359. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M2X/M20S.py +30 -0
  360. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M2X/M20S_Plus.py +12 -0
  361. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M2X/M21.py +12 -0
  362. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M2X/M21S.py +30 -0
  363. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M2X/M21S_Plus.py +12 -0
  364. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M2X/M29.py +12 -0
  365. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M2X/__init__.py +8 -0
  366. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M3X/M30.py +21 -0
  367. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M3X/M30K.py +12 -0
  368. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M3X/M30L.py +12 -0
  369. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M3X/M30S.py +273 -0
  370. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M3X/M30S_Plus.py +318 -0
  371. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M3X/M30S_Plus_Plus.py +255 -0
  372. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M3X/M31.py +21 -0
  373. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M3X/M31H.py +21 -0
  374. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M3X/M31L.py +12 -0
  375. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M3X/M31S.py +111 -0
  376. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M3X/M31SE.py +30 -0
  377. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M3X/M31S_Plus.py +183 -0
  378. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M3X/M32.py +21 -0
  379. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M3X/M32S.py +27 -0
  380. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M3X/M33.py +30 -0
  381. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M3X/M33S.py +12 -0
  382. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M3X/M33S_Plus.py +39 -0
  383. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M3X/M33S_Plus_Plus.py +30 -0
  384. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M3X/M34S_Plus.py +12 -0
  385. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M3X/M36S.py +12 -0
  386. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M3X/M36S_Plus.py +12 -0
  387. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M3X/M36S_Plus_Plus.py +12 -0
  388. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M3X/M39.py +30 -0
  389. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M3X/__init__.py +152 -0
  390. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M5X/M50.py +165 -0
  391. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M5X/M50S.py +174 -0
  392. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M5X/M50S_Plus.py +102 -0
  393. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M5X/M50S_Plus_Plus.py +102 -0
  394. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M5X/M52S.py +12 -0
  395. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M5X/M52S_Plus_Plus.py +12 -0
  396. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M5X/M53.py +48 -0
  397. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M5X/M53H.py +12 -0
  398. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M5X/M53S.py +48 -0
  399. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M5X/M53S_Plus.py +39 -0
  400. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M5X/M53S_Plus_Plus.py +57 -0
  401. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M5X/M54S_Plus_Plus.py +30 -0
  402. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M5X/M56.py +12 -0
  403. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M5X/M56S.py +30 -0
  404. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M5X/M56S_Plus.py +39 -0
  405. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M5X/M56S_Plus_Plus.py +39 -0
  406. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M5X/M59.py +12 -0
  407. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M5X/__init__.py +92 -0
  408. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M6X/M60.py +93 -0
  409. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M6X/M60S.py +102 -0
  410. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M6X/M60S_Plus.py +93 -0
  411. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M6X/M60S_Plus_Plus.py +21 -0
  412. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M6X/M61.py +84 -0
  413. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M6X/M61S.py +30 -0
  414. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M6X/M61S_Plus.py +12 -0
  415. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M6X/M62S_Plus.py +12 -0
  416. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M6X/M63.py +48 -0
  417. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M6X/M63S.py +66 -0
  418. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M6X/M63S_Plus.py +48 -0
  419. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M6X/M63S_Plus_Plus.py +12 -0
  420. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M6X/M64.py +21 -0
  421. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M6X/M64S.py +12 -0
  422. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M6X/M65S.py +21 -0
  423. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M6X/M65S_Plus.py +12 -0
  424. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M6X/M66.py +39 -0
  425. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M6X/M66S.py +93 -0
  426. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M6X/M66S_Plus.py +57 -0
  427. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M6X/M66S_Plus_Plus.py +12 -0
  428. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M6X/M67S.py +12 -0
  429. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M6X/__init__.py +89 -0
  430. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M7X/M70.py +12 -0
  431. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/M7X/__init__.py +1 -0
  432. pyasic_umhost-0.0.1/pyasic/miners/device/models/whatsminer/__init__.py +5 -0
  433. pyasic_umhost-0.0.1/pyasic/miners/elphapex/__init__.py +1 -0
  434. pyasic_umhost-0.0.1/pyasic/miners/elphapex/daoge/DGX/DG1.py +6 -0
  435. pyasic_umhost-0.0.1/pyasic/miners/elphapex/daoge/DGX/__init__.py +1 -0
  436. pyasic_umhost-0.0.1/pyasic/miners/elphapex/daoge/__init__.py +1 -0
  437. pyasic_umhost-0.0.1/pyasic/miners/factory.py +1439 -0
  438. pyasic_umhost-0.0.1/pyasic/miners/goldshell/__init__.py +16 -0
  439. pyasic_umhost-0.0.1/pyasic/miners/goldshell/bfgminer/X5/CK5.py +21 -0
  440. pyasic_umhost-0.0.1/pyasic/miners/goldshell/bfgminer/X5/HS5.py +21 -0
  441. pyasic_umhost-0.0.1/pyasic/miners/goldshell/bfgminer/X5/KD5.py +21 -0
  442. pyasic_umhost-0.0.1/pyasic/miners/goldshell/bfgminer/X5/__init__.py +18 -0
  443. pyasic_umhost-0.0.1/pyasic/miners/goldshell/bfgminer/XBox/KDBox.py +25 -0
  444. pyasic_umhost-0.0.1/pyasic/miners/goldshell/bfgminer/XBox/__init__.py +16 -0
  445. pyasic_umhost-0.0.1/pyasic/miners/goldshell/bfgminer/XMax/KDMax.py +21 -0
  446. pyasic_umhost-0.0.1/pyasic/miners/goldshell/bfgminer/XMax/__init__.py +16 -0
  447. pyasic_umhost-0.0.1/pyasic/miners/goldshell/bfgminer/__init__.py +18 -0
  448. pyasic_umhost-0.0.1/pyasic/miners/hammer/__init__.py +1 -0
  449. pyasic_umhost-0.0.1/pyasic/miners/hammer/blackminer/DX/D10.py +8 -0
  450. pyasic_umhost-0.0.1/pyasic/miners/hammer/blackminer/DX/__init__.py +1 -0
  451. pyasic_umhost-0.0.1/pyasic/miners/hammer/blackminer/__init__.py +1 -0
  452. pyasic_umhost-0.0.1/pyasic/miners/iceriver/__init__.py +1 -0
  453. pyasic_umhost-0.0.1/pyasic/miners/iceriver/iceminer/KSX/KS0.py +6 -0
  454. pyasic_umhost-0.0.1/pyasic/miners/iceriver/iceminer/KSX/KS1.py +6 -0
  455. pyasic_umhost-0.0.1/pyasic/miners/iceriver/iceminer/KSX/KS2.py +6 -0
  456. pyasic_umhost-0.0.1/pyasic/miners/iceriver/iceminer/KSX/KS3.py +14 -0
  457. pyasic_umhost-0.0.1/pyasic/miners/iceriver/iceminer/KSX/KS5.py +14 -0
  458. pyasic_umhost-0.0.1/pyasic/miners/iceriver/iceminer/KSX/__init__.py +5 -0
  459. pyasic_umhost-0.0.1/pyasic/miners/iceriver/iceminer/__init__.py +1 -0
  460. pyasic_umhost-0.0.1/pyasic/miners/innosilicon/__init__.py +17 -0
  461. pyasic_umhost-0.0.1/pyasic/miners/innosilicon/cgminer/A10X/A10X.py +22 -0
  462. pyasic_umhost-0.0.1/pyasic/miners/innosilicon/cgminer/A10X/__init__.py +17 -0
  463. pyasic_umhost-0.0.1/pyasic/miners/innosilicon/cgminer/A11X/A11.py +22 -0
  464. pyasic_umhost-0.0.1/pyasic/miners/innosilicon/cgminer/A11X/A11M.py +22 -0
  465. pyasic_umhost-0.0.1/pyasic/miners/innosilicon/cgminer/A11X/__init__.py +2 -0
  466. pyasic_umhost-0.0.1/pyasic/miners/innosilicon/cgminer/T3X/T3H.py +22 -0
  467. pyasic_umhost-0.0.1/pyasic/miners/innosilicon/cgminer/T3X/__init__.py +17 -0
  468. pyasic_umhost-0.0.1/pyasic/miners/innosilicon/cgminer/__init__.py +19 -0
  469. pyasic_umhost-0.0.1/pyasic/miners/listener.py +87 -0
  470. pyasic_umhost-0.0.1/pyasic/miners/luckyminer/__init__.py +1 -0
  471. pyasic_umhost-0.0.1/pyasic/miners/luckyminer/espminer/LV/LV07.py +6 -0
  472. pyasic_umhost-0.0.1/pyasic/miners/luckyminer/espminer/LV/LV08.py +6 -0
  473. pyasic_umhost-0.0.1/pyasic/miners/luckyminer/espminer/LV/__init__.py +2 -0
  474. pyasic_umhost-0.0.1/pyasic/miners/luckyminer/espminer/__init__.py +1 -0
  475. pyasic_umhost-0.0.1/pyasic/miners/volcminer/__init__.py +1 -0
  476. pyasic_umhost-0.0.1/pyasic/miners/volcminer/blackminer/DX/D1.py +8 -0
  477. pyasic_umhost-0.0.1/pyasic/miners/volcminer/blackminer/DX/__init__.py +1 -0
  478. pyasic_umhost-0.0.1/pyasic/miners/volcminer/blackminer/__init__.py +1 -0
  479. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/__init__.py +17 -0
  480. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M2X/M20.py +6 -0
  481. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M2X/M20P.py +13 -0
  482. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M2X/M20S.py +20 -0
  483. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M2X/M20S_Plus.py +6 -0
  484. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M2X/M21.py +6 -0
  485. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M2X/M21S.py +20 -0
  486. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M2X/M21S_Plus.py +6 -0
  487. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M2X/M29.py +6 -0
  488. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M2X/__init__.py +8 -0
  489. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M3X/M30.py +13 -0
  490. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M3X/M30K.py +6 -0
  491. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M3X/M30L.py +6 -0
  492. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M3X/M30S.py +209 -0
  493. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M3X/M30S_Plus.py +244 -0
  494. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M3X/M30S_Plus_Plus.py +195 -0
  495. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M3X/M31.py +13 -0
  496. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M3X/M31H.py +13 -0
  497. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M3X/M31L.py +6 -0
  498. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M3X/M31S.py +83 -0
  499. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M3X/M31SE.py +20 -0
  500. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M3X/M31S_Plus.py +139 -0
  501. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M3X/M32.py +13 -0
  502. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M3X/M32S.py +22 -0
  503. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M3X/M33.py +20 -0
  504. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M3X/M33S.py +6 -0
  505. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M3X/M33S_Plus.py +27 -0
  506. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M3X/M33S_Plus_Plus.py +20 -0
  507. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M3X/M34S_Plus.py +6 -0
  508. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M3X/M36S.py +6 -0
  509. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M3X/M36S_Plus.py +6 -0
  510. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M3X/M36S_Plus_Plus.py +6 -0
  511. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M3X/M39.py +20 -0
  512. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M3X/__init__.py +161 -0
  513. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M5X/M50.py +125 -0
  514. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M5X/M50S.py +132 -0
  515. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M5X/M50S_Plus.py +76 -0
  516. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M5X/M50S_Plus_Plus.py +76 -0
  517. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M5X/M52S.py +6 -0
  518. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M5X/M52S_Plus_Plus.py +6 -0
  519. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M5X/M53.py +34 -0
  520. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M5X/M53H.py +6 -0
  521. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M5X/M53S.py +34 -0
  522. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M5X/M53S_Plus.py +27 -0
  523. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M5X/M53S_Plus_Plus.py +41 -0
  524. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M5X/M54S_Plus_Plus.py +20 -0
  525. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M5X/M56.py +6 -0
  526. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M5X/M56S.py +20 -0
  527. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M5X/M56S_Plus.py +27 -0
  528. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M5X/M56S_Plus_Plus.py +27 -0
  529. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M5X/M59.py +6 -0
  530. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M5X/__init__.py +118 -0
  531. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M6X/M60.py +69 -0
  532. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M6X/M60S.py +76 -0
  533. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M6X/M60S_Plus.py +69 -0
  534. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M6X/M60S_Plus_Plus.py +13 -0
  535. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M6X/M61.py +62 -0
  536. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M6X/M61S.py +20 -0
  537. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M6X/M61S_Plus.py +6 -0
  538. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M6X/M62S_Plus.py +6 -0
  539. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M6X/M63.py +34 -0
  540. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M6X/M63S.py +48 -0
  541. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M6X/M63S_Plus.py +34 -0
  542. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M6X/M63S_Plus_Plus.py +6 -0
  543. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M6X/M64.py +13 -0
  544. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M6X/M64S.py +6 -0
  545. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M6X/M65S.py +13 -0
  546. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M6X/M65S_Plus.py +6 -0
  547. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M6X/M66.py +27 -0
  548. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M6X/M66S.py +69 -0
  549. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M6X/M66S_Plus.py +41 -0
  550. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M6X/M66S_Plus_Plus.py +6 -0
  551. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M6X/M67S.py +6 -0
  552. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M6X/__init__.py +103 -0
  553. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M7X/M70.py +6 -0
  554. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/M7X/__init__.py +1 -0
  555. pyasic_umhost-0.0.1/pyasic/miners/whatsminer/btminer/__init__.py +5 -0
  556. pyasic_umhost-0.0.1/pyasic/misc/__init__.py +110 -0
  557. pyasic_umhost-0.0.1/pyasic/network/__init__.py +216 -0
  558. pyasic_umhost-0.0.1/pyasic/rpc/__init__.py +24 -0
  559. pyasic_umhost-0.0.1/pyasic/rpc/antminer.py +36 -0
  560. pyasic_umhost-0.0.1/pyasic/rpc/base.py +291 -0
  561. pyasic_umhost-0.0.1/pyasic/rpc/bfgminer.py +181 -0
  562. pyasic_umhost-0.0.1/pyasic/rpc/bmminer.py +32 -0
  563. pyasic_umhost-0.0.1/pyasic/rpc/bosminer.py +270 -0
  564. pyasic_umhost-0.0.1/pyasic/rpc/btminer.py +1102 -0
  565. pyasic_umhost-0.0.1/pyasic/rpc/ccminer.py +34 -0
  566. pyasic_umhost-0.0.1/pyasic/rpc/cgminer.py +690 -0
  567. pyasic_umhost-0.0.1/pyasic/rpc/gcminer.py +178 -0
  568. pyasic_umhost-0.0.1/pyasic/rpc/luxminer.py +851 -0
  569. pyasic_umhost-0.0.1/pyasic/rpc/marathon.py +33 -0
  570. pyasic_umhost-0.0.1/pyasic/rpc/unknown.py +51 -0
  571. pyasic_umhost-0.0.1/pyasic/settings/__init__.py +64 -0
  572. pyasic_umhost-0.0.1/pyasic/ssh/__init__.py +17 -0
  573. pyasic_umhost-0.0.1/pyasic/ssh/antminer.py +16 -0
  574. pyasic_umhost-0.0.1/pyasic/ssh/base.py +47 -0
  575. pyasic_umhost-0.0.1/pyasic/ssh/braiins_os.py +95 -0
  576. pyasic_umhost-0.0.1/pyasic/web/__init__.py +25 -0
  577. pyasic_umhost-0.0.1/pyasic/web/antminer.py +421 -0
  578. pyasic_umhost-0.0.1/pyasic/web/auradine.py +442 -0
  579. pyasic_umhost-0.0.1/pyasic/web/avalonminer.py +108 -0
  580. pyasic_umhost-0.0.1/pyasic/web/base.py +98 -0
  581. pyasic_umhost-0.0.1/pyasic/web/braiins_os/__init__.py +2 -0
  582. pyasic_umhost-0.0.1/pyasic/web/braiins_os/better_monkey.py +93 -0
  583. pyasic_umhost-0.0.1/pyasic/web/braiins_os/boser.py +498 -0
  584. pyasic_umhost-0.0.1/pyasic/web/braiins_os/bosminer.py +101 -0
  585. pyasic_umhost-0.0.1/pyasic/web/braiins_os/proto/__init__.py +0 -0
  586. pyasic_umhost-0.0.1/pyasic/web/braiins_os/proto/braiins/__init__.py +0 -0
  587. pyasic_umhost-0.0.1/pyasic/web/braiins_os/proto/braiins/bos/__init__.py +76 -0
  588. pyasic_umhost-0.0.1/pyasic/web/braiins_os/proto/braiins/bos/v1/__init__.py +3388 -0
  589. pyasic_umhost-0.0.1/pyasic/web/elphapex.py +224 -0
  590. pyasic_umhost-0.0.1/pyasic/web/epic.py +167 -0
  591. pyasic_umhost-0.0.1/pyasic/web/espminer.py +96 -0
  592. pyasic_umhost-0.0.1/pyasic/web/goldshell.py +145 -0
  593. pyasic_umhost-0.0.1/pyasic/web/hammer.py +240 -0
  594. pyasic_umhost-0.0.1/pyasic/web/hiveon.py +213 -0
  595. pyasic_umhost-0.0.1/pyasic/web/iceriver.py +77 -0
  596. pyasic_umhost-0.0.1/pyasic/web/innosilicon.py +140 -0
  597. pyasic_umhost-0.0.1/pyasic/web/luckyminer.py +7 -0
  598. pyasic_umhost-0.0.1/pyasic/web/marathon.py +147 -0
  599. pyasic_umhost-0.0.1/pyasic/web/mskminer.py +72 -0
  600. pyasic_umhost-0.0.1/pyasic/web/vnish.py +157 -0
  601. pyasic_umhost-0.0.1/pyproject.toml +87 -0
@@ -0,0 +1,176 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
@@ -0,0 +1,325 @@
1
+ Metadata-Version: 2.3
2
+ Name: pyasic-umhost
3
+ Version: 0.0.1
4
+ Summary: A simplified and standardized interface for Bitcoin ASICs.
5
+ License: Apache 2.0
6
+ Keywords: python,asic,bitcoin,whatsminer,antminer,braiins-os,vnish,luxos
7
+ Author: UpstreamData
8
+ Author-email: brett@upstreamdata.ca
9
+ Requires-Python: >3.9, <4.0
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Programming Language :: Python
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.9
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Requires-Dist: aiofiles (>=23.2.1)
21
+ Requires-Dist: asyncssh (>=2.17.0)
22
+ Requires-Dist: betterproto (==2.0.0b7)
23
+ Requires-Dist: cryptography (>=39.0)
24
+ Requires-Dist: httpx (>=0.26.0)
25
+ Requires-Dist: passlib (>=1.7.4)
26
+ Requires-Dist: pyaml (>=23.12.0)
27
+ Requires-Dist: pydantic (>=2.9.2)
28
+ Requires-Dist: tomli (>=2.2.1,<3.0.0) ; python_version < "3.11"
29
+ Requires-Dist: tomli-w (>=1.0.0)
30
+ Description-Content-Type: text/markdown
31
+
32
+ # pyasic
33
+ *A simplified and standardized interface for Bitcoin ASICs.*
34
+
35
+ [![PyPI - Version](https://img.shields.io/pypi/v/pyasic.svg)](https://pypi.org/project/pyasic/)
36
+ [![PyPI - Downloads](https://img.shields.io/pypi/dm/pyasic)](https://pypi.org/project/pyasic/)
37
+
38
+ [![Python - Supported Versions](https://img.shields.io/pypi/pyversions/pyasic.svg)](https://pypi.org/project/pyasic/)
39
+ [![CodeFactor - Grade](https://img.shields.io/codefactor/grade/github/UpstreamData/pyasic)](https://www.codefactor.io/repository/github/upstreamdata/pyasic)
40
+ [![Commit Activity - master](https://img.shields.io/github/commit-activity/y/UpstreamData/pyasic)](https://github.com/UpstreamData/pyasic/commits/master/)
41
+
42
+ [![Code Style - Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
43
+ [![Read The Docs - Docs](https://img.shields.io/readthedocs/pyasic)](https://docs.pyasic.org)
44
+ [![License - Apache 2.0](https://img.shields.io/github/license/UpstreamData/pyasic)](https://github.com/UpstreamData/pyasic/blob/master/LICENSE.txt)
45
+
46
+ ---
47
+ ## Intro
48
+
49
+ Welcome to `pyasic`! `pyasic` uses an asynchronous method of communicating with ASIC miners on your network, which makes it super fast.
50
+
51
+ [Click here to view supported miner types](https://docs.pyasic.org/en/latest/miners/supported_types/)
52
+
53
+ ---
54
+ ## Installation
55
+
56
+ It is recommended to install `pyasic` in a [virtual environment](https://realpython.com/python-virtual-environments-a-primer/#what-other-popular-options-exist-aside-from-venv) to isolate it from the rest of your system. Options include:
57
+ - [pypoetry](https://python-poetry.org/): the reccommended way, since pyasic already uses it by default
58
+
59
+ ```
60
+ poetry install
61
+ ```
62
+
63
+ - [venv](https://docs.python.org/3/library/venv.html): included in Python standard library but has fewer features than other options
64
+ - [pyenv-virtualenv](https://github.com/pyenv/pyenv-virtualenv): [pyenv](https://github.com/pyenv/pyenv) plugin for managing virtualenvs
65
+
66
+ ```
67
+ pyenv install <python version number>
68
+ pyenv virtualenv <python version number> <env name>
69
+ pyenv activate <env name>
70
+ ```
71
+
72
+ - [conda](https://docs.conda.io/en/latest/)
73
+
74
+ ##### Installing `pyasic`
75
+
76
+ `python -m pip install pyasic` or `poetry install`
77
+
78
+ ##### Additional Developer Setup
79
+ ```
80
+ poetry install --with dev
81
+ pre-commit install
82
+ ```
83
+
84
+ ##### Building Documentation Locally
85
+ ```
86
+ poetry install --with docs
87
+ python docs/generate_miners.py
88
+ poetry run mkdocs serve
89
+ ```
90
+
91
+ ---
92
+ ## Getting started
93
+
94
+ Getting started with `pyasic` is easy. First, find your miner (or miners) on the network by scanning for them or getting the correct class automatically for them if you know the IP.
95
+
96
+ ##### Scanning for miners
97
+ To scan for miners in `pyasic`, we use the class `MinerNetwork`, which abstracts the search, communication, identification, setup, and return of a miner to 1 command.
98
+ The command `MinerNetwork.scan()` returns a list that contains any miners found.
99
+ ```python
100
+ import asyncio # asyncio for handling the async part
101
+ from pyasic.network import MinerNetwork # miner network handles the scanning
102
+
103
+
104
+ async def scan_miners(): # define async scan function to allow awaiting
105
+ # create a miner network
106
+ # you can pass in any IP and it will use that in a subnet with a /24 mask (255 IPs).
107
+ network = MinerNetwork.from_subnet("192.168.1.50/24") # this uses the 192.168.1.0-255 network
108
+
109
+ # scan for miners asynchronously
110
+ # this will return the correct type of miners if they are supported with all functionality.
111
+ miners = await network.scan()
112
+ print(miners)
113
+
114
+ if __name__ == "__main__":
115
+ asyncio.run(scan_miners()) # run the scan asynchronously with asyncio.run()
116
+ ```
117
+
118
+ ---
119
+ ##### Creating miners based on IP
120
+ If you already know the IP address of your miner or miners, you can use the `MinerFactory` to communicate and identify the miners, or an abstraction of its functionality, `get_miner()`.
121
+ The function `get_miner()` will return any miner it found at the IP address specified, or an `UnknownMiner` if it cannot identify the miner.
122
+ ```python
123
+ import asyncio # asyncio for handling the async part
124
+ from pyasic import get_miner # handles miner creation
125
+
126
+
127
+ async def get_miners(): # define async scan function to allow awaiting
128
+ # get the miner with the miner factory
129
+ # the miner factory is a singleton, and will always use the same object and cache
130
+ # this means you can always call it as MinerFactory().get_miner(), or just get_miner()
131
+ miner_1 = await get_miner("192.168.1.75")
132
+ miner_2 = await get_miner("192.168.1.76")
133
+ print(miner_1, miner_2)
134
+
135
+ # can also gather these, since they are async
136
+ # gathering them will get them both at the same time
137
+ # this makes it much faster to get a lot of miners at a time
138
+ tasks = [get_miner("192.168.1.75"), get_miner("192.168.1.76")]
139
+ miners = await asyncio.gather(*tasks)
140
+ print(miners)
141
+
142
+
143
+ if __name__ == "__main__":
144
+ asyncio.run(get_miners()) # get the miners asynchronously with asyncio.run()
145
+ ```
146
+
147
+ ---
148
+ ## Data gathering
149
+
150
+ Once you have your miner(s) identified, you will likely want to get data from the miner(s). You can do this using a built-in function in each miner called `get_data()`.
151
+ This function will return an instance of the dataclass `MinerData` with all data it can gather from the miner.
152
+ Each piece of data in a `MinerData` instance can be referenced by getting it as an attribute, such as `MinerData().hashrate`.
153
+
154
+ ##### One miner
155
+ ```python
156
+ import asyncio
157
+ from pyasic import get_miner
158
+
159
+ async def gather_miner_data():
160
+ miner = await get_miner("192.168.1.75")
161
+ if miner is not None:
162
+ miner_data = await miner.get_data()
163
+ print(miner_data) # all data from the dataclass
164
+ print(miner_data.hashrate) # hashrate of the miner in TH/s
165
+
166
+ if __name__ == "__main__":
167
+ asyncio.run(gather_miner_data())
168
+ ```
169
+ ---
170
+ ##### Multiple miners
171
+ You can do something similar with multiple miners, with only needing to make a small change to get all the data at once.
172
+ ```python
173
+ import asyncio # asyncio for handling the async part
174
+ from pyasic.network import MinerNetwork # miner network handles the scanning
175
+
176
+
177
+ async def gather_miner_data(): # define async scan function to allow awaiting
178
+ network = MinerNetwork.from_subnet("192.168.1.50/24")
179
+ miners = await network.scan()
180
+
181
+ # we need to asyncio.gather() all the miners get_data() functions to make them run together
182
+ all_miner_data = await asyncio.gather(*[miner.get_data() for miner in miners])
183
+
184
+ for miner_data in all_miner_data:
185
+ print(miner_data) # print out all the data one by one
186
+
187
+ if __name__ == "__main__":
188
+ asyncio.run(gather_miner_data())
189
+ ```
190
+
191
+ ---
192
+ ## Miner control
193
+
194
+ `pyasic` exposes a standard interface for each miner using control functions.
195
+ Every miner class in `pyasic` must implement all the control functions defined in `BaseMiner`.
196
+
197
+ These functions are
198
+ `check_light`,
199
+ `fault_light_off`,
200
+ `fault_light_on`,
201
+ `get_config`,
202
+ `get_data`,
203
+ `get_errors`,
204
+ `get_hostname`,
205
+ `get_model`,
206
+ `reboot`,
207
+ `restart_backend`,
208
+ `stop_mining`,
209
+ `resume_mining`,
210
+ `is_mining`,
211
+ `send_config`, and
212
+ `set_power_limit`.
213
+
214
+ ##### Usage
215
+ ```python
216
+ import asyncio
217
+ from pyasic import get_miner
218
+
219
+
220
+ async def set_fault_light():
221
+ miner = await get_miner("192.168.1.20")
222
+
223
+ # call control function
224
+ await miner.fault_light_on()
225
+
226
+ if __name__ == "__main__":
227
+ asyncio.run(set_fault_light())
228
+ ```
229
+
230
+ ---
231
+ ## Helper dataclasses
232
+
233
+ ##### `MinerConfig` and `MinerData`
234
+
235
+ `pyasic` implements a few dataclasses as helpers to make data return types consistent across different miners and miner APIs. The different fields of these dataclasses can all be viewed with the classmethod `cls.fields()`.
236
+
237
+ ---
238
+
239
+ ##### MinerData
240
+
241
+ `MinerData` is a return from the [`get_data()`](#get-data) function, and is used to have a consistent dataset across all returns.
242
+
243
+ You can call `MinerData.as_dict()` to get the dataclass as a dictionary, and there are many other helper functions contained in the class to convert to different data formats.
244
+
245
+ `MinerData` instances can also be added to each other to combine their data and can be divided by a number to divide all their data, allowing you to get average data from many miners by doing -
246
+ ```python
247
+ from pyasic import MinerData
248
+
249
+ # examples of miner data
250
+ d1 = MinerData("192.168.1.1")
251
+ d2 = MinerData("192.168.1.2")
252
+
253
+ list_of_miner_data = [d1, d2]
254
+
255
+ average_data = sum(list_of_miner_data, start=MinerData("0.0.0.0"))/len(list_of_miner_data)
256
+ ```
257
+
258
+ ---
259
+
260
+ ##### MinerConfig
261
+
262
+ `MinerConfig` is `pyasic`'s way to represent a configuration file from a miner.
263
+ It is designed to unionize the configuration of all supported miner types, and is the return from [`get_config()`](#get-config).
264
+
265
+ Each miner has a unique way to convert the `MinerConfig` to their specific type, there are helper functions in the class.
266
+ In most cases these helper functions should not be used, as [`send_config()`](#send-config) takes a [`MinerConfig` and will do the conversion to the right type for you.
267
+
268
+ You can use the `MinerConfig` as follows:
269
+ ```python
270
+ import asyncio
271
+ from pyasic import get_miner
272
+
273
+
274
+ async def set_fault_light():
275
+ miner = await get_miner("192.168.1.20")
276
+
277
+ # get config
278
+ cfg = await miner.get_config()
279
+
280
+ # send config
281
+ await miner.send_config(cfg)
282
+
283
+ if __name__ == "__main__":
284
+ asyncio.run(set_fault_light())
285
+
286
+ ```
287
+
288
+ ---
289
+ ## Settings
290
+
291
+ `pyasic` has settings designed to make using large groups of miners easier. You can set the default password for all types of miners using the `pyasic.settings` module, used as follows:
292
+
293
+ ```python
294
+ from pyasic import settings
295
+
296
+ settings.update("default_antminer_web_password", "my_pwd")
297
+ ```
298
+
299
+ ##### Default values:
300
+ ```
301
+ "network_ping_retries": 1,
302
+ "network_ping_timeout": 3,
303
+ "network_scan_semaphore": None,
304
+ "factory_get_retries": 1,
305
+ "factory_get_timeout": 3,
306
+ "get_data_retries": 1,
307
+ "api_function_timeout": 5,
308
+ "antminer_mining_mode_as_str": False,
309
+ "default_whatsminer_rpc_password": "admin",
310
+ "default_innosilicon_web_password": "admin",
311
+ "default_antminer_web_password": "root",
312
+ "default_bosminer_web_password": "root",
313
+ "default_vnish_web_password": "admin",
314
+ "default_goldshell_web_password": "123456789",
315
+ "default_auradine_web_password": "admin",
316
+ "default_epic_web_password": "letmein",
317
+ "default_hive_web_password": "admin",
318
+ "default_antminer_ssh_password": "miner",
319
+ "default_bosminer_ssh_password": "root",
320
+
321
+ # ADVANCED
322
+ # Only use this if you know what you are doing
323
+ "socket_linger_time": 1000,
324
+ ```
325
+