unaiverse 0.1.2__py3-none-any.whl → 0.1.4__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 unaiverse might be problematic. Click here for more details.
- unaiverse/agent_basics.py +4 -2
- unaiverse/networking/node/connpool.py +0 -6
- {unaiverse-0.1.2.dist-info → unaiverse-0.1.4.dist-info}/METADATA +1 -1
- {unaiverse-0.1.2.dist-info → unaiverse-0.1.4.dist-info}/RECORD +7 -7
- {unaiverse-0.1.2.dist-info → unaiverse-0.1.4.dist-info}/WHEEL +0 -0
- {unaiverse-0.1.2.dist-info → unaiverse-0.1.4.dist-info}/licenses/LICENSE +0 -0
- {unaiverse-0.1.2.dist-info → unaiverse-0.1.4.dist-info}/top_level.txt +0 -0
unaiverse/agent_basics.py
CHANGED
|
@@ -1809,7 +1809,8 @@ class AgentBasics:
|
|
|
1809
1809
|
"""Remove a peer ID from the status of the agent, assuming it to be the represented by attributes that start
|
|
1810
1810
|
with '_'."""
|
|
1811
1811
|
for attr_name in dir(self):
|
|
1812
|
-
if attr_name.startswith("_")
|
|
1812
|
+
if attr_name.startswith("_") and (not attr_name.startswith("__") and not attr_name.startswith("_Agent")
|
|
1813
|
+
and not attr_name.startswith("_WAgent")):
|
|
1813
1814
|
try:
|
|
1814
1815
|
value = getattr(self, attr_name)
|
|
1815
1816
|
if isinstance(value, list):
|
|
@@ -1825,7 +1826,8 @@ class AgentBasics:
|
|
|
1825
1826
|
def reset_agent_status_attrs(self):
|
|
1826
1827
|
"""Resets attributes that represent the status of the agent, assuming to be the ones that start with '_'."""
|
|
1827
1828
|
for attr_name in dir(self):
|
|
1828
|
-
if attr_name.startswith("_") and (not attr_name.startswith("__") and not attr_name.startswith("_Agent")
|
|
1829
|
+
if attr_name.startswith("_") and (not attr_name.startswith("__") and not attr_name.startswith("_Agent")
|
|
1830
|
+
and not attr_name.startswith("_WAgent")):
|
|
1829
1831
|
try:
|
|
1830
1832
|
value = getattr(self, attr_name)
|
|
1831
1833
|
if isinstance(value, list):
|
|
@@ -173,12 +173,6 @@ class ConnectionPools:
|
|
|
173
173
|
print(f"[DEBUG CONNECTIONS-POOL] Connecting to {addresses}")
|
|
174
174
|
|
|
175
175
|
try:
|
|
176
|
-
a = []
|
|
177
|
-
for address in addresses:
|
|
178
|
-
if "/tcp/" not in address:
|
|
179
|
-
a.append(address)
|
|
180
|
-
addresses = a
|
|
181
|
-
|
|
182
176
|
winning_addr_info_dict = p2p.connect_to(addresses)
|
|
183
177
|
peer_id = winning_addr_info_dict.get('ID')
|
|
184
178
|
connected_addr_str = winning_addr_info_dict.get('Addrs')[0]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: unaiverse
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: UNaIVERSE: A Collectionless AI Project. The new web of humans & AI Agents, built on privacy, control, and reduced energy consumption.
|
|
5
5
|
Author-email: Stefano Melacci <stefano.melacci@unisi.it>, Christian Di Maio <christian.dimaio@phd.unipi.it>, Tommaso Guidi <tommaso.guidi.1998@gmail.com>
|
|
6
6
|
Maintainer-email: Stefano Melacci <stefano.melacci@unisi.it>, Christian Di Maio <christian.dimaio@phd.unipi.it>, Tommaso Guidi <tommaso.guidi.1998@gmail.com>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
unaiverse/__init__.py,sha256=YYNWMcC8LVmLLVaHYQLTc_BDhEOq3OKeIsvsX4MloSQ,2515
|
|
2
2
|
unaiverse/agent.py,sha256=ZB0DA6W6jA6untt0uEdg8evRuygDLGJMdBv31AkZlW0,101782
|
|
3
|
-
unaiverse/agent_basics.py,sha256=
|
|
3
|
+
unaiverse/agent_basics.py,sha256=3vm51MEErqcNbK_gayF-icRt965MBXviL3vd0IH8Tww,93618
|
|
4
4
|
unaiverse/clock.py,sha256=D3x21RYjeCBCRK1jkEpcVBGaFV4L63tocfMJry565x8,9202
|
|
5
5
|
unaiverse/dataprops.py,sha256=SYO9tcNu-hXxIaOijiByr2D2ol-NbcMsQ7c6IW-l6oQ,54737
|
|
6
6
|
unaiverse/hsm.py,sha256=IlLcGrKv-_pHd4GKycoA4HA1Mebu-yxvZjggiocHVJ0,87692
|
|
@@ -17,7 +17,7 @@ unaiverse/modules/hl/__init__.py,sha256=zG1j2LCuLKOAdOc5csSs52yLSyjHllF96z0hPn-p
|
|
|
17
17
|
unaiverse/modules/hl/hl_utils.py,sha256=Xt2eWuwak6kDtTy2hQ1Ps8_M_REtte9HA-PzfCovlA8,18292
|
|
18
18
|
unaiverse/networking/__init__.py,sha256=qc3A8KJpTLFM6hefwmqj-wAaUULtzXivaXsr-xKKYGU,2460
|
|
19
19
|
unaiverse/networking/node/__init__.py,sha256=DEXbZzPt7dgall1TZKODuQIXhjq3lr39QCBISGUSWww,2508
|
|
20
|
-
unaiverse/networking/node/connpool.py,sha256=
|
|
20
|
+
unaiverse/networking/node/connpool.py,sha256=JrtWKKuoHfQ80iMFJcsVBZ37T_qgchQ0q51hZEyK0tM,52561
|
|
21
21
|
unaiverse/networking/node/node.py,sha256=q740PylBIqHm6jKN32A1_meYUhbmHdDWmZ9ySJ7sMkY,117733
|
|
22
22
|
unaiverse/networking/node/profile.py,sha256=lbB35MoI20oDxDqb97zH2NNNUCGJs8-8KIGNjjmnTio,20203
|
|
23
23
|
unaiverse/networking/node/tokens.py,sha256=UHyPnl6TDvPitrkP2AYAIegSWq4CpvsjRvmio3T-3nA,5281
|
|
@@ -38,8 +38,8 @@ unaiverse/utils/lone_wolf.json,sha256=_rHfeqV8gqvPc0h-cZF7mPCG0Z4HuVkV-mKoXXwjbN
|
|
|
38
38
|
unaiverse/utils/misc.py,sha256=4J3HotzosgsnEr9MgeuQmdrrISPuKl85oOAuKAfcz-U,12085
|
|
39
39
|
unaiverse/utils/sandbox.py,sha256=S_eocNIGTyckovYMxmWb56wsCG7M-mxmGHqdLavSWQA,14436
|
|
40
40
|
unaiverse/utils/server.py,sha256=hCxHTNmYGrgGYrwZ5RaQ9kdmmfqWuIVTUdPYLCwpTQU,21974
|
|
41
|
-
unaiverse-0.1.
|
|
42
|
-
unaiverse-0.1.
|
|
43
|
-
unaiverse-0.1.
|
|
44
|
-
unaiverse-0.1.
|
|
45
|
-
unaiverse-0.1.
|
|
41
|
+
unaiverse-0.1.4.dist-info/licenses/LICENSE,sha256=02v7juVPTazXHV7TG9WtaWrtmeC3BAd49itKH_SiHOs,1396
|
|
42
|
+
unaiverse-0.1.4.dist-info/METADATA,sha256=hGGkVr4NVHzD1Acyf0ce3myKNzI-i_mGi-_bkIEdqrE,18268
|
|
43
|
+
unaiverse-0.1.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
44
|
+
unaiverse-0.1.4.dist-info/top_level.txt,sha256=0rP09tH9hv17TDQs66OHbJaRSnADpZsDsODy6JVsTtw,10
|
|
45
|
+
unaiverse-0.1.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|