Python SDK
Quick Start
This requires an account on Latch. Register for a free account and log into the
Latch Console
Install the Latch CLI
-
Install Latch:
Run this in your terminal to install the Latch CLI and all of its dependancies:
Terminal
python3 -m pip install latch
-
Authenticate with Latch
Run this to authenticate your Latch CLI locally. This will open up a new browser window and authenticate the CLI using your account’s API key.
Terminal
latch login
Create your first workflow
I want to use:
-
Create your workflow from a template
This will download the subprocess workflow template using the Latch SDK framework to a directory called covid-wf.
Terminal
latch init covid-wf --template subprocess
-
Register your workflow
This will upload your workflow to your account here on Latch where you can then view the parameters and run it.
Terminal
latch register --yes --open covid-wf
To launch the workflow, use the Test Data button at the top of the parameters and click Launch.
-
Congratulations! You successfully uploaded your first workflow to Latch
Next steps are:
- Understand how to author your own workflow.
- Understand how to test and debug your workflow.
- Read the Concepts page
Was this page helpful?