PyEdgeCompute is a framework that enables users to run parallel scientific Python applications across personal and edge devices (e.g., laptops, Raspberry Pis), rather than relying on expensive cloud or proprietary clusters.
By compiling Python code to WebAssembly (via Pyodide), the system allows seamless and dependency-free execution across any machine with a browser or Node.js runtime. This means no installations, no dependency hell — just fast, portable scientific computation.
🔬 Designed for scientists and data analysts using Python — the most widely adopted language in the field — PyEdgeCompute makes distributed computing simple and accessible, even on constrained edge devices.
💡 Inspired by the Wasimoff project, but extended to support more complex workloads and external data I/O.
- Install Docker and Docker Compose
- Clone the repository
- Execute the following commands:
3.1. This command will build the Docker images for the orchestrator and the minio object storage.:
cd orchestrator/
sudo docker-compose up
3.2. This command will start the script for the client and start the client object storage:
cd client/
sudo docker-compose up
node client.mjs --config <path_to_config_file> --orch <orchestrator_ip||domain:port>
You can see example configurations in the client/configs/
directory.
- Execute launch_workers.sh
bash launch_workers.sh <NUM_WORKERS>