micrOSDevToolKit 2.9.0__py3-none-any.whl → 2.9.1__py3-none-any.whl

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.
@@ -315,7 +315,7 @@
315
315
  },
316
316
  "summary": {
317
317
  "core": [
318
- 3275,
318
+ 3276,
319
319
  23
320
320
  ],
321
321
  "load": [
@@ -332,6 +332,6 @@
332
332
  ],
333
333
  "core_score": 9.06,
334
334
  "load_score": 8.22,
335
- "version": "2.9.0-0"
335
+ "version": "2.9.1-0"
336
336
  }
337
337
  }
micrOS/source/Shell.py CHANGED
@@ -25,7 +25,7 @@ from Debug import errlog_add
25
25
 
26
26
  class Shell:
27
27
  __slots__ = ['__devfid', '__auth_mode', '__hwuid', '__auth_ok', '__conf_mode']
28
- MICROS_VERSION = '2.9.0-0'
28
+ MICROS_VERSION = '2.9.1-0'
29
29
 
30
30
  def __init__(self):
31
31
  """
@@ -264,8 +264,9 @@ class Shell:
264
264
  line = "micrOSisTheBest"
265
265
  while line:
266
266
  line = f.readline()
267
- if line.strip().startswith('def') and '_' not in line and 'self' not in line:
268
- msg_obj(f" {' ' * len(lm_name)}{line.replace('def ', '').split('(')[0]}")
267
+ ldata = line.strip()
268
+ if ldata.startswith('def ') and not ldata.split()[1].startswith("_") and 'self' not in ldata:
269
+ msg_obj(f" {' ' * len(lm_name)}{ldata.replace('def ', '').split('(')[0]}")
269
270
  except Exception as e:
270
271
  msg_obj(f"[{lm_path}] SHOW LM PARSER WARNING: {e}")
271
272
  return False
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: micrOSDevToolKit
3
- Version: 2.9.0
3
+ Version: 2.9.1
4
4
  Summary: Development and deployment environment for micrOS, the diy micropython automation OS (IoT)
5
5
  Home-page: https://github.com/BxNxM/micrOS
6
6
  Author: Marcell Ban
@@ -107,13 +107,23 @@ I would suggest to use micrOS GUI as a primary interface for micrOS development
107
107
 
108
108
  <br/>
109
109
 
110
- ### 1. Install python3.9+
110
+ ## 1. Prerequisites
111
+
112
+ ### 1.1 Install python3.9+
111
113
 
112
114
  Link for python 3.9+ [download](https://www.python.org/downloads/release/python-390/)
113
115
 
114
116
  > Note: **Allow extend system path** with that python version (installation parameter) </br>
115
117
  > On **Windows**: RUN AS ADMINISTARTOR
116
118
 
119
+ ### 1.2 Install git
120
+
121
+ Link for git [download](https://git-scm.com/downloads)
122
+
123
+ > Git is a distributed version control system that helps developers track changes, collaborate on code, and manage project history efficiently.
124
+
125
+ It is needed to be able to download webrepl client (automatic), that is used for OverTheAir file transfers and other features.
126
+
117
127
  ----------------------------------------
118
128
 
119
129
  ### 2. Install micrOS devToolKit GUI
@@ -481,17 +491,20 @@ Version **3.0.0-0**
481
491
  Core:
482
492
  - Async SSL/TLS integration (micropython 1.22+ required)
483
493
  - urequest module async redesign for rest clients
484
- - Notify (telegram) + server (listener - chatbot)
494
+ - LM_telegram (Notify) + server (listener - chatbot)
485
495
  - Time (ntp location + sunset/sunrise api)
496
+ - ESP-NOW (peer-to-peer communication) integration into InterCon
497
+ - ??? New intercon syntax ???:
498
+ - rgb toggle >>RingLight.local
499
+ - similar as: intercon sendcmd host="RingLight.local" cmd="rgb toggle"
486
500
  ```
487
501
 
488
502
  Version **3.1.0-0**
489
503
 
490
504
  ```
491
505
  Core:
492
- - Async socket SSL/TLS integration (with auth.)
493
- - WebCli (http), ShellCli (terminal) and InterCon
494
- - Study of ESP-NOW (peer-to-peer communication) integration into InterCon (micropython requirements?)
506
+ - Async socket servers with SSL/TLS integration (with auth.)
507
+ - WebCli (https?), ShellCli (ssocket/sterminal) and InterCon
495
508
  ```
496
509
 
497
510
  Version **4.0.0-0**
@@ -32,7 +32,7 @@ micrOS/micropython/esp32s3_spiram_oct-20231005-v1.21.0.bin,sha256=S-sv_QeL_Tylg1
32
32
  micrOS/micropython/esp32s3_spiram_oct-20241129-v1.24.1.bin,sha256=VbOF_F0YeqttkQd2ePTW66Jd34RU8u9ccFfcv8kxO_U,1662672
33
33
  micrOS/micropython/rpi-pico-w-20241129-v1.24.1.uf2,sha256=v4aYIbWaE94_f6DDzBWS-a9L1BzlcdkZwld9R7bOVA4,1727488
34
34
  micrOS/micropython/tinypico-20241129-v1.24.1.bin,sha256=Kf3cr766a5SK99CZy8bwdWjwvAZxls3tBYvaHBsw7ac,1527200
35
- micrOS/release_info/micrOS_ReleaseInfo/system_analysis_sum.json,sha256=Lg5Zoim3Rl-U_ypZwU2bEDnIc-j90GHD3MKvX74UYmQ,5762
35
+ micrOS/release_info/micrOS_ReleaseInfo/system_analysis_sum.json,sha256=KTL6AgDxZMzgT_fRZrf4_dz1yU0t_W8DvCPzMn8vfCY,5762
36
36
  micrOS/source/.DS_Store,sha256=1lFlJ5EFymdzGAUAaI30vcaaLHt3F1LwpG7xILf9jsM,6148
37
37
  micrOS/source/Common.py,sha256=wFN5RwNUO7o4I5yU2Hqnm5rq16o4SFTxZI3kCqvebL8,7941
38
38
  micrOS/source/Config.py,sha256=me_mhQaqeIE5pVfd2SSZL5uuO2cTHRtjaiUcau4riJo,8867
@@ -109,7 +109,7 @@ micrOS/source/Network.py,sha256=wLhAPiRyi376TKJA7tzCQidDBHq-AbZGGp7JabHIyl8,9417
109
109
  micrOS/source/Notify.py,sha256=Fm4TfbiFCTz_95aQkMZBikakNUtAv7eZplI7XyufPRI,2351
110
110
  micrOS/source/Scheduler.py,sha256=K6fw807UJnOmbfzgeJQGzGbTL4s2sTIB120ZcS5qrLs,9648
111
111
  micrOS/source/Server.py,sha256=2a2hcfMEYSSJJ7ccUzaytT2aYmCuHsIOqzdk5ZnR8VY,16270
112
- micrOS/source/Shell.py,sha256=dt3w-qABir0C8_EAR396f1EYjP16IxiSIGh7pMqNCAQ,11868
112
+ micrOS/source/Shell.py,sha256=-sA_vT5puekl-EK85CYLQW8Dkz4SWtxx0r03ioRza-E,11934
113
113
  micrOS/source/Tasks.py,sha256=YMYt86TWnUBWa8j1DQjbOavYpktCizzfZXaKXrb6Fmo,22498
114
114
  micrOS/source/Time.py,sha256=96XMJjHCPwQ2qNuBD2Un7FXxzXZNbV1xCQn-RujsggU,6351
115
115
  micrOS/source/Types.py,sha256=3O_Vb1jN92RPtvgbV8ui6_iFzDOD-BUzVXlPB7PgmM4,3507
@@ -127,10 +127,10 @@ micrOS/source/urequests.py,sha256=f6IAPK1_xKVL69t1GlPc3zyKkWIwjOCEN7l8vqMjBp8,84
127
127
  micrOS/source/ustyle.css,sha256=P-s8ENwAcWoZi5bocrK3_kVzEjaRFKtFvEF6JRh4MBY,1429
128
128
  micrOS/source/uwidgets.js,sha256=BGeUSbNHn6PClgIgIE6QszwQVJ6j7lzgCBwvIX8cYgo,6631
129
129
  micrOS/source/uwidgets_pro.js,sha256=gbkk3SVttEVvDCwde-pJhAh4k7GuCFPdcWNq32pcKPE,3639
130
- micrOSDevToolKit-2.9.0.data/scripts/devToolKit.py,sha256=CVgEETK2JwWgtEFw_dAZPEfOpAQTYZfTb6810E1j2Hg,10660
130
+ micrOSDevToolKit-2.9.1.data/scripts/devToolKit.py,sha256=CVgEETK2JwWgtEFw_dAZPEfOpAQTYZfTb6810E1j2Hg,10660
131
131
  toolkit/DevEnvCompile.py,sha256=H19-60ZpHzP30C-wqR5QTzMDHHpWrTk0Uzh--TZHxvw,12148
132
132
  toolkit/DevEnvOTA.py,sha256=OkEtO5cpym-kEgGpE3TQbyZ-nQOzZpGzbFdbgCibe7I,25356
133
- toolkit/DevEnvUSB.py,sha256=ERxPPP_hQl-ooeJtul1AK66xuWsLxXFwRfycZWFi8II,33788
133
+ toolkit/DevEnvUSB.py,sha256=-Fdigxi8asEJG4npQpvbpgjHhESq0gz0rL6lthRupVA,33848
134
134
  toolkit/Gateway.py,sha256=F0ZyiB0wIzOdMScXZQN-ZKRTadRpmZTj_FDY91af_us,25346
135
135
  toolkit/LM_to_compile.dat,sha256=iLUISab186sbCiiocDllbZhnVnHKK_WAQcAJi7hD0y4,581
136
136
  toolkit/MicrOSDevEnv.py,sha256=XqR7ZTPp-M6s36mH7-slwt_gk2ybqd0daX9qOrBqJMw,12922
@@ -338,7 +338,7 @@ toolkit/workspace/precompiled/Network.mpy,sha256=WtpvhGB2bvEe94dAHV40fpEyk-Fi0D6
338
338
  toolkit/workspace/precompiled/Notify.mpy,sha256=lyl5J16b8X2vnHzHSikzlNCX5XLQ7JaB0midEmVMn58,872
339
339
  toolkit/workspace/precompiled/Scheduler.mpy,sha256=ctCj7FfXj5TchPPxe_9dmnTXWN88egtbAnmJ0N9u_1w,2202
340
340
  toolkit/workspace/precompiled/Server.mpy,sha256=k-31qSfIxZKBPWaoUWBPQbmcLMcy69SSQMkDFrtuRGA,4899
341
- toolkit/workspace/precompiled/Shell.mpy,sha256=GY1kaCxG-wfVk2iTQGI8SKOtCa-VAi34yWbU2RB9pzI,4161
341
+ toolkit/workspace/precompiled/Shell.mpy,sha256=0n6SWX5keDANNW0ACZUcmkntOJdyh8tKPZzX7QX9jHk,4167
342
342
  toolkit/workspace/precompiled/Tasks.mpy,sha256=vL3tDV7Us3Wg7qtZA8ovqEsvLndOmu14GHcZF2_DtrY,6253
343
343
  toolkit/workspace/precompiled/Time.mpy,sha256=D6jvLP5tUKQdJGcn6Q4-ru-p0at6hnxfLC5bqC78gv0,2756
344
344
  toolkit/workspace/precompiled/Types.mpy,sha256=LssRbPgvsWuR4d2m3R7VMIvsnkVp9nN0ltwaY2wGop8,1401
@@ -358,8 +358,8 @@ toolkit/workspace/precompiled/urequests.mpy,sha256=FnrzbNJtHfmIJN1PpwhQ__CDx6Vmd
358
358
  toolkit/workspace/precompiled/ustyle.css,sha256=P-s8ENwAcWoZi5bocrK3_kVzEjaRFKtFvEF6JRh4MBY,1429
359
359
  toolkit/workspace/precompiled/uwidgets.js,sha256=BGeUSbNHn6PClgIgIE6QszwQVJ6j7lzgCBwvIX8cYgo,6631
360
360
  toolkit/workspace/precompiled/uwidgets_pro.js,sha256=gbkk3SVttEVvDCwde-pJhAh4k7GuCFPdcWNq32pcKPE,3639
361
- micrOSDevToolKit-2.9.0.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
362
- micrOSDevToolKit-2.9.0.dist-info/METADATA,sha256=ydAbe06j9WoBAtA5TWD7-EKiadtoK9ykiZuAnVuALU0,52963
363
- micrOSDevToolKit-2.9.0.dist-info/WHEEL,sha256=UvcQYKBHoFqaQd6LKyqHw9fxEolWLQnlzP0h_LgJAfI,91
364
- micrOSDevToolKit-2.9.0.dist-info/top_level.txt,sha256=rOGOIXqLBdGZAoDTiLdZ9B_leFB7bMv7YabLwuIc2bc,25
365
- micrOSDevToolKit-2.9.0.dist-info/RECORD,,
361
+ micrOSDevToolKit-2.9.1.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
362
+ micrOSDevToolKit-2.9.1.dist-info/METADATA,sha256=Og49_Wr05gkkSy5Pm8X_PQ5K30eMxqzic_67UCheC_8,53468
363
+ micrOSDevToolKit-2.9.1.dist-info/WHEEL,sha256=UvcQYKBHoFqaQd6LKyqHw9fxEolWLQnlzP0h_LgJAfI,91
364
+ micrOSDevToolKit-2.9.1.dist-info/top_level.txt,sha256=rOGOIXqLBdGZAoDTiLdZ9B_leFB7bMv7YabLwuIc2bc,25
365
+ micrOSDevToolKit-2.9.1.dist-info/RECORD,,
toolkit/DevEnvUSB.py CHANGED
@@ -342,9 +342,10 @@ class USB(Compile):
342
342
  # List USB devices on Windows
343
343
  import serial.tools.list_ports as serial_port_list # Import here (only windows...), package not exists on some platforms
344
344
  ports = list(serial_port_list.comports())
345
+ win_known_devices = ("CP210", "CH340", "CH343")
345
346
  for item in ports:
346
347
  self.console(f'[Win] Com device: {item.description}')
347
- if "CP210" in str(item.description) or "CH340" in str(item.description):
348
+ if any(device in str(item.description) for device in win_known_devices):
348
349
  micros_devices.append(item.device)
349
350
  self.console("Device was found: {}".format(item.device, state="imp"))
350
351
  else:
Binary file