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.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca6c4dd2f8594e455b7ee5308e4346ebcd110b27161611aeb135cc52b0fa0f7d |
|
MD5 | 4eabdee652912b403d64941ff316f1dd |
|
BLAKE2b-256 | a55fd5b3f98c4f55f8a339168eec681015dc449befdcb828975ddc909bb848a4 |