Skip to main content

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
from scystream.sdk.scheduler import 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():
    Scheduler.list_entrypoints()
    Scheduler.execute_function("example_task")
    Scheduler.execute_function("another_task", "ScheduledTask")


if __name__ == "__main__":
    main()

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

scystream_sdk-0.1.4.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scystream_sdk-0.1.4-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file scystream_sdk-0.1.4.tar.gz.

File metadata

  • Download URL: scystream_sdk-0.1.4.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

Hashes for scystream_sdk-0.1.4.tar.gz
Algorithm Hash digest
SHA256 49153efacb75d78387422d9dace9e258206872bdc26e521c62d1553e472946c7
MD5 dcc5c4545bd2b574109a74938341f081
BLAKE2b-256 cc4ff736f2bdc4434132dee1c50b3a4b65110ea004d4fe42eccca93c1d6e0916

See more details on using hashes here.

File details

Details for the file scystream_sdk-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: scystream_sdk-0.1.4-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

Hashes for scystream_sdk-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 55e3e939c73b756382b0b1f50adc5b2076200fe3c6bfb1b21387699fd37037f1
MD5 8dff768f8a75abe8caea4924b24665e4
BLAKE2b-256 8b136ab597cd9a861b4a23e3df6640b91865453441c4fcee0cbf86364f43a891

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page