Python SDK 1.0 preview
pip install nodus-compute installs the new Python SDK (import nodus, Python 3.10 to 3.13).
- Functions:
nodus.App,@app.functionwith.remote(),.map(),.spawn()and.estimate(),@app.clswithenterandexithooks,nodus run,nodus deployandFunction.from_name. Modal code moves by changing the import; see Nodus for Modal users. - Sandboxes with exec, files, tunnels, stop and start, and filesystem snapshots (Beta).
- Jobs with source upload, logs, verified output downloads and multi-node gangs (Beta), plus
@nodus.clusteredFunctions (Beta). - Images, Volumes and Secrets, including
ReadWriteManyVolumes withcommit()andreload(). - Workspaces with SSH, VS Code, JupyterLab, schedules and session receipts.
- Inference:
nodus.llm.openai()andnodus.llm.anthropic()return the official clients configured for Nodus. - Typed errors for every API error code, automatic retries, and an idempotency key on every create.