1. Install
Requires Python 3.11 or later.2. Get values from Less
- Create a Python asset in Less and save it.
- The Local SDK setup modal opens. Copy the generated script into your editor. Reopen it later from the ⋯ menu → Generate local SDK setup.
3. Run a script
Use the copiedos.environ block, then call Less:
4. Run it on Less
Paste the script back into the Python asset — omit theos.environ block. The platform sets those variables when the job runs. Add a schedule if you want it to run regularly.