hello-world-py

Simple Sequence that prints out 'Hello World!' to the Instance output.

Description

  • Name: @scramjet/hello-world-py
  • Version: 1.0.0
  • Language: python
  • Author: S4adam
  • Tags: sample,easy,streaming,Data Producer

Simple Sequence that outputs "Hello world" written in python

Running

❗ Remember to setup transform-hub locally or use the platform's environment for the sequence deployment.

Open two terminals and run the following commands:

The first terminal:

Open the terminal and run the following commands:

# go to 'hello-world-py' directory cd python/hello-world-py # build npm run build # make a compressed package with Sequence si seq pack dist # send Sequence to transform hub, this will output Sequence ID si seq send dist.tar.gz # start a Sequence si seq start -

The second terminal

Read the Instance output:

si inst output -

You should see "Hello World!" printed out in the terminal.