Fast, secure network awakeness monitoring for SyftBox - ping members to see who's online and ready for interactive queries
Project description
Syft Awake 🚀
See who's online and ready to collaborate in your SyftBox network
What is it?
Syft Awake helps coordinate live collaboration on SyftBox - the open-source platform for privacy-first AI development. Check who's online before starting federated learning experiments, research sessions, or collaborative development.
Quick Start
pip install syft-awake
import syft_awake as sa
# Ping someone to see if they're online
response = sa.ping_user("colleague@university.edu")
if response:
print(f"{response.responder} is {response.status}")
# Find everyone who's currently online
responses = sa.ping_network()
online_now = [r.responder for r in responses]
print(f"Online: {', '.join(online_now)}")
Use Cases
🧪 Research Coordination
# Check if collaborators are available before starting experiments
research_team = ["alice@university.edu", "bob@lab.org"]
responses = sa.ping_network(research_team)
if len(responses) >= 2:
print("Enough researchers online - let's start the federated learning!")
🤝 Live Development Sessions
# See who's available for pair programming or code review
responses = sa.ping_network()
for r in responses:
if "development" in r.capabilities:
print(f"{r.responder} is available for development work")
📊 Distributed Computing
# Find compute nodes with light workload for your job
responses = sa.ping_network()
available_nodes = [r for r in responses if r.workload == "light"]
print(f"Found {len(available_nodes)} available compute nodes")
API
Just two simple functions:
ping_user(email, timeout=30) → AwakeResponse or None
ping_network(emails=None, timeout=15) → List[AwakeResponse]
Auto-installs and auto-discovers network members. Works silently in the background.
How It Works
- Automatic: Simply importing the library installs the SyftBox app
- Private: Uses SyftBox's secure, file-based communication
- Decentralized: No central servers - direct peer-to-peer pings
- Smart Discovery: Finds other users by scanning your local SyftBox network
Perfect for coordinating real-time collaboration in privacy-preserving AI research and development.
License
Apache 2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file syft_awake-0.2.1.tar.gz.
File metadata
- Download URL: syft_awake-0.2.1.tar.gz
- Upload date:
- Size: 46.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37acddbe7a2f052e4483c971e8f7ad223ec987f837c1c68d7b91455d1495e9ef
|
|
| MD5 |
62d0a3f2296782676c1d406c6bb2022d
|
|
| BLAKE2b-256 |
f014956438515ca483d73f41428f19b0f2511ae8a35d7dbadaf61b7e6e13ff18
|
File details
Details for the file syft_awake-0.2.1-py3-none-any.whl.
File metadata
- Download URL: syft_awake-0.2.1-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78f7ee19ec6eee5dd7f082127feccaf533b046704a691904a4e8c05bad771d5d
|
|
| MD5 |
b3134b6a960bb4cbf834d29f7b3a1541
|
|
| BLAKE2b-256 |
f0835e6ea34c0fe87d88b5eacd87969944b8dabc3b71b3bbe408f6343a3bca8e
|