Overview
5 min
python sdk for interacting with litmus edge https //docs litmus io/litmusedge and litmus edge manager https //docs litmus io/edgemanager wraps the rest and graphql apis into importable modules with automatic oauth 2 0 handling, bundled devicehub driver records, and a cli that exposes every sdk function without writing python source github com/litmusautomation/solutions sdk https //github com/litmusautomation/solutions sdk releases (download whl) github com/litmusautomation/litmus sdk releases/releases https //github com/litmusautomation/litmus sdk releases/releases for ai agents if you are an ai agent (or are building one) and your task is "use the litmus sdk to do x", start at api litmus io/sdk agents md https //api litmus io/sdk agents md rather than reading these pages top to bottom that file is the canonical machine readable guide and contains a full site map of these docs (every url slug, every section) module > python import path > litmus api collection mapping the litmus sdk cli discovery flow ( litmus sdk cli list \<module> ) for enumerating all 540 functions what's not in the sdk and where to find it (uns, raw api) the litmus sdk cli exposes every sdk function from the shell, returns json, and is the recommended interface for agents see sdk cli reference docid\ s7o dg4pyackxxpsoj2qf for the command reference what's in this documentation getting started docid\ mbvg4xlpn9vvydjsdyovp install the sdk and make your first call managing connections docid\ vwtfo9sxcmrbfx9cafenw direct le, direct lem, and lem bridge connection modes; multi device usage usage guideline + authentication docid\ grv3cacn2pnlpuwmxtzm3 per module reference for devicehub, drivers, digital twins, flows manager, analytics, and air gap features sdk cli reference docid\ s7o dg4pyackxxpsoj2qf litmus sdk cli command reference example usages docid\ qeeg52bjsfsxwxld88vyf end to end walkthroughs (digital twins, flows, marketplace, analytics, integration, opc, device management/system) release notes docid 3nnzacav bsdmqshfvrqa version history and what's new supported versions litmus edge version status 4 0 x (lts) default, actively tested 3 16 x supported (manual ci trigger) 3 11 x best effort, not actively tested python 3 12 or newer required functions exclusive to 4 0 x raise unsupportedversionerror when called against a 3 x device license copyright (c) litmus automation inc