CROWDio SDK for distributed Python task execution
Project description
CROWDio SDK
CROWDio SDK provides client-side tools for submitting distributed Python workloads to a CROWDio foreman.
Included Packages
developer_sdk: public client APIs, decorators, and image utility helpers.common: shared protocol and serialization utilities used by the SDK runtime.
Install
pip install crowdio-sdk
Install optional image processing dependencies:
pip install "crowdio-sdk[image]"
Quick Start
import asyncio
from developer_sdk import crowdio_connect, crowdio_map, crowdio_disconnect
def square(x):
return x * x
async def main():
await crowdio_connect("localhost", 9000)
results = await crowdio_map(square, [1, 2, 3, 4])
print(results)
await crowdio_disconnect()
asyncio.run(main())
Notes
- The package requires a reachable CROWDio foreman endpoint.
- Image utilities under
developer_sdk.image_utilsrequire Pillow (install with[image]extra).
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
crowdio_sdk-0.3.0.tar.gz
(30.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file crowdio_sdk-0.3.0.tar.gz.
File metadata
- Download URL: crowdio_sdk-0.3.0.tar.gz
- Upload date:
- Size: 30.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74acb065ede08a91bf1d5d26640250164d665fce533cb56c0e3643307d224c89
|
|
| MD5 |
c5714a7efc019570986a6ff3f7b94b5f
|
|
| BLAKE2b-256 |
bf4be875309300d794d9548e902f8f833aff80ff581782057995ef4f89be6a36
|
File details
Details for the file crowdio_sdk-0.3.0-py3-none-any.whl.
File metadata
- Download URL: crowdio_sdk-0.3.0-py3-none-any.whl
- Upload date:
- Size: 35.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5630793b72b94e9a700f2f44347493a0814a86d07bfc6a6fc669e29b903c318
|
|
| MD5 |
70722b87934e922b73e349bc4cf8f694
|
|
| BLAKE2b-256 |
01bbd38a5a398ceb3539e1b55758c99bcd903f1711b6671bcf13154a88fd6848
|