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

neuronum/neuronum.py CHANGED
@@ -220,7 +220,7 @@ class Cell:
220
220
  while True:
221
221
  try:
222
222
  ws = create_connection(f"wss://{self.network}/sync/{stx}")
223
- ws.settimeout(1)
223
+ ws.settimeout(10)
224
224
  ws.send(json.dumps(auth))
225
225
  print("Connected to WebSocket.")
226
226
 
@@ -230,7 +230,7 @@ class Cell:
230
230
  operation = json.loads(raw_operation)
231
231
  yield operation
232
232
  except socket.timeout:
233
- print("Timeout occurred, no data received.")
233
+ print("Waiting for stream...")
234
234
  except KeyboardInterrupt:
235
235
  print("Closing connection...")
236
236
  ws.close()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neuronum
3
- Version: 1.3.1
3
+ Version: 1.3.2
4
4
  Summary: Interact with the Neuronum Network to build, connect & automate economic data streams
5
5
  Home-page: https://neuronum.net
6
6
  Author: Neuronum Cybernetics
@@ -0,0 +1,7 @@
1
+ neuronum/__init__.py,sha256=Drsm263_w3_VWgl1YsKLUr8WwVodqV3TSjqpxLjyq_M,46
2
+ neuronum/neuronum.py,sha256=FqlYTQSlMZpZMn3Dc4_XyzD60cu1Tdd9ExQzjGDUYPY,7568
3
+ neuronum-1.3.2.dist-info/LICENSE,sha256=UiZjNHiCyRP6WoZfbYQh9cv4JW96wIofKXmzBJrYSUk,1125
4
+ neuronum-1.3.2.dist-info/METADATA,sha256=7bGeBqN6spxPcJgYNJ6KmLDjp4igvP-Vk8TUxMekFEE,4346
5
+ neuronum-1.3.2.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
6
+ neuronum-1.3.2.dist-info/top_level.txt,sha256=73zXVVO9UTTiwEcSaXytsJ8n0q47OCwAqPlIh-hzWJU,9
7
+ neuronum-1.3.2.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- neuronum/__init__.py,sha256=Drsm263_w3_VWgl1YsKLUr8WwVodqV3TSjqpxLjyq_M,46
2
- neuronum/neuronum.py,sha256=KPo6VIcSx1FKGL7V-idLbyIh2Zo7XaHucwl6HHQkkQs,7581
3
- neuronum-1.3.1.dist-info/LICENSE,sha256=UiZjNHiCyRP6WoZfbYQh9cv4JW96wIofKXmzBJrYSUk,1125
4
- neuronum-1.3.1.dist-info/METADATA,sha256=k7rd7a4tuuhg_-DZ3gwGzMGYDZK8SzW7aKG7n-_DBbA,4346
5
- neuronum-1.3.1.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
6
- neuronum-1.3.1.dist-info/top_level.txt,sha256=73zXVVO9UTTiwEcSaXytsJ8n0q47OCwAqPlIh-hzWJU,9
7
- neuronum-1.3.1.dist-info/RECORD,,