The official SDK for developing scystream compute blocks
Project description
scystream-sdk
Installation
You can install the package via pip once it's published:
pip install scystream-sdk
Introduction
One of the central concepts of scystream are the so-called Compute Blocks.
A Compute Block describes an independent programm, that acts as some kind of worker which will be scheduled using the scystream-core application. This worker executes a task (e.g. a NLP task, a crawling task).
This SDK aims to provide helper functions and all other requirements you need to implement a custom Compute Block on your own.
Each worker can have multiple entrypoints, each aiming to solve one task. These entrypoints can be configured from the outside using the Settings. These are basically ENV-Variables, which will be parsed & validated using pydantic.
Find the whole Documentation here!
Development of the SDK
Installation
- Create a venv and use it
python3 -m venv .venv
source .venv/bin/activate
- Install the package within the venv
[!NOTE] This will also install all the install_requirements from the setup.py
pip install -e .
- Install the dev dependencies
pip install -e ".[dev]"
- Develop!
Tests
To run all the tests run the following command:
python3 -m unittest discover -s tests
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
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 scystream_sdk-1.2.1.tar.gz.
File metadata
- Download URL: scystream_sdk-1.2.1.tar.gz
- Upload date:
- Size: 1.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b1ba1ac7985bce929275b2bc5e4243fbf607c6c64b8e915fbe3efbff538e047
|
|
| MD5 |
3bbc51f9e336fefff84d4c0bf0074748
|
|
| BLAKE2b-256 |
039f5a10687532f04d3e19dc01831faa838edfc2b345f0884cedcd08c88d4fc2
|
File details
Details for the file scystream_sdk-1.2.1-py3-none-any.whl.
File metadata
- Download URL: scystream_sdk-1.2.1-py3-none-any.whl
- Upload date:
- Size: 1.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
931b87f68c2181b54c9a737f1d46000c11874c5052ff8459b0b5d527fba42620
|
|
| MD5 |
a615374524a0e9651faf3079406b72f3
|
|
| BLAKE2b-256 |
3ac552c16c74b8d7fa08f3b9aa19bcfdbc7489aa3e9a92d1bb8e8a8c836eaf06
|