{"id":13667622,"url":"https://github.com/aws/aws-step-functions-data-science-sdk-python","last_synced_at":"2025-05-14T13:06:10.822Z","repository":{"id":38433815,"uuid":"209399090","full_name":"aws/aws-step-functions-data-science-sdk-python","owner":"aws","description":"Step Functions Data Science SDK for building machine learning (ML) workflows and pipelines on AWS","archived":false,"fork":false,"pushed_at":"2025-04-15T21:25:33.000Z","size":38745,"stargazers_count":290,"open_issues_count":50,"forks_count":90,"subscribers_count":20,"default_branch":"main","last_synced_at":"2025-05-08T00:08:00.510Z","etag":null,"topics":["aws","machine-learning","python","stepfunctions"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aws.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-18T20:33:43.000Z","updated_at":"2025-04-15T21:25:38.000Z","dependencies_parsed_at":"2024-06-18T15:27:40.046Z","dependency_job_id":null,"html_url":"https://github.com/aws/aws-step-functions-data-science-sdk-python","commit_stats":{"total_commits":117,"total_committers":28,"mean_commits":4.178571428571429,"dds":0.8376068376068376,"last_synced_commit":"02ed72b10d7c0dbfb3e404b1e183c309c040bfaa"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws%2Faws-step-functions-data-science-sdk-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws%2Faws-step-functions-data-science-sdk-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws%2Faws-step-functions-data-science-sdk-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws%2Faws-step-functions-data-science-sdk-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aws","download_url":"https://codeload.github.com/aws/aws-step-functions-data-science-sdk-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254149948,"owners_count":22022851,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","machine-learning","python","stepfunctions"],"created_at":"2024-08-02T07:00:44.283Z","updated_at":"2025-05-14T13:06:05.806Z","avatar_url":"https://github.com/aws.png","language":"Python","funding_links":[],"categories":["AWS Python SDKs","Python"],"sub_categories":[],"readme":"|codebuild|  |readthedocs|  |pypi|\n\n===================================\nAWS Step Functions Data Science SDK\n===================================\n\nThe AWS Step Functions Data Science SDK is an open-source library that allows data\nscientists to easily create workflows that process and publish machine learning\nmodels using Amazon SageMaker and AWS Step Functions. You can create machine learning\nworkflows in Python that orchestrate AWS infrastructure at scale, without having\nto provision and integrate the AWS services separately.\n\n* Workflow - A sequence of steps designed to perform some work\n* Step - A unit of work within a workflow\n* ML Pipeline - A type of workflow used in data science to create and train machine learning models\n\nThe AWS Step Functions Data Science SDK enables you to do the following.\n\n- Easily construct and run machine learning workflows that use AWS\n  infrastructure directly in Python\n- Instantiate common training pipelines\n- Create standard machine learning workflows in a Jupyter notebook from\n  templates\n\nTable of Contents\n-----------------\n- `Getting Started With Sample Jupyter Notebooks \u003c#getting-started-with-sample-jupyter-notebooks\u003e`__\n- `Installing the AWS Step Functions Data Science SDK \u003c#installing-the-aws-step-functions-data-science-sdk\u003e`__\n- `Overview of SDK \u003c#overview-of-sdk\u003e`__\n- `Contributing \u003c#contributing\u003e`__\n- `AWS Permissions \u003c#aws-permissions\u003e`__\n- `Licensing \u003c#licensing\u003e`__\n- `Verifying the Signature \u003c#verifying-the-signature\u003e`__\n\nGetting Started With Sample Jupyter Notebooks\n---------------------------------------------\n\nThe best way to quickly review how the AWS Step Functions Data Science SDK works\nis to review the related example notebooks. These notebooks provide code and\ndescriptions for creating and running workflows in AWS Step Functions Using\nthe AWS Step Functions Data Science SDK.\n\nExample Notebooks in SageMaker\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nIn Amazon SageMaker, example Jupyter notebooks are available in the **example\nnotebooks** portion of a notebook instance. To run the example notebooks, do the following.\n\n1. Either `Create a Notebook Instance \u003chttps://docs.aws.amazon.com/sagemaker/latest/dg/gs-setup-working-env.html\u003e`__ or `Access an Existing \u003chttps://docs.aws.amazon.com/sagemaker/latest/dg/howitworks-access-ws.html\u003e`__ notebook instance.\n\n2. Select the **SageMaker Examples** tab.\n\n3. Choose a notebook in the **Step Functions Data Science SDK** section and select **Use**.\n\nFor more information, see `Example Notebooks \u003chttps://docs.aws.amazon.com/sagemaker/latest/dg/howitworks-nbexamples.html\u003e`__\nin the Amazon SageMaker documentation.\n\n\nRun Example Notebooks Locally\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nTo run the AWS Step Functions Data Science SDK example notebooks locally, download\nthe sample notebooks and open them in a working Jupyter instance.\n\n1. Install Jupyter: https://jupyter.readthedocs.io/en/latest/install.html\n\n2. Download the following files from:\n   https://github.com/awslabs/amazon-sagemaker-examples/tree/master/step-functions-data-science-sdk.\n\n  * :code:`hello_world_workflow.ipynb`\n  * :code:`machine_learning_workflow_abalone.ipynb`\n  * :code:`training_pipeline_pytorch_mnist.ipynb`\n\n3. Open the files in Jupyter.\n\n\n\nInstalling the AWS Step Functions Data Science SDK\n--------------------------------------------------\n\nThe AWS Step Functions Data Science SDK is built to PyPI and can be installed with\npip as follows.\n\n\n::\n\n        pip install stepfunctions\n\nYou can install from source by cloning this repository and running a pip install\ncommand in the root directory of the repository:\n\n::\n\n    git clone https://github.com/aws/aws-step-functions-data-science-sdk-python.git\n    cd aws-step-functions-data-science-sdk-python\n    pip install .\n\nSupported Operating Systems\n~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nThe AWS Step Functions Data Science SDK supports Unix/Linux and Mac.\n\nSupported Python Versions\n~~~~~~~~~~~~~~~~~~~~~~~~~\n\nThe AWS Step Functions Data Science SDK is tested on:\n\n* Python 3.6\n\nOverview of SDK\n---------------\n\nThe AWS Step Functions Data Science SDK provides a Python API that enables you to\ncreate data science and machine learning workflows using AWS Step Functions and\nSageMaker directly in your Python code and Jupyter notebooks.\n\nUsing this SDK you can:\n\n1. Create steps that accomplish tasks.\n2. Chain those steps together into workflows.\n3. Include retry, succeed, or fail steps.\n4. Review a graphical representation and definition for your workflow.\n5. Create a workflow in AWS Step Functions.\n6. Start and review executions in AWS Step Functions.\n\nFor a detailed API reference of the AWS Step Functions Data Science SDK,\nbe sure to view this documentation on\n`Read the Docs \u003chttps://aws-step-functions-data-science-sdk.readthedocs.io\u003e`_.\n\n\nAWS Step Functions\n~~~~~~~~~~~~~~~~~~\n\nAWS Step Functions lets you coordinate multiple AWS services into serverless\nworkflows so you can build and update apps quickly. Using Step Functions, you\ncan design and run workflows that combine services such as Amazon SageMaker, AWS\nLambda, and Amazon Elastic Container Service (Amazon ECS), into feature-rich\napplications. Workflows are made up of a series of steps, with the output of one\nstep acting as input to the next.\n\nThe AWS Step Functions Data Science SDK provides access to AWS Step Functions so that\nyou can easily create and run machine learning and data science workflows\ndirectly in Python, and inside your Jupyter Notebooks. Workflows are created locally\nin Python, but when they are ready for execution, the workflow is first uploaded\nto the AWS Step Functions service for execution in the cloud.\n\nWhen you use the SDK to create, update, or execute workflows\nyou are talking to the Step Functions service in the cloud. Your workflows\nlive in AWS Step Functions and can be re-used.\n\nYou can execute a workflow as many times as you want, and you can optionally\nchange the input each time. Each time you execute a workflow, it creates a new\nexecution instance in the cloud. You can inspect these executions with SDK\ncommands, or with the Step Functions management console. You can run more than\none execution at a time.\n\nUsing this SDK you can create steps, chain them together to create a workflow,\ncreate that workflow in AWS Step Functions, and execute the workflow in the\nAWS cloud.\n\n.. image:: doc/images/create.png\n    :width: 600\n    :alt: Create a workflow in AWS Step Functions\n\nOnce you have created your workflow in AWS Step Functions, you can execute that\nworkflow in Step Functions, in the AWS cloud.\n\n.. image:: doc/images/execute.png\n    :width: 600\n    :alt: Start a workflow in AWS Step Functions\n\nStep Functions creates workflows out of steps called `States \u003chttps://docs.aws.amazon.com/step-functions/latest/dg/concepts-states.html\u003e`__,\nand expresses that workflow in the `Amazon States Language \u003chttps://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html\u003e`__.\nWhen you create a workflow in the AWS Step Functions Data Science SDK, it\ncreates a State Machine representing your workflow and steps in AWS Step\nFunctions.\n\nFor more information about Step Functions concepts and use, see the Step\nFunctions `documentation`_.\n\n.. _documentation: https://docs.aws.amazon.com/step-functions/index.html\n\nBuilding a Workflow\n-------------------\n\nSteps\n~~~~~\n\nYou create steps using the SDK, and chain them together into sequential\nworkflows. Then, you can create those workflows in AWS Step Functions and\nexecute them in Step Functions directly from your Python code. For example,\nthe following is how you define a pass step.\n\n.. code-block:: python\n\n    start_pass_state = Pass(\n        state_id=\"MyPassState\"\n    )\n\nThe following is how you define a wait step.\n\n\n.. code-block:: python\n\n    wait_state = Wait(\n        state_id=\"Wait for 3 seconds\",\n        seconds=3\n    )\n\nThe following example shows how to define a Lambda step,\nand then defines a `Retry` and a `Catch`.\n\n.. code-block:: python\n\n    lambda_state = LambdaStep(\n        state_id=\"Convert HelloWorld to Base64\",\n        parameters={\n            \"FunctionName\": \"MyLambda\", #replace with the name of your function\n            \"Payload\": {\n            \"input\": \"HelloWorld\"\n            }\n        }\n    )\n\n    lambda_state.add_retry(Retry(\n        error_equals=[\"States.TaskFailed\"],\n        interval_seconds=15,\n        max_attempts=2,\n        backoff_rate=4.0\n    ))\n\n    lambda_state.add_catch(Catch(\n        error_equals=[\"States.TaskFailed\"],\n        next_step=Fail(\"LambdaTaskFailed\")\n    ))\n\nWorkflows\n~~~~~~~~~\n\nAfter you define these steps, chain them together into a logical sequence.\n\n.. code-block:: python\n\n    workflow_definition=Chain([start_pass_state, wait_state, lambda_state])\n\nOnce the steps are chained together, you can define the workflow definition.\n\n.. code-block:: python\n\n     workflow = Workflow(\n         name=\"MyWorkflow_v1234\",\n         definition=workflow_definition,\n         role=stepfunctions_execution_role\n     )\n\nVisualizing a Workflow\n~~~~~~~~~~~~~~~~~~~~~~\n\nThe following generates a graphical representation of your workflow. Please note that visualization currently only works in Jupyter notebooks. Visualization is not available in JupyterLab.\n\n.. code-block:: python\n\n  workflow.render_graph(portrait=False)\n\nReview a Workflow Definition\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nThe following renders the JSON of the `Amazon States Language\n\u003chttps://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html\u003e`__\ndefinition of the workflow you created.\n\n.. code-block:: python\n\n  print(workflow.definition.to_json(pretty=True))\n\nRunning a Workflow\n-------------------\n\nCreate Workflow on AWS Step Functions\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nThe following creates the workflow in AWS Step Functions.\n\n.. code-block:: python\n\n  workflow.create()\n\nExecute the Workflow\n~~~~~~~~~~~~~~~~~~~~\n\nThe following starts an execution of your workflow in AWS Step Functions.\n\n.. code-block:: python\n\n  execution = workflow.execute(inputs={\n    \"IsHelloWorldExample\": True\n  })\n\nExport an AWS CloudFormation Template\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nThe following generates an AWS CloudFormation Template to deploy your workflow.\n\n.. code-block:: python\n\n  get_cloudformation_template()\n\nThe  generated template contains only the StateMachine resource. To reuse\nthe CloudFormation template in a different region, please make sure to update\nthe region specific AWS resources (such as the Lambda ARN and Training Image)\nin the StateMachine definition.\n\nContributing\n------------\nWe welcome community contributions and pull requests. See\n`CONTRIBUTING.md \u003chttps://github.com/aws/aws-step-functions-data-science-sdk-python/blob/main/CONTRIBUTING.md\u003e`__ for\ninformation on how to set up a development environment, run tests and submit code.\n\nAWS Permissions\n---------------\nAs a managed service, AWS Step Functions performs operations on your behalf on\nAWS hardware that is managed by AWS Step Functions.  AWS Step Functions can\nperform only operations that the user permits.  You can read more about which\npermissions are necessary in the `AWS Documentation\n\u003chttps://docs.aws.amazon.com/step-functions/latest/dg/security.html\u003e`__.\n\nThe AWS Step Functions Data Science SDK should not require any additional permissions\naside from what is required for using .AWS Step Functions.  However, if you are\nusing an IAM role with a path in it, you should grant permission for\n``iam:GetRole``.\n\nLicensing\n---------\nAWS Step Functions Data Science SDK is licensed under the Apache 2.0 License. It is\ncopyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. The\nlicense is available at: http://aws.amazon.com/apache2.0/\n\nVerifying the Signature\n-----------------------\n\nThis section describes the recommended process of verifying the validity of the\nAWS Data Science Workflows Python SDK's compiled distributions on\n`PyPI \u003chttps://pypi.org/project/stepfunctions/\u003e`__.\n\nWhenever you download an application from the internet, we recommend that you\nauthenticate the identity of the software publisher and check that the\napplication is not altered or corrupted since it was published. This protects\nyou from installing a version of the application that contains a virus or other\nmalicious code.\n\nIf after running the steps in this topic, you determine that the distribution\nfor the AWS Data Science Workflows Python SDK is altered or corrupted, do NOT\ninstall the package. Instead, contact AWS Support (https://aws.amazon.com/contact-us/).\n\nAWS Data Science Workflows Python SDK distributions on PyPI are signed using\nGnuPG, an open source implementation of the Pretty Good Privacy (OpenPGP)\nstandard for secure digital signatures. GnuPG (also known as GPG) provides\nauthentication and integrity checking through a digital signature. For more\ninformation about PGP and GnuPG (GPG), see http://www.gnupg.org.\n\nThe first step is to establish trust with the software publisher. Download the\npublic key of the software publisher, check that the owner of the public key is\nwho they claim to be, and then add the public key to your keyring. Your keyring\nis a collection of known public keys. After you establish the authenticity of\nthe public key, you can use it to verify the signature of the application.\n\nTopics\n~~~~~~\n\n1. `Installing the GPG Tools \u003c#installing-the-gpg-tools\u003e`__\n2. `Authenticating and Importing the Public Key \u003c#authenticating-and-importing-the-public-key\u003e`__\n3. `Verify the Signature of the Package \u003c#verify-the-signature-of-the-package\u003e`__\n\nInstalling the GPG Tools\n~~~~~~~~~~~~~~~~~~~~~~~~\n\nIf your operating system is Linux or Unix, the GPG tools are likely already\ninstalled. To test whether the tools are installed on your system, type\n**gpg** at a command prompt. If the GPG tools are installed, you see a GPG\ncommand prompt. If the GPG tools are not installed, you see an error stating\nthat the command cannot be found. You can install the GnuPG package from a\nrepository.\n\n**To install GPG tools on Debian-based Linux**\n\nFrom a terminal, run the following command: **apt-get install gnupg**\n\n**To install GPG tools on Red Hat–based Linux**\n\nFrom a terminal, run the following command: **yum install gnupg**\n\nAuthenticating and Importing the Public Key\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nThe next step in the process is to authenticate the AWS Data Science Workflows\nPython SDK public key and add it as a trusted key in your GPG keyring.\n\nTo authenticate and import the AWS Data Science Workflows Python SDK public key\n\n1. Copy the key from the following text and paste it into a file called\n`data_science_workflows.key`. Make sure to include everything that follows:\n\n.. code-block:: text\n\n  -----BEGIN PGP PUBLIC KEY BLOCK-----\n\n  mQINBF27JXsBEAC18lOq7/SmynwuTJZdzoSaYzfPjt+3RN5oFLd9VY559sLb1aqV\n  ph+RPu35YOR0GbR76NQZV6p2OicunvjmvvOKXzud8nsV3gjcSCdxn22YwVDdFdx9\n  N0dMOzo126kFIkubWNsBZDxzGsgIsku82+OKJbdSZyGEs7eOQCqieVpubnAk/pc5\n  J4sqYDFhL2ijCIwAW6YUx4WEMq1ysVVcoNIo5J3+f1NzJZBvI9xwf+R2AnX06EZb\n  FFIcX6kx5B8Sz6s4AI0EVFt9YOjtD+y6aBs3e63wx9etahq5No26NffNEve+pw3o\n  FTU7sq6HxX/cE+ssJALAwV/3/1OiluZ/icePgYvsl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bge8o9kGfrm7bnExz8a6sxEn\n  urooUaSk3isbGFAUg+Q7rQ+ViG9gDG74F5liwwcKoBct/Z9tCi/7p3QI0BE0bM1j\n  IHdm5dXaZAcMlUy6f0p3DO3qE2IjnNjEjvpm7Xzt6tKJu/scZQNdQxG/CDn5+ezm\n  nIatgDV6ugDDv/2o0BXMyAZT008T/QLR2U5dEsbt9H3Bzl4Ska6gjak2ToJL0T61\n  1dZjfv/1UbeYRPFCO6CsLj9uEq+RoHAsvAS4rl9HyM3b2sVzr8CMsP6LVdqlA2Qz\n  /nIBd+GuLofi3/PGvvS63ubfqSRGd5VvJXoiRl2WoE8lmyIB5UJfFfd8Zdn6j+hQ\n  c14VOp89mEfg57BiQXfZnzjFVNkl7T5I2g3X5O8StosncChqiJTSH5C731KUVqxO\n  xYknFostioIVKmyis/Nwmwr6fIItYyYCwh5YCqAg0r4SLbhFEVXdannUbFPF6upO\n  EbKlZP3Iyu/kYANMnq+9+GImrPrT/FCpM9RW1GFAnuVBt9Qjs+eRq4DQJl/EaIjZ\n  cgqz+e5TZNxDK9r2sHC4zGWy88/2GuhD8xh4FH5hBIDJPmHUtKh9XElq187VA4Jg\n  U0mbryduKMQIyuc6OLzfJUbVTMvKWaPASbGtvAAOwCFtAi33dZ8bOfjQLgOb9uDh\n  /vQojRxttMc=\n  =ovUh\n  -----END PGP PUBLIC KEY BLOCK-----\n\n\n2. At a command prompt in the directory where you saved\n`data_science_workflows.key`, use the following command to import the AWS Data\nScience Workflows Python SDK public key into your keyring:\n\n.. code-block:: text\n\n  gpg --import data_science_workflows.key\n\nThe command returns results that are similar to the following:\n\n.. code-block:: text\n\n  gpg: key 60EB103AE314A809: public key \"Stepfunctions-Python-SDK-Signing \u003cstepfunctions-developer-experience [at] amazon.com\u003e\" imported\n  gpg: Total number processed: 1\n  gpg:               imported: 1\n\nMake a note of the key value; you need it in the next step. In the preceding\nexample, the key value is 60EB103AE314A809.\n\n3. Verify the fingerprint by running the following command, replacing key-value\nwith the value from the preceding step:\n\n.. code-block:: text\n\n  gpg --fingerprint \u003ckey-value\u003e\n\nThis command returns results similar to the following:\n\n.. code-block:: text\n\n  pub   rsa4096 2019-10-31 [SC] [expires: 2030-10-31] CC16 0577 B7BF 9D3D 6E5D\n  51C5 60EB 103A E314 A809 uid           [ unknown]\n  Stepfunctions-Python-SDK-Signing\n  \u003cstepfunctions-developer-experience [at] amazon.com\u003e sub   rsa4096 2019-10-31 [E]\n  [expires: 2030-10-31]\n\nAdditionally, the fingerprint string should be identical to CC16 0577 B7BF\n9D3D 6E5D  51C5 60EB 103A E314 A809, as shown in the preceding example.\nCompare the key fingerprint that is returned to the one published on this\npage. They should match. If they don't match, don't install the AWS Data\nScience Workflows Python SDK package, and contact AWS Support.\n\nVerify the Signature of the Package\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nAfter you install the GPG tools, authenticate and import the AWS Data Science\nWorkflows Python SDK public key, and verify that the public key is trusted, you\nare ready to verify the signature of the package.\n\nTo verify the package signature, do the following.\n\n1. Download the detached signature for the package from PyPI\n\n  Go to the downloads section for the Data Science Workflows Python SDK\n  https://pypi.org/project/stepfunctions/#files on PyPI, Right-click on the SDK\n  distribution link, and choose \"Copy Link Location/Address\".\n\n  Append the string \".asc\" to the end of the link you copied, and paste this\n  new link on your browser.\n\n  Your browser will prompt you to download a file, which is the detatched\n  signature associated with the respective distribution. Save the file on your\n  local machine.\n\n2. Verify the signature by running the following command at a command prompt\nin the directory where you saved signature file and the AWS Data Science\nWorkflows Python SDK installation file. Both files must be present.\n\n.. code-block:: text\n\n  gpg --verify \u003cpath-to-detached-signature-file\u003e\n\nThe output should look something like the following:\n\n.. code-block:: text\n\n  gpg: Signature made Thu 31 Oct 12:14:53 2019 PDT\n  gpg:                using RSA key CC160577B7BF9D3D6E5D51C560EB103AE314A809\n  gpg: Good signature from \"Stepfunctions-Python-SDK-Signing \u003cstepfunctions-developer-experience [at] amazon.com\u003e\" [unknown]\n  gpg: WARNING: This key is not certified with a trusted signature!\n  gpg:          There is no indication that the signature belongs to the owner.\n  Primary key fingerprint: CC16 0577 B7BF 9D3D 6E5D  51C5 60EB 103A E314 A809\n\nIf the output contains the phrase Good signature from \"AWS Data Science\nWorkflows Python SDK \u003cstepfunctions-developer-experience [at] amazon.com\u003e\", it means\nthat the signature has successfully been verified, and you can proceed to run\nthe AWS Data Science Workflows Python SDK package.\n\nIf the output includes the phrase BAD signature, check whether you performed the\nprocedure correctly. If you continue to get this response, don't run the\ninstallation file that you downloaded previously, and contact AWS Support.\n\nThe following are details about the warnings you might see:\n\n.. code-block:: text\n\n  WARNING: This key is not certified with a trusted signature! There is no\n  indication that the signature belongs to the owner. This refers to your\n  personal level of trust in your belief that you possess an authentic public\n  key for AWS Data Science Workflows Python SDK. In an ideal world, you would\n  visit an AWS office and receive the key in person. However, more often you\n  download it from a website. In this case, the website is an AWS website.\n\n  gpg: no ultimately trusted keys found. This means that the specific key is not\n  \"ultimately trusted\" by you (or by other people whom you trust).\n\nFor more information, see http://www.gnupg.org.\n\n.. |codebuild| image:: https://codebuild.us-east-2.amazonaws.com/badges?uuid=eyJlbmNyeXB0ZWREYXRhIjoiZ2crZkxWN2lPTHhBdzAwOUIvZDlUQ2txQTRyYnZnQ3RaQ0dQYkhsb2EvT04xOVRIdDBqYWFOaS8weklGU216OUtuc29pZFQvQjgrRDhRbWJoeEJocFV3PSIsIml2UGFyYW1ldGVyU3BlYyI6IlRQUlZQd1ZLdGRqWkdVdWkiLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D\u0026branch=master\n  :target: https://us-east-2.console.aws.amazon.com/codesuite/codebuild/projects/StepFunctionsPythonSDK-unittests-private/history?region=us-east-2\n  :alt: Unit Tests Build Status\n\n.. |readthedocs| image:: https://readthedocs.org/projects/aws-step-functions-data-science-sdk/badge/?version=latest\n  :target: https://aws-step-functions-data-science-sdk.readthedocs.io/en/latest/?badge=latest\n  :alt: Documentation Status\n\n.. |pypi| image:: https://img.shields.io/pypi/v/stepfunctions\n  :target: https://pypi.org/project/stepfunctions/\n  :alt: PyPI\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faws%2Faws-step-functions-data-science-sdk-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faws%2Faws-step-functions-data-science-sdk-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faws%2Faws-step-functions-data-science-sdk-python/lists"}