Server-side code for a powerful Scratch 3.0 websocket extension.
Project description
CloudLink
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:
- TurboWarp
- SheepTester's E羊icques
- Adacraft support WIP...
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.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e3a1463f82593550b6e103fa2f37fdf850e1a3fc27e744950e06f6c7f338d58 |
|
MD5 | 0c4c95117de6a36f3bebd4fe6eb34f52 |
|
BLAKE2b-256 | 84abd2847fe8c7a2c387fcfa9d389c8e47ed8fbb681c92a00d3ebd8f10707454 |