Skip to main content

nodus-compute

The Python SDK for Nodus: run functions, sandboxes, jobs and workspaces on the cheapest capacity that finishes them on time, with checkpoints, recovery and exact prepaid billing.

pip install nodus-compute
nodus login
import nodus

app = nodus.App("hello")


@app.function(gpu="H100", timeout="1h", max_cost=5)
def square(x: int) -> int:
    return x * x


@app.local_entrypoint()
def main():
    print(square.remote(7))  # one call; blocks and returns 49
    print(list(square.map(range(10))))  # fan out; results stream back in order
nodus run app.py      # ephemeral: the App is deleted when main() returns
nodus deploy app.py   # persistent: call it later with nodus.Function.from_name("hello", "square")

Every blocking call also has an .aio form for asyncio code: await square.remote.aio(7).

For organizations enabled for the Spot pilot, nodus.Client().spot.request("h200x8", max_price=12) waits for a dedicated interruptible node and returns its Nodus SSH command. Use client.spot.release(node["id"]) when finished. The Spot guide covers stable request keys, polling and billing.

Layout

Path What
src/nodus/api/ Layer 1: the generic resource client (nodus.api.get, list, watch, apply, …)
src/nodus/api/models/ Generated pydantic models (make gen; never edit)
src/nodus/errors/ One exception per error-registry code, plus the SDK's outcome errors
src/nodus/*.py Layer 2: App, Function, Image, Volume, Secret, Sandbox, Job, Workspace, llm
src/nodus/runtime.py, log.py, checkpoint.py, cluster.py In-container helpers; no-ops outside Nodus
src/nodus/_runtime/ The in-container worker runtimes (Functions, durable steps, agents)

Development

make -C sdk/python lint    # ruff lint and format check, mypy strict on nodus.api
make -C sdk/python gen     # regenerate nodus.api.models from api/openapi
make -C sdk/python docs    # griffe dump for the reference pages

The SDK has no tests of its own: the compose journeys exercise it end to end. The per-platform wheels that embed the CLI are built with NODUS_CLI_BIN=<binary> NODUS_WHEEL_PLATFORM=<tag> make -C sdk/python wheel-cli.

Metadata

Release files for nodus-compute 1.0.45

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for nodus-compute 1.0.45
File Actions
nodus_compute-1.0.45-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for nodus_compute-1.0.45-py3-none-win_arm64.whl
nodus_compute-1.0.45-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for nodus_compute-1.0.45-py3-none-win_amd64.whl
nodus_compute-1.0.45-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for nodus_compute-1.0.45-py3-none-manylinux_2_17_x86_64.whl
nodus_compute-1.0.45-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for nodus_compute-1.0.45-py3-none-manylinux_2_17_aarch64.whl
nodus_compute-1.0.45-py3-none-macosx_12_0_x86_64.whl Python 3 none macOS 12.0+ x86-64 Details for nodus_compute-1.0.45-py3-none-macosx_12_0_x86_64.whl
nodus_compute-1.0.45-py3-none-macosx_12_0_arm64.whl Python 3 none macOS 12.0+ ARM64 Details for nodus_compute-1.0.45-py3-none-macosx_12_0_arm64.whl

Total release size: 150.3 MB

Release files / nodus_compute-1.0.45-py3-none-win_arm64.whl

Download URL nodus_compute-1.0.45-py3-none-win_arm64.whl
Size 23.3 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
578d92603c48356f7fe3d6047ef26d9f384da38e1a9adc2c1250400997501b75
BLAKE2b-256 checksum
How to use checksums
218ae7690c8fb1212d5291396342e6b69f8dc031734fde294dc692dae59a92b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

Release files / nodus_compute-1.0.45-py3-none-win_amd64.whl

Download URL nodus_compute-1.0.45-py3-none-win_amd64.whl
Size 26.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
7b5928e3b967309cca8815f3e967d37ecb546e7657b32c02f6cdceb548f0f0e5
BLAKE2b-256 checksum
How to use checksums
a27f81db0a34d97881fac8af5de1485f45511ed0cda9d36cc8671b5ca60c2b10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

Release files / nodus_compute-1.0.45-py3-none-manylinux_2_17_x86_64.whl

Download URL nodus_compute-1.0.45-py3-none-manylinux_2_17_x86_64.whl
Size 26.1 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
5d77edaeeba3a4cf4585524e555403b68258f6ab54a2836a9614ad4fa094d4db
BLAKE2b-256 checksum
How to use checksums
96e8838e679ecb2f66dc989aab6bda4f33a951c9baf7a2a958dd8c41ec9d0d70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

Release files / nodus_compute-1.0.45-py3-none-manylinux_2_17_aarch64.whl

Download URL nodus_compute-1.0.45-py3-none-manylinux_2_17_aarch64.whl
Size 23.2 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
c48b4e269205738987199e78c9f3dd38eb40867d9e6bd23e7b154e7f72675a45
BLAKE2b-256 checksum
How to use checksums
6573f4569bc437b7681c86f661a70892a806fbbbbd3e5b35316656bbda56700e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

Release files / nodus_compute-1.0.45-py3-none-macosx_12_0_x86_64.whl

Download URL nodus_compute-1.0.45-py3-none-macosx_12_0_x86_64.whl
Size 26.7 MB
Tags Python 3 macOS 12.0+ x86-64
SHA-256 checksum
How to use checksums
b4f7fccd3f73be2ab664fce99723d4532d2c4b0e42835667a06a72facd4d207a
BLAKE2b-256 checksum
How to use checksums
fffc22f00f0e64006f1c75f74c5f53c51c459c1b9ecb8962d27e7ee8616dd5eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

Release files / nodus_compute-1.0.45-py3-none-macosx_12_0_arm64.whl

Download URL nodus_compute-1.0.45-py3-none-macosx_12_0_arm64.whl
Size 24.4 MB
Tags Python 3 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
23eed3c1708a32fbb35366b854a3299b2a04c9e54973c6257de4d5ab63dd5769
BLAKE2b-256 checksum
How to use checksums
fcb4336f21638bdb92339e28592bf80251ccf68cc72ed2cb2988b7da5fb87d8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

Security for nodus-compute 1.0.45

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for nodus_compute-1.0.45-py3-none-win_arm64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.45 This release

6 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page