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
crowdio: 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 crowdio 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
crowdio.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.1.tar.gz
(29.2 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.1.tar.gz.
File metadata
- Download URL: crowdio_sdk-0.3.1.tar.gz
- Upload date:
- Size: 29.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59d667706f01f3869cf617e4c7e615e6b26e1842227fe1c96c389b546e6bba39
|
|
| MD5 |
bb8704897c6b31b05734ed445c13d081
|
|
| BLAKE2b-256 |
fa3aa94547a2fa70eec18ec6440af69b7f8595fac69cffe76fec54bd90f92710
|
File details
Details for the file crowdio_sdk-0.3.1-py3-none-any.whl.
File metadata
- Download URL: crowdio_sdk-0.3.1-py3-none-any.whl
- Upload date:
- Size: 34.9 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 |
70d878147803785145f3cdfe1bbfc7bfe7bfccd1d5dab722359a406d02752d90
|
|
| MD5 |
1ca1b9975c70f11ee727edd9aaaef950
|
|
| BLAKE2b-256 |
84eada4319fea874ba1c37ababae2672f5732ab9c4d70947b33ea9391bb2abd2
|