Your Friendly Neighbourhood Distributed Computing System
Project description
FlowQ
Your Friendly Neighbourhood Distributed Computing System
FlowQ was created for the goal of making distributed computing free, simple and easier.
Features of FlowQ:
- Effortless Setup: Ditch the complicated configurations! FlowQ runs right out of the box, no ssh headaches or pre-installation required.
- Simple and Secure Connection: Leverages the Hack.Chat platform to establish secure, base-64 encrypted and anonymous connections with your computing cluster.
- Temporary Storage: Need a place to store input and output files? FlowQ utilizes FileBin for convenient temporary storage.
- Parallel Powerhouse: FlowQ unleashes the true potential of your network by executing tasks in parallel across your machines(with multi-threading), significantly boosting your processing speed.
I don't have any other computing devices, and I don't want to spend money....
- Supercharge your cluster in seconds! FlowQ lets you seamlessly add new machines with Python. Just 2 lines of command, and you've got a processing powerhouse. FlowQ makes scaling effortless.
pip install FlowQ
python -m FlowQ.cluster -c <your-channel-name>
- You can run these commands in your Google Colab Instances or any other computer, for scaling your cluster with ease.
Client Usage
- You can set up your client, with simple FlowQlient Class!
from FlowQ.client import FlowQlient
flow = FlowQlient(channel="<your-channel-name>")
flow.connect(name="<your-user-name>")
@flow.task
def alpha(x):
## Import all the needed modules inside the function
import requests
url = "https://uselessfacts.jsph.pl/api/v2/facts/random"
return requests.get(url).json()["text"], x
output = flow.get([alpha(i) for i in range(6)])
⚡Note⚡: Please initialize the cluster before running the Client code(This will be fixed in future updates)
⚡Note⚡: While executing the client in a jupyter notebook, don't forget to enable nest_asyncio first by:
!pip install nest_asyncio
import nest_asyncio
nest_asyncio.apply()
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
flowq-0.0.4.tar.gz
(6.0 kB
view details)
Built Distribution
FlowQ-0.0.4-py3-none-any.whl
(7.5 kB
view details)
File details
Details for the file flowq-0.0.4.tar.gz
.
File metadata
- Download URL: flowq-0.0.4.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b39de5ae8ce9c8eb0b6e8f6ae72173bbe08e038d0968c4649684f919bfd841e7 |
|
MD5 | 8ef718b99c04794f6a7588dd51e9de43 |
|
BLAKE2b-256 | 7868f36ee432238c4ccbb2ce86755a64dc47c4b2517759d9a760a1843bee2d13 |
File details
Details for the file FlowQ-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: FlowQ-0.0.4-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 765671afa8e8bfab42b34c03b7cd548ce01feb98b3d80733be84a72cb1517a69 |
|
MD5 | 9146d2dcd4015436eb1eb663daff7842 |
|
BLAKE2b-256 | fbff51e378f0515157b24a90514d80ea2dd444d5fc12d5ea121e2469f92b7a80 |