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
Usage
from scystream.sdk.core import entrypoint, get_entrypoints
from scystream.sdk.scheduler import schedule_task, run_scheduler
@entrypoint
def example_task():
print("Executing example_task...")
@entrypoint
def another_task(task_name):
print(f"Executing another_task with task name: {task_name}")
def main():
print("Registered entrypoints:")
for name, func in get_entrypoints().items():
print(f" - {name}: {func}")
schedule_task(5, example_task)
schedule_task(10, another_task, "ScheduledTask")
run_scheduler()
if __name__ == "__main__":
main()
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
scystream_sdk-0.1.3.tar.gz
(14.7 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 scystream_sdk-0.1.3.tar.gz.
File metadata
- Download URL: scystream_sdk-0.1.3.tar.gz
- Upload date:
- Size: 14.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0867d15b50f16794615742543e1e99d219f3a35bbb5729a2939de1af5f0f062
|
|
| MD5 |
323183a73678fccfe9477cbcc07ce146
|
|
| BLAKE2b-256 |
761b1cbe86fce43b9c6bdffe3276a0cb5b00a3a5f9b359ba97e8a1275da11fa4
|
File details
Details for the file scystream_sdk-0.1.3-py3-none-any.whl.
File metadata
- Download URL: scystream_sdk-0.1.3-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99dccae2e81b2390cbca4b41f5d0052f2c8f6b20f42ca9ad57d559ccf5f75aea
|
|
| MD5 |
ac1e042bd3b1a2edf11b9dfe0323b916
|
|
| BLAKE2b-256 |
2ad568850ffa860b417742c74b2a461f9a068474764f2177965d72c83530bc22
|