python3 -m venv venv source venv/bin/activate
pip3 install -r requirements.txt
If you are building from source, then first build the distribution (via calling statefun-python-sdk/build-distribution.sh
) then copy statefun-python-sdk/dist/apache_flink_statefun-<version>-py3-none-any.whl
here and run
pip3 install apache_flink_statefun-<version>-py3-none-any.whl
python3 walkthrough.py
And from another terminal run:
python3 run-example.py <example name>
e.g.
python3 run-example.py walkthrough/hello