Requirements
- Python 3.12+
- Petri running locally or in the cloud
Install
Configure
By default the SDK connects tohttp://localhost:8000. Override with an environment variable:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Install the jhansi SDK and connect to a sandbox.
pip install jhansi
http://localhost:8000. Override with an environment variable:
export JHANSI_BASE_URL=http://localhost:8000
from jhansi import Sandbox
sb = Sandbox(language="python", base_url="http://localhost:8000")