Server-side code for a powerful Scratch 3.0 websocket extension.
Project description
Discussion Forum
HackMD Documentation
CloudLink is a high-speed, reliable, and custom websocket extension for Scratch 3.0, with server code that runs on Python. It permits cross-project (as well as cross-program) cloud variables. It also enables full-duplex networking and limitless possibilities for Scratch 3.0 projects.
Example usage:
from cloudlink import CloudLink
cl = CloudLink()
cl.host(3000) # Hosts CloudLink in Server Mode on ws://localhost:3000/
Please report any bugs you find to the official GitHub repository or on my Scratch profile.
Scratch Extension
You can view the client-side extension using one of the following modded Scratch editors:
Installing CloudLink
Method 1: using pip3 (This is WIP and may not work)
pip3 install cloudlink
Method 2: Directly downloading cloudlink.py
Simply download the source code, extract cloudlink.py, and import it as shown above. However, the following dependencies are required in order to take advantage of full functionality:
- websocket-server
pip3 install websocket-server
- websocket-client
pip3 install websocket-client
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
Hashes for cloudlink-0.1.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4143e0bd32809d5cc06132dbe40ecfe55751b032e6a3aaa5fe61614ec12ca4c3 |
|
MD5 | b7dd8db96aa6b367f5c16519378d8ea0 |
|
BLAKE2b-256 | d7c10c27f1fc69d832bcd8bab616a2449dbbe33c2488ee636224b35203048177 |