neuronum 5.8.2__py3-none-any.whl → 5.8.3__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.

Potentially problematic release.


This version of neuronum might be problematic. Click here for more details.

cli/main.py CHANGED
@@ -402,6 +402,7 @@ import asyncio
402
402
  import neuronum
403
403
  import os
404
404
  from dotenv import load_dotenv
405
+ import time
405
406
 
406
407
  load_dotenv()
407
408
  host = os.getenv("HOST")
@@ -427,6 +428,7 @@ async def main():
427
428
  "key3": "value3",
428
429
  }}
429
430
  await cell.stream(label, data, STX)
431
+ time.sleep(5)
430
432
 
431
433
  asyncio.run(main())
432
434
  """)
@@ -466,6 +468,7 @@ import asyncio
466
468
  import neuronum
467
469
  import os
468
470
  from dotenv import load_dotenv
471
+ import time
469
472
 
470
473
  load_dotenv()
471
474
  host = os.getenv("HOST")
@@ -488,6 +491,7 @@ async def main():
488
491
  "message": "Hello, Neuronum!"
489
492
  }}
490
493
  await cell.stream(label, data)
494
+ time.sleep(5)
491
495
 
492
496
  asyncio.run(main())
493
497
  """)
@@ -614,8 +618,9 @@ def start_node(d):
614
618
  )
615
619
  else:
616
620
  process = subprocess.Popen(
617
- [python_cmd, str(script_path)],
618
- start_new_session=True
621
+ ["python", str(script_path)],
622
+ stdout = None,
623
+ stderr = None
619
624
  )
620
625
 
621
626
  processes.append(process.pid)
@@ -766,7 +771,11 @@ def restart_node(d):
766
771
  start_new_session=True
767
772
  )
768
773
  else:
769
- process = subprocess.Popen([python_cmd, str(script_path)], start_new_session=True)
774
+ process = subprocess.Popen(
775
+ ["python", str(script_path)],
776
+ stdout = None,
777
+ stderr = None
778
+ )
770
779
 
771
780
  processes.append(process.pid)
772
781
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: neuronum
3
- Version: 5.8.2
3
+ Version: 5.8.3
4
4
  Summary: Official client library to interact with the Neuronum Network
5
5
  Home-page: https://neuronum.net
6
6
  Author: Neuronum Cybernetics
@@ -0,0 +1,10 @@
1
+ cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ cli/main.py,sha256=Tk1DDlpQLzozWV1ut0HYs-GfXomSFuNoO3zxcwVKjB0,35114
3
+ neuronum/__init__.py,sha256=Drsm263_w3_VWgl1YsKLUr8WwVodqV3TSjqpxLjyq_M,46
4
+ neuronum/neuronum.py,sha256=L8Oz1qcTyOiYMTGfiSKgN5Nu9jcl25jFeJOh0XItPjw,17201
5
+ neuronum-5.8.3.dist-info/licenses/LICENSE.md,sha256=zGst0rjgnp6oFuRVwFwB1Ql4sDXt_nw9xbUR49Gf99A,2008
6
+ neuronum-5.8.3.dist-info/METADATA,sha256=bv0dDVz--a0aCdu_POfUwXgoCxv394aXj8C5eyku71w,5374
7
+ neuronum-5.8.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
+ neuronum-5.8.3.dist-info/entry_points.txt,sha256=XKYBcRNxGeJpZZkDPsa8HA_RaJ7Km_R_JaUq5T9Nk2U,42
9
+ neuronum-5.8.3.dist-info/top_level.txt,sha256=ru8Fr84cHm6oHr_DcJ8-uaq3RTiuCRFIr6AC8V0zPu4,13
10
+ neuronum-5.8.3.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- cli/main.py,sha256=FE2uIdfNYwAauv-rNm_jD5YPs5K2S3f-0JIlvjAJkWw,34841
3
- neuronum/__init__.py,sha256=Drsm263_w3_VWgl1YsKLUr8WwVodqV3TSjqpxLjyq_M,46
4
- neuronum/neuronum.py,sha256=L8Oz1qcTyOiYMTGfiSKgN5Nu9jcl25jFeJOh0XItPjw,17201
5
- neuronum-5.8.2.dist-info/licenses/LICENSE.md,sha256=zGst0rjgnp6oFuRVwFwB1Ql4sDXt_nw9xbUR49Gf99A,2008
6
- neuronum-5.8.2.dist-info/METADATA,sha256=XY5GeeQ0rHBWz0pbNhlijEHkPdNVpK2mPsXgNFoVuGQ,5374
7
- neuronum-5.8.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
- neuronum-5.8.2.dist-info/entry_points.txt,sha256=XKYBcRNxGeJpZZkDPsa8HA_RaJ7Km_R_JaUq5T9Nk2U,42
9
- neuronum-5.8.2.dist-info/top_level.txt,sha256=ru8Fr84cHm6oHr_DcJ8-uaq3RTiuCRFIr6AC8V0zPu4,13
10
- neuronum-5.8.2.dist-info/RECORD,,