Skip to main content

Slim runner-side surface for IceFold: the worker WebSocket wire protocol plus a small on-runner helper kit (ids, logging, IO, exceptions). Installs as the top-level `icefold` package.

Project description

icefold-sdk

The slim, shared kernel for IceFold: the worker-control WebSocket protocol plus a small on-runner helper kit. It ships no node implementations — the server renders each node into a self-contained .py bundle and the icefold-runner imports the bundle on demand.

Import name: the distribution is icefold-sdk, but it installs as the top-level package icefold (like pyyamlimport yaml).

import icefold
print(icefold.__version__)

Both the IceFold server and the runner depend on this package: the server uses the wire / id / log surface to talk to its workers; the runner uses the same wire protocol to dial back, then imports server-rendered bundles to run jobs.

Surface

Module What
icefold.wire /v1/ws/worker frames: make_node_exec, make_missing_dep, binary_install_hint; constants (SRV_NODE_EXEC, WKR_NODE_DONE, …); OUTPUT_UPLOAD_PATH
icefold.crypto XOR-keystream framing for the worker WS (xor_bytes)
icefold._logging Coloured stdout logger (log_info, log_warning, log_error, log_debug)
icefold.ids get_file_id() — time-ordered unique id for output filenames
icefold.config DATA_DIR / DOWNLOAD_BASE_DIR / UPLOAD_BASE_DIR (driven by ICEFOLD_PROJECT_ROOT)
icefold.exceptions AppError family + MissingDependencyError
icefold.runtime run_blocking(fn, *a, **kw) + write_text(path, content) — off-event-loop IO helpers
icefold.__init__ Slim re-export: log_* / get_file_id / run_blocking / write_text

Install

pip install icefold-sdk           # runner-side helpers + wire protocol

Requires Python ≥ 3.11. This package is the shared protocol layer; if you want to run IceFold nodes on your own machine, install icefold-runner instead (it pulls this in).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

icefold_sdk-0.1.3.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

icefold_sdk-0.1.3-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file icefold_sdk-0.1.3.tar.gz.

File metadata

  • Download URL: icefold_sdk-0.1.3.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for icefold_sdk-0.1.3.tar.gz
Algorithm Hash digest
SHA256 df540eb4490b656058a3804ac5e2154f6360a5b6a7021a95110a59f368a663bd
MD5 4fa7d085074263b01a3f38a585c492af
BLAKE2b-256 e056a635cc3a7a3e282a14d9a60ec4d595bf7c7775f4e8bad15333f5b7f91748

See more details on using hashes here.

File details

Details for the file icefold_sdk-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: icefold_sdk-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for icefold_sdk-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8d9540b0a1297bf5345449811371bc09de9f6f42645cc0643509decb48abe8f2
MD5 aa094637a18605f24e76888f2c85aa93
BLAKE2b-256 dad8528e91b0caf5550598f925d9b532fc98c58bb1d0c25cbe97a6cc728e2672

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page