neuronum 0.7.0__py3-none-any.whl → 0.8.0__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
@@ -19,7 +19,7 @@ class Cell:
19
19
  def __repr__(self) -> str:
20
20
  return f"Cell(host={self.host}, password={self.password}, network={self.network}, synapse={self.synapse})"
21
21
 
22
- def activate(self, txID: str, data: dict, base_url: str = "http://{network}:8000/activateTX"):
22
+ def activate(self, txID: str, data: dict, base_url: str = "http://{network}/activateTX"):
23
23
  full_url = base_url.format(network=self.network) + f"/{txID}"
24
24
 
25
25
  TX = {
@@ -44,7 +44,7 @@ class Cell:
44
44
 
45
45
 
46
46
 
47
- def test_connection(self, base_url: str = "http://{network}:8000/testConnection"):
47
+ def test_connection(self, base_url: str = "http://{network}/testConnection"):
48
48
  full_url = base_url.format(network=self.network)
49
49
 
50
50
  TX = {
@@ -74,9 +74,9 @@ class Cell:
74
74
 
75
75
  def store(self, label: str, data: dict, ctx: Optional[str] = None):
76
76
  if ctx:
77
- full_url = f"http://{self.network}:8000/store_ctx/{ctx}"
77
+ full_url = f"http://{self.network}/store_ctx/{ctx}"
78
78
  else:
79
- full_url = f"http://{self.network}:8000/store"
79
+ full_url = f"http://{self.network}/store"
80
80
 
81
81
  store = {
82
82
  "label": label,
@@ -97,9 +97,9 @@ class Cell:
97
97
 
98
98
  def load(self, label: str, ctx: Optional[str] = None):
99
99
  if ctx:
100
- full_url = f"http://{self.network}:8000/load_ctx/{ctx}"
100
+ full_url = f"http://{self.network}/load_ctx/{ctx}"
101
101
  else:
102
- full_url = f"http://{self.network}:8000/load"
102
+ full_url = f"http://{self.network}/load"
103
103
 
104
104
  print(f"Full URL: {full_url}")
105
105
 
@@ -121,9 +121,9 @@ class Cell:
121
121
 
122
122
  def delete(self, label: str, ctx: Optional[str] = None):
123
123
  if ctx:
124
- full_url = f"http://{self.network}:8000/delete_ctx/{ctx}"
124
+ full_url = f"http://{self.network}/delete_ctx/{ctx}"
125
125
  else:
126
- full_url = f"http://{self.network}:8000/delete"
126
+ full_url = f"http://{self.network}/delete"
127
127
 
128
128
  print(f"Full URL: {full_url}")
129
129
 
@@ -0,0 +1,9 @@
1
+ Metadata-Version: 2.1
2
+ Name: neuronum
3
+ Version: 0.8.0
4
+ Summary: A high-level coding library to build & automate economic data streams - The Neuronum Team
5
+ Author: Neuronum Cybernetics
6
+ Author-email: welcome@neuronum.net
7
+ Requires-Python: >=3.6
8
+ Requires-Dist: requests
9
+
@@ -0,0 +1,6 @@
1
+ neuronum/__init__.py,sha256=P0KTJMGY_eT3l5YzR4LHfl64KH5Qt_qhcrqf9Ld2G00,74
2
+ neuronum/neuronum.py,sha256=Qpcal4FhbUFpZoVaEJxVD_qM9X-Eq4Lw-vYqr_JbEGU,4259
3
+ neuronum-0.8.0.dist-info/METADATA,sha256=_xpsILXcEZPifvSdtpUoRTFHgXbMwQKcrTrC5k2qnLc,272
4
+ neuronum-0.8.0.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
5
+ neuronum-0.8.0.dist-info/top_level.txt,sha256=73zXVVO9UTTiwEcSaXytsJ8n0q47OCwAqPlIh-hzWJU,9
6
+ neuronum-0.8.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.0)
2
+ Generator: setuptools (75.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,13 +0,0 @@
1
- Metadata-Version: 2.2
2
- Name: neuronum
3
- Version: 0.7.0
4
- Summary: A high-level coding library to interact with the Neuronum network.
5
- Author: Neuronum Cybernetics
6
- Author-email: welcome@neuronum.net
7
- Requires-Python: >=3.6
8
- Requires-Dist: requests
9
- Dynamic: author
10
- Dynamic: author-email
11
- Dynamic: requires-dist
12
- Dynamic: requires-python
13
- Dynamic: summary
@@ -1,6 +0,0 @@
1
- neuronum/__init__.py,sha256=P0KTJMGY_eT3l5YzR4LHfl64KH5Qt_qhcrqf9Ld2G00,74
2
- neuronum/neuronum.py,sha256=0ca2qdduBk-X6tIwln4-LMz-BLbhQHbZM6zUd9gM5cs,4299
3
- neuronum-0.7.0.dist-info/METADATA,sha256=lorcVD9ZFpDlfmxyFg-2M0LVtF3rERv9lmHebyo3WzQ,355
4
- neuronum-0.7.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
5
- neuronum-0.7.0.dist-info/top_level.txt,sha256=73zXVVO9UTTiwEcSaXytsJ8n0q47OCwAqPlIh-hzWJU,9
6
- neuronum-0.7.0.dist-info/RECORD,,