pilotprotocol 1.12.3__tar.gz → 1.12.4__tar.gz
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.
- {pilotprotocol-1.12.3/pilotprotocol.egg-info → pilotprotocol-1.12.4}/PKG-INFO +18 -13
- {pilotprotocol-1.12.3 → pilotprotocol-1.12.4}/README.md +17 -12
- pilotprotocol-1.12.4/pilotprotocol/bin/.pilot-version +1 -0
- {pilotprotocol-1.12.3 → pilotprotocol-1.12.4}/pilotprotocol/bin/libpilot.so +0 -0
- {pilotprotocol-1.12.3 → pilotprotocol-1.12.4}/pilotprotocol/bin/pilot-daemon +0 -0
- {pilotprotocol-1.12.3 → pilotprotocol-1.12.4}/pilotprotocol/bin/pilot-updater +0 -0
- {pilotprotocol-1.12.3 → pilotprotocol-1.12.4}/pilotprotocol/bin/pilotctl +0 -0
- {pilotprotocol-1.12.3 → pilotprotocol-1.12.4/pilotprotocol.egg-info}/PKG-INFO +18 -13
- {pilotprotocol-1.12.3 → pilotprotocol-1.12.4}/pyproject.toml +1 -1
- pilotprotocol-1.12.3/pilotprotocol/bin/.pilot-version +0 -1
- {pilotprotocol-1.12.3 → pilotprotocol-1.12.4}/CHANGELOG.md +0 -0
- {pilotprotocol-1.12.3 → pilotprotocol-1.12.4}/LICENSE +0 -0
- {pilotprotocol-1.12.3 → pilotprotocol-1.12.4}/MANIFEST.in +0 -0
- {pilotprotocol-1.12.3 → pilotprotocol-1.12.4}/pilotprotocol/__init__.py +0 -0
- {pilotprotocol-1.12.3 → pilotprotocol-1.12.4}/pilotprotocol/_runtime.py +0 -0
- {pilotprotocol-1.12.3 → pilotprotocol-1.12.4}/pilotprotocol/bin/libpilot.h +0 -0
- {pilotprotocol-1.12.3 → pilotprotocol-1.12.4}/pilotprotocol/bin/pilot-gateway +0 -0
- {pilotprotocol-1.12.3 → pilotprotocol-1.12.4}/pilotprotocol/cli.py +0 -0
- {pilotprotocol-1.12.3 → pilotprotocol-1.12.4}/pilotprotocol/client.py +0 -0
- {pilotprotocol-1.12.3 → pilotprotocol-1.12.4}/pilotprotocol/py.typed +0 -0
- {pilotprotocol-1.12.3 → pilotprotocol-1.12.4}/pilotprotocol.egg-info/SOURCES.txt +0 -0
- {pilotprotocol-1.12.3 → pilotprotocol-1.12.4}/pilotprotocol.egg-info/dependency_links.txt +0 -0
- {pilotprotocol-1.12.3 → pilotprotocol-1.12.4}/pilotprotocol.egg-info/entry_points.txt +0 -0
- {pilotprotocol-1.12.3 → pilotprotocol-1.12.4}/pilotprotocol.egg-info/requires.txt +0 -0
- {pilotprotocol-1.12.3 → pilotprotocol-1.12.4}/pilotprotocol.egg-info/top_level.txt +0 -0
- {pilotprotocol-1.12.3 → pilotprotocol-1.12.4}/setup.cfg +0 -0
- {pilotprotocol-1.12.3 → pilotprotocol-1.12.4}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pilotprotocol
|
|
3
|
-
Version: 1.12.
|
|
3
|
+
Version: 1.12.4
|
|
4
4
|
Summary: Python SDK for Pilot Protocol - the network stack for AI agents
|
|
5
5
|
Author-email: Alexandru Godoroja <alex@pilotprotocol.network>
|
|
6
6
|
Maintainer-email: Alexandru Godoroja <alex@pilotprotocol.network>, Teodor Calin <teodor@pilotprotocol.network>
|
|
@@ -70,18 +70,23 @@ pilotctl daemon start --hostname my-agent
|
|
|
70
70
|
Then, from your code:
|
|
71
71
|
|
|
72
72
|
```python
|
|
73
|
-
from pilotprotocol import Driver
|
|
74
|
-
|
|
75
|
-
with Driver() as d:
|
|
76
|
-
info = d.info()
|
|
77
|
-
print(f"address={info['address']}")
|
|
78
|
-
|
|
79
|
-
d.set_hostname("my-python-agent")
|
|
73
|
+
from pilotprotocol import Driver, PilotError
|
|
80
74
|
|
|
81
|
-
|
|
82
|
-
with
|
|
83
|
-
|
|
84
|
-
print(
|
|
75
|
+
try:
|
|
76
|
+
with Driver() as d:
|
|
77
|
+
info = d.info()
|
|
78
|
+
print(f"address={info['address']}")
|
|
79
|
+
|
|
80
|
+
d.set_hostname("my-python-agent")
|
|
81
|
+
|
|
82
|
+
peer = d.resolve_hostname("other-agent")
|
|
83
|
+
with d.dial(f"{peer['address']}:1000") as conn:
|
|
84
|
+
conn.write(b"hello")
|
|
85
|
+
print(conn.read(4096))
|
|
86
|
+
except (PilotError, FileNotFoundError) as e:
|
|
87
|
+
# Raised when libpilot isn't installed or no daemon is running.
|
|
88
|
+
# Start one with: pilotctl daemon start --hostname my-agent
|
|
89
|
+
print(f"pilot daemon unavailable: {e}")
|
|
85
90
|
```
|
|
86
91
|
|
|
87
92
|
## API overview
|
|
@@ -103,7 +108,7 @@ from pilotprotocol import Driver, PilotError
|
|
|
103
108
|
try:
|
|
104
109
|
with Driver() as d:
|
|
105
110
|
d.resolve_hostname("unknown")
|
|
106
|
-
except PilotError as e:
|
|
111
|
+
except (PilotError, FileNotFoundError) as e:
|
|
107
112
|
print(f"error: {e}")
|
|
108
113
|
```
|
|
109
114
|
|
|
@@ -32,18 +32,23 @@ pilotctl daemon start --hostname my-agent
|
|
|
32
32
|
Then, from your code:
|
|
33
33
|
|
|
34
34
|
```python
|
|
35
|
-
from pilotprotocol import Driver
|
|
36
|
-
|
|
37
|
-
with Driver() as d:
|
|
38
|
-
info = d.info()
|
|
39
|
-
print(f"address={info['address']}")
|
|
40
|
-
|
|
41
|
-
d.set_hostname("my-python-agent")
|
|
35
|
+
from pilotprotocol import Driver, PilotError
|
|
42
36
|
|
|
43
|
-
|
|
44
|
-
with
|
|
45
|
-
|
|
46
|
-
print(
|
|
37
|
+
try:
|
|
38
|
+
with Driver() as d:
|
|
39
|
+
info = d.info()
|
|
40
|
+
print(f"address={info['address']}")
|
|
41
|
+
|
|
42
|
+
d.set_hostname("my-python-agent")
|
|
43
|
+
|
|
44
|
+
peer = d.resolve_hostname("other-agent")
|
|
45
|
+
with d.dial(f"{peer['address']}:1000") as conn:
|
|
46
|
+
conn.write(b"hello")
|
|
47
|
+
print(conn.read(4096))
|
|
48
|
+
except (PilotError, FileNotFoundError) as e:
|
|
49
|
+
# Raised when libpilot isn't installed or no daemon is running.
|
|
50
|
+
# Start one with: pilotctl daemon start --hostname my-agent
|
|
51
|
+
print(f"pilot daemon unavailable: {e}")
|
|
47
52
|
```
|
|
48
53
|
|
|
49
54
|
## API overview
|
|
@@ -65,7 +70,7 @@ from pilotprotocol import Driver, PilotError
|
|
|
65
70
|
try:
|
|
66
71
|
with Driver() as d:
|
|
67
72
|
d.resolve_hostname("unknown")
|
|
68
|
-
except PilotError as e:
|
|
73
|
+
except (PilotError, FileNotFoundError) as e:
|
|
69
74
|
print(f"error: {e}")
|
|
70
75
|
```
|
|
71
76
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.12.4
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pilotprotocol
|
|
3
|
-
Version: 1.12.
|
|
3
|
+
Version: 1.12.4
|
|
4
4
|
Summary: Python SDK for Pilot Protocol - the network stack for AI agents
|
|
5
5
|
Author-email: Alexandru Godoroja <alex@pilotprotocol.network>
|
|
6
6
|
Maintainer-email: Alexandru Godoroja <alex@pilotprotocol.network>, Teodor Calin <teodor@pilotprotocol.network>
|
|
@@ -70,18 +70,23 @@ pilotctl daemon start --hostname my-agent
|
|
|
70
70
|
Then, from your code:
|
|
71
71
|
|
|
72
72
|
```python
|
|
73
|
-
from pilotprotocol import Driver
|
|
74
|
-
|
|
75
|
-
with Driver() as d:
|
|
76
|
-
info = d.info()
|
|
77
|
-
print(f"address={info['address']}")
|
|
78
|
-
|
|
79
|
-
d.set_hostname("my-python-agent")
|
|
73
|
+
from pilotprotocol import Driver, PilotError
|
|
80
74
|
|
|
81
|
-
|
|
82
|
-
with
|
|
83
|
-
|
|
84
|
-
print(
|
|
75
|
+
try:
|
|
76
|
+
with Driver() as d:
|
|
77
|
+
info = d.info()
|
|
78
|
+
print(f"address={info['address']}")
|
|
79
|
+
|
|
80
|
+
d.set_hostname("my-python-agent")
|
|
81
|
+
|
|
82
|
+
peer = d.resolve_hostname("other-agent")
|
|
83
|
+
with d.dial(f"{peer['address']}:1000") as conn:
|
|
84
|
+
conn.write(b"hello")
|
|
85
|
+
print(conn.read(4096))
|
|
86
|
+
except (PilotError, FileNotFoundError) as e:
|
|
87
|
+
# Raised when libpilot isn't installed or no daemon is running.
|
|
88
|
+
# Start one with: pilotctl daemon start --hostname my-agent
|
|
89
|
+
print(f"pilot daemon unavailable: {e}")
|
|
85
90
|
```
|
|
86
91
|
|
|
87
92
|
## API overview
|
|
@@ -103,7 +108,7 @@ from pilotprotocol import Driver, PilotError
|
|
|
103
108
|
try:
|
|
104
109
|
with Driver() as d:
|
|
105
110
|
d.resolve_hostname("unknown")
|
|
106
|
-
except PilotError as e:
|
|
111
|
+
except (PilotError, FileNotFoundError) as e:
|
|
107
112
|
print(f"error: {e}")
|
|
108
113
|
```
|
|
109
114
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.12.3
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|