unaiverse 0.1.11__cp311-cp311-macosx_11_0_arm64.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.

Files changed (50) hide show
  1. unaiverse/__init__.py +19 -0
  2. unaiverse/agent.py +2090 -0
  3. unaiverse/agent_basics.py +1948 -0
  4. unaiverse/clock.py +221 -0
  5. unaiverse/dataprops.py +1236 -0
  6. unaiverse/hsm.py +1892 -0
  7. unaiverse/modules/__init__.py +18 -0
  8. unaiverse/modules/cnu/__init__.py +17 -0
  9. unaiverse/modules/cnu/cnus.py +536 -0
  10. unaiverse/modules/cnu/layers.py +261 -0
  11. unaiverse/modules/cnu/psi.py +60 -0
  12. unaiverse/modules/hl/__init__.py +15 -0
  13. unaiverse/modules/hl/hl_utils.py +411 -0
  14. unaiverse/modules/networks.py +1509 -0
  15. unaiverse/modules/utils.py +710 -0
  16. unaiverse/networking/__init__.py +16 -0
  17. unaiverse/networking/node/__init__.py +18 -0
  18. unaiverse/networking/node/connpool.py +1308 -0
  19. unaiverse/networking/node/node.py +2499 -0
  20. unaiverse/networking/node/profile.py +446 -0
  21. unaiverse/networking/node/tokens.py +79 -0
  22. unaiverse/networking/p2p/__init__.py +187 -0
  23. unaiverse/networking/p2p/go.mod +127 -0
  24. unaiverse/networking/p2p/go.sum +548 -0
  25. unaiverse/networking/p2p/golibp2p.py +18 -0
  26. unaiverse/networking/p2p/golibp2p.pyi +135 -0
  27. unaiverse/networking/p2p/lib.go +2662 -0
  28. unaiverse/networking/p2p/lib.go.sha256 +1 -0
  29. unaiverse/networking/p2p/lib_types.py +312 -0
  30. unaiverse/networking/p2p/message_pb2.py +50 -0
  31. unaiverse/networking/p2p/messages.py +362 -0
  32. unaiverse/networking/p2p/mylogger.py +77 -0
  33. unaiverse/networking/p2p/p2p.py +871 -0
  34. unaiverse/networking/p2p/proto-go/message.pb.go +846 -0
  35. unaiverse/networking/p2p/unailib.cpython-311-darwin.so +0 -0
  36. unaiverse/stats.py +1481 -0
  37. unaiverse/streamlib/__init__.py +15 -0
  38. unaiverse/streamlib/streamlib.py +210 -0
  39. unaiverse/streams.py +776 -0
  40. unaiverse/utils/__init__.py +16 -0
  41. unaiverse/utils/lone_wolf.json +24 -0
  42. unaiverse/utils/misc.py +310 -0
  43. unaiverse/utils/sandbox.py +293 -0
  44. unaiverse/utils/server.py +435 -0
  45. unaiverse/world.py +335 -0
  46. unaiverse-0.1.11.dist-info/METADATA +367 -0
  47. unaiverse-0.1.11.dist-info/RECORD +50 -0
  48. unaiverse-0.1.11.dist-info/WHEEL +6 -0
  49. unaiverse-0.1.11.dist-info/licenses/LICENSE +43 -0
  50. unaiverse-0.1.11.dist-info/top_level.txt +1 -0
@@ -0,0 +1,367 @@
1
+ Metadata-Version: 2.4
2
+ Name: unaiverse
3
+ Version: 0.1.11
4
+ Summary: UNaIVERSE: A Collectionless AI Project. The new web of humans & AI Agents, built on privacy, control, and reduced energy consumption.
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
+ Maintainer-email: Stefano Melacci <stefano.melacci@unisi.it>, Christian Di Maio <christian.dimaio@phd.unipi.it>, Tommaso Guidi <tommaso.guidi.1998@gmail.com>
7
+ Project-URL: A-Homepage, https://unaiverse.io
8
+ Project-URL: B-CollectionlessAI, https://collectionless.ai
9
+ Project-URL: C-Source, https://github.com/collectionlessai/unaiverse-src
10
+ Project-URL: D-Starting, https://github.com/collectionlessai/unaiverse-src/blob/main/README.md
11
+ Project-URL: E-Examples, https://github.com/collectionlessai/unaiverse-examples
12
+ Project-URL: F-Documentation, https://github.com/collectionlessai/unaiverse-src/blob/main/README.md
13
+ Keywords: UNaIVERSE,Collectionless AI,AI,Agentic AI,Agents,Machine Learning,Learning Over Time
14
+ Classifier: Development Status :: 4 - Beta
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: Intended Audience :: End Users/Desktop
17
+ Classifier: Intended Audience :: Science/Research
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
21
+ Requires-Python: >3.10
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+ Requires-Dist: opencv-python
25
+ Requires-Dist: Flask
26
+ Requires-Dist: flask_cors
27
+ Requires-Dist: graphviz
28
+ Requires-Dist: ntplib
29
+ Requires-Dist: numpy
30
+ Requires-Dist: Pillow
31
+ Requires-Dist: protobuf
32
+ Requires-Dist: psutil
33
+ Requires-Dist: PyJWT
34
+ Requires-Dist: cryptography
35
+ Requires-Dist: Requests
36
+ Requires-Dist: torch
37
+ Requires-Dist: torchvision
38
+ Requires-Dist: transformers
39
+ Requires-Dist: sortedcontainers
40
+ Requires-Dist: plotly
41
+ Dynamic: license-file
42
+
43
+ <div align="center">
44
+ <h1 style="text-align: center;">Welcome to UNaIVERSE ~ https://unaiverse.io</h1>
45
+ <img src="./assets/caicat_planets.png" alt="UNaIVERSE Logo" style="width:450px;">
46
+ </div>
47
+ <br>
48
+
49
+ <p align="center">
50
+ <em>Welcome to a new "UN(a)IVERSE," where humans and artificial agents coexist, interact, learn from each other, grow together, in a privacy and low-energy oriented reality.</em>
51
+ </p>
52
+ <br>
53
+
54
+ UNaIVERSE is a project framed in the context of [Collectionless AI](https://collectionless.ai), our perspective on Artificial Intelligence rooted in **privacy**, **low energy consumption**, and, more importantly, a **decentralized** model.
55
+
56
+ UN(a)IVERSE is a **peer-to-peer network**, aiming to become the new incarnation of the Web, combining (in the long run) the principles of Social Networks and AI under a **privacy** lens—a perspective that is crucial given how the Web, especially Social Networks, and AI are used today by both businesses and individual users.
57
+
58
+ - Enter UNaIVERSE: [**UNaIVERSE portal (login/register)**](https://unaiverse.io)
59
+ - Check our presentation of Collectionless AI & UNaIVERSE, to explore [**UNaIVERSE features**](./UNaIVERSE.pdf)
60
+ - Read more on our ideas: [**Collectionless AI website**](https://collectionless.ai)
61
+
62
+ ---
63
+
64
+ ## 🚀 Features
65
+
66
+ Check our presentation, starting from Collectionless AI and ending up in [**UNaIVERSE and its features**](./UNaIVERSE.pdf).
67
+
68
+ UNaIVERSE is a peer-to-peer network where each node is either a **world** or an **agent**. What can you do?
69
+ - You can create your own **agents**, based on [PyTorch modules](https://pytorch.org/), and, in function of their capabilities, they are ready to join the existing worlds and interact with others. Feel free to join a world, stay there for a while, leave it and join another one! They can also just showcase your technology, hence not join any worlds, becoming what we call **lone wolves**.
70
+ - You can create your own **worlds** as well. Different worlds are about different topics, tasks, whatever (think about a school, a shop, a chat room, an industrial plant, ...), and you don't have to write any code to let your agent participate in a world! It is the world designer that defines the expected **roles** and corresponding agent **behaviors** (special State Machines): join a world, get a role, and you are ready to behave coherently with your role!
71
+ - In UNaIVERSE, you, as **human**, are an agent as the other ones. The browser is your interface to UNaIVERSE, and you are already set up! No need to install anything, just jump into the UNaIVERSE portal, login, and you are a citizen of UNaIVERSE.
72
+
73
+ Remarks:
74
+ - *Are you a researcher?* This is perfect to study models that learn over time (Lifelong/Continual Learning), and social dynamics of different categories of models! Feel free to propose novel ideas to exploit UNaIVERSE in your research!
75
+ - *Are you in the industry or, more generally, business oriented?* **Think about privacy-oriented solutions that we can build over this new UN(a)IVERSE!**
76
+
77
+ ---
78
+
79
+ ## ⚡ Status
80
+
81
+ - Very first version: we think it will always stay alpha/beta/whatever 😎, but right now there are many features we plan to add and several parts to improve, **thanks to your feedback!**
82
+ - Missing features (work-in-progress): browser-to-browser communication; agents running on mobile; actual social network features (right now it is very preliminary, not really showcasing where we want to go)
83
+
84
+ ---
85
+
86
+ ## 📦 Installation
87
+
88
+ Jump to [https://unaiverse.io](https://unaiverse.io), create a new account (free!) or log in with an existing one. If you did not already do it, click on the top-right icon with "a person" on it:
89
+
90
+ <img src="./assets/top_right_icons.png" alt="UNaIVERSE Logo" style="width:80px;">
91
+
92
+ Then click on "Generate a Token":
93
+
94
+ <img src="./assets/generate_token.png" alt="UNaIVERSE Logo" style="width:320px;">
95
+
96
+ **COPY THE TOKEN**, you won't be able to see it twice! Now, let's focus on Python:
97
+
98
+ ```bash
99
+ pip install unaiverse
100
+ ```
101
+
102
+ That's it. Of course, if you want to dive into details, you find the source code here in this repo.
103
+
104
+ ---
105
+
106
+ ## 🛠 Mini Tutorial
107
+
108
+ The simplest usage you can think of is the one which does not exploit the real features of UNaIVERSE, but it is so simple that is a good way to put you in touch with UNaIVERSE itself.
109
+
110
+ You can **showcase** your PyTorch networks (actually, it can be every kind of model son of the PyTorch [*torch.nn.Module*](https://docs.pytorch.org/docs/stable/generated/torch.nn.Module.html) class) as follows. Let's focus on ResNet for simplicity.
111
+
112
+ Alright, let's discuss the code in the [assets/tutorial](./assets/tutorial) folder of this repo, composed of numbered scripts.
113
+
114
+ ### Step A1. Do you know how to set up a network in PyTorch?
115
+
116
+ Let us set up a ResNet50 in the most basic PyTorch manner. The code is composed of a **generator of tensors** interpreted as pictures (actually, an ugly tensor with randomly colored pixels) and a pretrained **resnet classifier** which classifies the pictures generating a probability distribution over 1,000 classes. Try to run [script 1](./assets/tutorial/A_move_to_unaiverse/1_generator_and_resnet.py) from the [assets/tutorial](./assets/tutorial) folder. We report it here, carefully read the comments!
117
+
118
+ ```python
119
+ import torch
120
+ import torchvision
121
+
122
+ # Downloading PyTorch module (ResNet)
123
+ net = torchvision.models.resnet50(weights="IMAGENET1K_V1").eval()
124
+
125
+ # Generating a random image (don't care about it, it is just a toy example,
126
+ # think it is a nice image!)
127
+ inp = torch.rand((1, 3, 224, 224), dtype=torch.float32)
128
+
129
+ # Inference: expects as input a tensor of type torch.float32, custom width and
130
+ # height, but 3 channels and batch dimension must be there; the output is a
131
+ # tensor with shape (1, 1000), i.e., a tensor in which batch dimension is
132
+ # present and then 1000 elements.
133
+ out = net(inp)
134
+
135
+ # Print shapes
136
+ print(f"Input shape: {tuple(inp.shape)}, dtype: {inp.dtype}")
137
+ print(f"Output shape: {tuple(out.shape)}, dtype: {out.dtype}")
138
+ ```
139
+
140
+ ### Step A2. Let's create UNaIVERSE agents!
141
+
142
+ We are going to create two agents, **independently running and possibly located in different places/machines**.
143
+ - One is based on the **resnet classifier**, waiting to be asked (by some other agents) for a prediction about a given image.
144
+ - The other is the **generator of tensors**, ready to generate a tensor (representation of a picture) and ask another agent to classify it.
145
+
146
+ Here is the **resnet classifier** agent, running forever and waiting for somebody to ask for a prediction, taken from [script 2](./assets/tutorial/A_move_to_unaiverse/2_agent_resnet.py) in the [assets/tutorial](./assets/tutorial) folder:
147
+
148
+ ```python
149
+ import torch
150
+ import torchvision
151
+ from unaiverse.agent import Agent
152
+ from unaiverse.dataprops import Data4Proc
153
+ from unaiverse.networking.node.node import Node
154
+
155
+ # Downloading PyTorch module (ResNet)
156
+ net = torchvision.models.resnet50(weights="IMAGENET1K_V1").eval()
157
+
158
+ # Agent: we pass the network as "processor".
159
+ # Check the input and output properties of the processor, they are coherent with the
160
+ # input and output shapes of ResNet; here "None" means "whatever, but this axis must be
161
+ # there!". By default, this agent will act as a serving "lone wolf", serving whoever asks for
162
+ # a prediction.
163
+ agent = Agent(proc=net,
164
+ proc_inputs=[Data4Proc(data_type="tensor", tensor_shape=(None, 3, None, None),
165
+ tensor_dtype=torch.float32)],
166
+ proc_outputs=[Data4Proc(data_type="tensor", tensor_shape=(None, 1000),
167
+ tensor_dtype=torch.float32)])
168
+
169
+ # Node hosting agent: a node will be created in your account with this name, if not
170
+ # existing; it is "hidden" meaning that only you can see it in UNaIVERSE (since it is
171
+ # just a test!); the clock speed can be tuned accordingly to your needed and computing
172
+ # power.
173
+ node = Node(node_name="Test0", hosted=agent, hidden=True, clock_delta=1. / 30.)
174
+
175
+ # Running node (forever)
176
+ node.run()
177
+ ```
178
+
179
+ Run it. Now, here is the agent capable of **generating tensors** (let's say images), which is asked to get in touch with the resnet agent, taken from [script 3](./assets/tutorial/A_move_to_unaiverse/3_agent_generator.py) in the [assets/tutorial](./assets/tutorial) folder:
180
+
181
+ ```python
182
+ import torch
183
+ from unaiverse.agent import Agent
184
+ from unaiverse.dataprops import Data4Proc
185
+ from unaiverse.networking.node.node import Node
186
+
187
+
188
+ # Custom generator network: a module that simpy generates an image with
189
+ # "random" pixel intensities; we will use this as processor of our new agent.
190
+ class Net(torch.nn.Module):
191
+ def __init__(self):
192
+ super().__init__()
193
+
194
+ # The input will be ignored, and a default None value is needed
195
+ def forward(self, x: torch.Tensor | None = None):
196
+ inp = torch.rand((1, 3, 224, 224), dtype=torch.float32)
197
+ print(f"Generated data shape: {tuple(inp.shape)}, dtype: {inp.dtype}")
198
+ return inp
199
+
200
+
201
+ # Agent: we use the generator as processor.
202
+ # This agent will still be a "lone wolf", but we will force a different behavior, that is
203
+ # the one of "asking" another agent to handle the generated data, getting back a response.
204
+ agent = Agent(proc=Net(),
205
+ proc_inputs=[Data4Proc(data_type="all")], # Able to get every type of data (since it won't use it :))
206
+ proc_outputs=[Data4Proc(data_type="tensor", tensor_shape=(1, 3, 224, 224),
207
+ tensor_dtype="torch.float32")], # These are the properties of generator output
208
+ behav_lone_wolf="ask") # Setting this behavior: "ask the partner to respond to your generated data"
209
+
210
+ # Node hosting agent
211
+ node = Node(node_name="Test1", hosted=agent, hidden=True, clock_delta=1. / 30.)
212
+
213
+ # Telling this agent to connect to the ResNet one
214
+ node.ask_to_get_in_touch(node_name="Test0")
215
+
216
+ # Running node for 10 seconds
217
+ node.run(max_time=10.0)
218
+
219
+ # Printing the last received data from the ResNet agent
220
+ out = agent.get_last_streamed_data('Test0')[0]
221
+ print(f"Received data shape: {tuple(out.shape)}, dtype: {out.dtype}")
222
+ ```
223
+
224
+ Run this script as well, and what will happen is that the generator will send its picture through the peer-to-peer network, reaching the resnet agent, and getting back a prediction.
225
+
226
+ ### Step B1. Embellishment
227
+
228
+ We can upgrade the **resnet agent** to take real-world images as input, instead of random tensors, and to output class names (text) instead of a probability distribution. All we need to do is to re-define the properties of the inputs/outputs of the agent processor, and add transformations. Dive into [script 4](./assets/tutorial/B_improve_A_and_use_browser/4_agent_resnet_img_text.py):
229
+
230
+ ```python
231
+ import torchvision
232
+ import urllib.request
233
+ from unaiverse.agent import Agent
234
+ from unaiverse.dataprops import Data4Proc
235
+ from unaiverse.networking.node.node import Node
236
+
237
+ # Downloading PyTorch module (ResNet)
238
+ net = torchvision.models.resnet50(weights="IMAGENET1K_V1").eval()
239
+
240
+ # Getting input transforms from PyTorch model
241
+ transforms = torchvision.transforms.Compose([
242
+ torchvision.transforms.Lambda(lambda x: x.convert("RGB")),
243
+ torchvision.models.ResNet50_Weights.IMAGENET1K_V1.transforms(),
244
+ torchvision.transforms.Lambda(lambda x: x.unsqueeze(0))
245
+ ])
246
+
247
+ # Getting output class names
248
+ with urllib.request.urlopen("https://raw.githubusercontent.com/pytorch/hub/master/imagenet_classes.txt") as f:
249
+ c_names = [line.strip().decode('utf-8') for line in f.readlines()]
250
+
251
+ # Agent: we change the data type, to be able to handle stream of images (instead of tensors).
252
+ # We can customize the transformations from the streamed format to the processor inference
253
+ # format (every callable function is fine!). Similarly, we can customize the way we go from
254
+ # the actual output of the processor and what will be streamed (here we go from class
255
+ # probabilities to winning class name).
256
+ agent = Agent(proc=net,
257
+ proc_inputs=[Data4Proc(data_type="img", stream_to_proc_transforms=transforms)],
258
+ proc_outputs=[Data4Proc(data_type="text", proc_to_stream_transforms=lambda p: c_names[p.argmax(1)[0]])])
259
+
260
+ # Node hosting agent
261
+ node = Node(node_name="Test0", hosted=agent, hidden=True, clock_delta=1. / 30.)
262
+
263
+ # Running node
264
+ node.run()
265
+ ```
266
+
267
+ Now let us promote the **generator** to an agent that downloads and offers a picture of a cat and expects to get back a text description of it (the class name in this case - this is [script 5](./assets/tutorial/B_improve_A_and_use_browser/5_agent_generator_img.py)):
268
+
269
+ ```python
270
+ import torch
271
+ import urllib.request
272
+ from PIL import Image
273
+ from io import BytesIO
274
+ from unaiverse.agent import Agent
275
+ from unaiverse.dataprops import Data4Proc
276
+ from unaiverse.networking.node.node import Node
277
+
278
+
279
+ # Image offering network: a module that simpy downloads and offers an image as its output
280
+ class Net(torch.nn.Module):
281
+ def __init__(self):
282
+ super().__init__()
283
+
284
+ def forward(self, x: torch.Tensor | None = None):
285
+ with urllib.request.urlopen("https://cataas.com/cat") as response:
286
+ inp = Image.open(BytesIO(response.read()))
287
+ inp.show() # Let's see the pic (watch out: random pic with a cat somewhere)
288
+ print(f"Downloaded image shape {inp.size}, type: {type(inp)}, expected-content: cat")
289
+ return inp
290
+
291
+
292
+ # Agent
293
+ agent = Agent(proc=Net(),
294
+ proc_inputs=[Data4Proc(data_type="all")],
295
+ proc_outputs=[Data4Proc(data_type="img")], # A PIL image is being "generated" here
296
+ behav_lone_wolf="ask")
297
+
298
+ # Node hosting agent
299
+ node = Node(node_name="Test1", hosted=agent, hidden=True, clock_delta=1. / 30.)
300
+
301
+ # Telling this agent to connect to the ResNet one
302
+ node.ask_to_get_in_touch(node_name="Test0")
303
+
304
+ # Running node for 10 seconds
305
+ node.run(max_time=10.0)
306
+
307
+ # Printing the last received data from the ResNet agent
308
+ out = agent.get_last_streamed_data('Test0')[0]
309
+ print(f"Received response: {out}") # Now we expect a textual response
310
+ print("")
311
+ print(f"Notice: instead of using this agent, you can also: search for the ResNet node (Test0) "
312
+ f"in the UNaIVERSE portal, connect to it using our in-browser agent, select a picture from "
313
+ f"your disk, send it to the agent, get back the text response!")
314
+ ```
315
+
316
+ ### Step B2. Connect to your ResNet agent by means of a browser running agent!
317
+
318
+ Instead of using the artificial generator agent, **you can become the generator agent**!
319
+ Search for the ResNet node (ResNetAgent) in the UNaIVERSE portal, connect to it using the in-browser agent, select a picture from your disk, send it to the agent, get back the text response!
320
+
321
+ ### Step C. Unleash UNaIVERSE!
322
+
323
+ What you did so far is just to showcase your model. UNaIVERSE is composed of several **worlds** that you can create and customize. Your agent can enter one world at a time, stay there, leave it, enter another, and so on.
324
+ Agents will behave according to what the world indicates, and you don't have to write any extra code to act in worlds you have never been into!
325
+
326
+ Alright, there are so many things to say, but examples are always a good thing!
327
+ We prepared a repository with examples of many worlds and different lone wolves, go there in order to continue your journey into UNaIVERSE!
328
+
329
+ *THE TUTORIAL CONTINUES:* [https://github.com/collectionlessai/unaiverse-examples](https://github.com/collectionlessai/unaiverse-examples)
330
+
331
+ **See you in our UNaIVERSE!**
332
+
333
+ ---
334
+
335
+ ## 📄 License
336
+
337
+ This project is licensed under the Polyform Strict License 1.0.0.
338
+ Commercial licenses can be provided.
339
+ See the [LICENSE](./LICENSE) file for details (research, etc.).
340
+
341
+ This project includes third-party libraries. See [THIRD_PARTY_LICENSES.md](./THIRD_PARTY_LICENSES.md) for details.
342
+
343
+ ---
344
+
345
+ ## 📚 Documentation
346
+
347
+ You can find an API reference in file [docs.html](./docs.html), that you can visualize here:
348
+ - [API Reference](https://collectionlessai.github.io/unaiverse-docs.github.io/)
349
+
350
+ ---
351
+
352
+ ## 🤝 Contributing
353
+
354
+ Contributions are welcome!
355
+
356
+ Please contact us in order to suggest changes, report bugs, and suggest ideas for novel applications based on UNaIVERSE!
357
+
358
+ ---
359
+
360
+ ## 👨‍💻 Main Authors
361
+
362
+ - Stefano Melacci (Project Leader) [stefano.melacci@unisi.it](stefano.melacci@unisi.it)
363
+ - Christian Di Maio [christian.dimaio@phd.unipi.it](christian.dimaio@phd.unipi.it)
364
+ - Tommaso Guidi [tommaso.guidi.1998@gmail.com](tommaso.guidi.1998@gmail.com)
365
+ - Marco Gori (Scientific Advisor) [marco.gori@unisi.it](marco.gori@unisi.it)
366
+
367
+ ---
@@ -0,0 +1,50 @@
1
+ unaiverse/world.py,sha256=zFnBajQi9MtpgWoSdSEpXIhR5gDB6FJg1kFW0Md8eZI,17193
2
+ unaiverse/dataprops.py,sha256=Vfms2P_bNLhcvwYAMzhRSOsz6ft-AOWjL0CuDfmcroU,55553
3
+ unaiverse/streams.py,sha256=UaGcYxEEoxjorjbesiopdhIzHq091mpU43ApcFmsCcg,31028
4
+ unaiverse/hsm.py,sha256=wY1WqaGzKl3Na3MAi3sLeMyzg1QsWElz_cxtwdskxQQ,88368
5
+ unaiverse/clock.py,sha256=aW5-Nr32TxBUGfaYjGTuKrcjlPceU1ZGd_aRoke-glU,10933
6
+ unaiverse/__init__.py,sha256=YYNWMcC8LVmLLVaHYQLTc_BDhEOq3OKeIsvsX4MloSQ,2515
7
+ unaiverse/stats.py,sha256=MFVpcZgsquM7PVPBkJGk83pMcw9rje9x1pvvaHdohSM,64327
8
+ unaiverse/agent.py,sha256=FmGDPCtzV0q5tWBVLZt-ObBYDER4LOedZMaq0E87QTU,106486
9
+ unaiverse/agent_basics.py,sha256=IPECO7RRAXUzx-d1EimJLvs9KK1AalFXWAiDPlj6yx0,98983
10
+ unaiverse/networking/__init__.py,sha256=qc3A8KJpTLFM6hefwmqj-wAaUULtzXivaXsr-xKKYGU,2460
11
+ unaiverse/networking/p2p/unailib.cpython-311-darwin.so,sha256=ABGVNUZM9LKmDc1KAZwrFulqMIZxi-K1TYSGoqroHUc,25847810
12
+ unaiverse/networking/p2p/lib.go,sha256=d34sZF5eLxa2_9WKIzlo25aAQwlkcxXyS40XavYmlbA,108045
13
+ unaiverse/networking/p2p/mylogger.py,sha256=-WW6qT39rptXwUlpQg1BuU7u8o9MKLF_-Cbe7EaQKsc,4773
14
+ unaiverse/networking/p2p/go.mod,sha256=4Ns2-PJmYPg7JWLGZ8QTUoZ9e7zMhrya8OkT8dd9TUo,5846
15
+ unaiverse/networking/p2p/message_pb2.py,sha256=ZhLiyLJOIhbIFDAoVTtZBlCPt-zOmGBULwSVXKM02Yc,4172
16
+ unaiverse/networking/p2p/p2p.py,sha256=xha5YbtdMIcsxm0O1fHH8xvqwBwwWTC4SDwZ5E6GHgU,41069
17
+ unaiverse/networking/p2p/lib_types.py,sha256=b7NJmN636o-X3TEWdp4YVIJ9Snr8AGT0GUuaYITZ6PY,13956
18
+ unaiverse/networking/p2p/__init__.py,sha256=lYDhH8EbEwtMqDaw0cXD4K-g_q_WpfQvhxbSeMjwX5c,9530
19
+ unaiverse/networking/p2p/go.sum,sha256=CB9nVc8EeN6-zCBVfPAm5sU4FsoTsYGJ355ed1af0Ro,52011
20
+ unaiverse/networking/p2p/golibp2p.pyi,sha256=qjctmEZimD1LyoAokRxy0gbcsrtMKemXse5QyrnulkA,3855
21
+ unaiverse/networking/p2p/messages.py,sha256=SLjljeeFs7LI06wxy0sfGJleRB8Lwh_BUOmJB0a6QOQ,16575
22
+ unaiverse/networking/p2p/golibp2p.py,sha256=ibVCLERzM2JgPP_A5FTooCoxYW5Zm2HBbzX28aQIFzo,2450
23
+ unaiverse/networking/p2p/lib.go.sha256,sha256=-JNKkU1VVputVm_nc8YNbhjOO4iRWf4ZLJfd69ucsHk,64
24
+ unaiverse/networking/p2p/proto-go/message.pb.go,sha256=9XVZ85zGoGlg6qaS0rfhNoKZKZU64bOswzrqHgY79ho,23830
25
+ unaiverse/networking/node/profile.py,sha256=uRJyd10JQWzqemYUh-sVAfoC0PMVfTn3JbMJXF6BdwY,20245
26
+ unaiverse/networking/node/__init__.py,sha256=DEXbZzPt7dgall1TZKODuQIXhjq3lr39QCBISGUSWww,2508
27
+ unaiverse/networking/node/tokens.py,sha256=UHyPnl6TDvPitrkP2AYAIegSWq4CpvsjRvmio3T-3nA,5281
28
+ unaiverse/networking/node/node.py,sha256=2-5YIFgY1bGLIV_Xsn0TThd37kHQe4GwN6Ti2IrNgbw,134116
29
+ unaiverse/networking/node/connpool.py,sha256=Sjyq_uQ8hpGbC-tE1eFkeiX_xotxazZ_w38mf5G2y2o,55807
30
+ unaiverse/utils/misc.py,sha256=Xe9ED8LKrLTuyFVqNecGB9ovakuPQ0rHoCRj79JKGN0,12337
31
+ unaiverse/utils/server.py,sha256=hCxHTNmYGrgGYrwZ5RaQ9kdmmfqWuIVTUdPYLCwpTQU,21974
32
+ unaiverse/utils/__init__.py,sha256=_iomQ_GviAS5c4ZVBrm1h_rLYWH-f-T9SI-b0697gn0,2464
33
+ unaiverse/utils/lone_wolf.json,sha256=iCzL5_S2_ERmbKVtneegJzczDsCxCZpa0qUshaDRLrw,713
34
+ unaiverse/utils/sandbox.py,sha256=S_eocNIGTyckovYMxmWb56wsCG7M-mxmGHqdLavSWQA,14436
35
+ unaiverse/streamlib/__init__.py,sha256=VpsL7-gwML7nbrMQumtEDpuEH4g7iNqQaCzd-zX49cQ,2447
36
+ unaiverse/streamlib/streamlib.py,sha256=yz6G8eez3VnF_fvA9G3KS-WCoLvPYlk0IdqdB9dDzOI,10366
37
+ unaiverse/modules/__init__.py,sha256=dqddn8Z5cggyU3ZaIC4cZk69Y0Xe7AquEGa9UFOfiKk,2501
38
+ unaiverse/modules/networks.py,sha256=vZdRlA9e31alcM5Tn9pc9v1CtDeKOpaCaVeOUBwEUVA,65944
39
+ unaiverse/modules/utils.py,sha256=qkYYrzuowhB7oH8S_Wquodyf7oYxK1KysHl-jN8POQc,32799
40
+ unaiverse/modules/hl/hl_utils.py,sha256=Xt2eWuwak6kDtTy2hQ1Ps8_M_REtte9HA-PzfCovlA8,18292
41
+ unaiverse/modules/hl/__init__.py,sha256=zG1j2LCuLKOAdOc5csSs52yLSyjHllF96z0hPn-pY1o,2446
42
+ unaiverse/modules/cnu/psi.py,sha256=Kp4sWFtY6howuOdIGWZf0GSyrcr0fQzu3_Jpug7-9ro,3890
43
+ unaiverse/modules/cnu/cnus.py,sha256=HjWgeYWCLMowbyRMEPywzewjBEx3OPrThmJQjZkElQA,27614
44
+ unaiverse/modules/cnu/__init__.py,sha256=qOHbNfhk_aJsoCPecPSo5QoWHVEbwaGsyQxXDt2wGho,2481
45
+ unaiverse/modules/cnu/layers.py,sha256=KnZa5_GvAZhCgfB_FpbFj4Ps82mZ1uE_nuKvOIP83gk,13221
46
+ unaiverse-0.1.11.dist-info/RECORD,,
47
+ unaiverse-0.1.11.dist-info/WHEEL,sha256=sunMa2yiYbrNLGeMVDqEA0ayyJbHlex7SCn1TZrEq60,136
48
+ unaiverse-0.1.11.dist-info/top_level.txt,sha256=0rP09tH9hv17TDQs66OHbJaRSnADpZsDsODy6JVsTtw,10
49
+ unaiverse-0.1.11.dist-info/METADATA,sha256=8Bpp9sJIMPwwe8NJrNWjff-D8YVCYmjhJJkmDb4oHUk,18311
50
+ unaiverse-0.1.11.dist-info/licenses/LICENSE,sha256=02v7juVPTazXHV7TG9WtaWrtmeC3BAd49itKH_SiHOs,1396
@@ -0,0 +1,6 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp311-cp311-macosx_11_0_arm64
5
+ Generator: delocate 0.13.0
6
+
@@ -0,0 +1,43 @@
1
+ =======
2
+ LICENSE
3
+ =======
4
+
5
+ This software is licensed under the Polyform Strict License 1.0.0.
6
+ Full license text: https://polyformproject.org/licenses/strict/1.0.0/
7
+
8
+ ------------------
9
+ Non-Commercial Use
10
+ ------------------
11
+
12
+ You may use, copy, and run this software for non-commercial purposes, as
13
+ defined in the Polyform Strict License. This includes use in academic and
14
+ scientific research.
15
+
16
+ You may also create and publish your own software that depends on or
17
+ interfaces with this project (for example, through imports, APIs, or
18
+ integration), provided that:
19
+
20
+ - Your software is used only for non-commercial purposes, and
21
+ - You do not modify or redistribute this software’s source code.
22
+ - You do not alter the hardcoded network communications of this software.
23
+
24
+ You can edit the examples as you prefer.
25
+
26
+ If you find bugs, have suggestions for improvements, or wish to propose
27
+ changes, you are welcome to share them (for example, by opening an issue or
28
+ contacting us).
29
+
30
+ Direct modification and redistribution of the source code of this software,
31
+ however, is not permitted.
32
+
33
+ --------------
34
+ Commercial Use
35
+ --------------
36
+
37
+ Commercial use of this software, or of any software that depends on it, is not
38
+ permitted under the Polyform Strict License.
39
+
40
+ If you would like to obtain a commercial license, please contact:
41
+
42
+ Stefano Melacci, Christian Di Maio, Tommaso Guidi, Marco Gori
43
+ contact@unaiverse.io
@@ -0,0 +1 @@
1
+ unaiverse