Install
Core Methods
submit(...): create a cloud simulation job.step(...): alias for submit-oriented cloud simulation call.status(job_id): get current job state.wait(job_id): poll until terminal state.download(job_id, out_dir): download generated artifacts.cancel(job_id): cancel queued/running jobs.upload_input(local_path): upload local files and return ans3://URI.
Environment Variables
HARDSIM_API_KEY(required)HARDSIM_API_URL(production:https://api-sim.hardlightsim.com)HARDSIM_HTTP_TIMEOUT_SHARDSIM_HTTP_RETRIESHARDSIM_HTTP_BACKOFF_S
HARDSIM_INPUT_S3_BUCKETHARDSIM_INPUT_S3_PREFIXHARDSIM_INPUT_S3_REGIONHARDSIM_INPUT_S3_ENDPOINT_URL
Upload Behavior
- Default: SDK uses
POST /v0/inputs/presign-uploadand uploads without AWS credentials. - Optional: set
prefer_presigned=False(and configure bucket/AWS creds) to use direct-S3 upload.
Idempotent Submit (Recommended)
More Detail
- SDK release process in repository:
docs/sdk-release.md - SDK README in repository:
sdk/README.md