unaiverse 0.1.2__py3-none-any.whl → 0.1.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 unaiverse might be problematic. Click here for more details.

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):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: unaiverse
3
- Version: 0.1.2
3
+ Version: 0.1.3
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=eX0Da1E8WhEVOTeCxKy3RZ0u3InWvyvbjj1dC2u9r74,93370
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
@@ -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.2.dist-info/licenses/LICENSE,sha256=02v7juVPTazXHV7TG9WtaWrtmeC3BAd49itKH_SiHOs,1396
42
- unaiverse-0.1.2.dist-info/METADATA,sha256=H-V1qkzJhcKhX_tmABnnA1SG2iPHfXY3TlSzyCjMKkI,18268
43
- unaiverse-0.1.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
44
- unaiverse-0.1.2.dist-info/top_level.txt,sha256=0rP09tH9hv17TDQs66OHbJaRSnADpZsDsODy6JVsTtw,10
45
- unaiverse-0.1.2.dist-info/RECORD,,
41
+ unaiverse-0.1.3.dist-info/licenses/LICENSE,sha256=02v7juVPTazXHV7TG9WtaWrtmeC3BAd49itKH_SiHOs,1396
42
+ unaiverse-0.1.3.dist-info/METADATA,sha256=2ejMnoqYMw_cQf-WUy3yphAQ8Y7t2UpjM_vhluv_ci0,18268
43
+ unaiverse-0.1.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
44
+ unaiverse-0.1.3.dist-info/top_level.txt,sha256=0rP09tH9hv17TDQs66OHbJaRSnADpZsDsODy6JVsTtw,10
45
+ unaiverse-0.1.3.dist-info/RECORD,,