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()
Metadata
Release files for FlowQ 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flowq-0.0.4.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| FlowQ-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.5 kB
Release files / flowq-0.0.4.tar.gz
| Download URL | flowq-0.0.4.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b39de5ae8ce9c8eb0b6e8f6ae72173bbe08e038d0968c4649684f919bfd841e7
|
|
BLAKE2b-256 checksum How to use checksums |
7868f36ee432238c4ccbb2ce86755a64dc47c4b2517759d9a760a1843bee2d13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.6
|
Release files / FlowQ-0.0.4-py3-none-any.whl
| Download URL | FlowQ-0.0.4-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
765671afa8e8bfab42b34c03b7cd548ce01feb98b3d80733be84a72cb1517a69
|
|
BLAKE2b-256 checksum How to use checksums |
fbff51e378f0515157b24a90514d80ea2dd444d5fc12d5ea121e2469f92b7a80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.6
|