Skip to main content

Chalk Sandbox SDK

Python SDK for the Chalk Sandbox gRPC service. Create sandboxes, execute commands, and stream output over bidirectional gRPC streams.

Contributor note: for testing deployed functions against local chalkcompute or local chalk-remote-call-python changes, see local-sdk-remote-call-testing.md.

Install

pip install chalkcompute

Cancelling deferred calls

Handles returned by function and class-method defer() calls support cancellation:

import chalkcompute as cc

call = worker.defer(inputs)
result = call.cancel()  # Succeeds only before a consumer acquires the input.

try:
    call.get()
except cc.CallCancelledError:
    pass

Inside an event loop, use await call.cancel(). Successful cancellation removes queued input, returns the cancelled status, and makes get() and stream() raise CallCancelledError without resubmitting work. Repeating a successful cancellation is idempotent. A result timeout does not cancel the call.

Acquisition is the execution boundary: buffered/coalesced inputs and deliveries whose acquisition response was lost already count as acquired. Cancellation after that boundary fails with gRPC FAILED_PRECONDITION (the call has already been acquired), and execution, output, and normal retries continue unchanged. There is no cancellation-induced generator restart or output replay.

Cancellation requires a Stream-backed queue whose consumer uses the DP API AcquireWork path; legacy Redis List queues do not support it. The SDK's pinned chalk-remote-call-python==1.10.14 already supports that path. Generated function/class images advertise CHALK_FNQ_CANCELLATION_SUPPORTED=true; set it to false in the deployment environment to opt out. Custom images must advertise support only when their consumers use the DP API acquisition path.

Quick start

import chalkcompute as cc

# Omitting image= uses Image.sandbox(): Python, Git and SSH in /workspace.
# Credentials come from the environment, as with SandboxClient.from_env().
sandbox = cc.Sandbox(
    image=cc.Image.sandbox().with_tmux(),
    cpu="1",
    memory="2Gi",
).run()
try:
    result = sandbox.exec("echo", "hello world")
    print(result.stdout_text)  # "hello world\n"
    print(result.exit_code)    # 0
finally:
    sandbox.terminate()

Sandbox(...) only describes the sandbox; .run() builds the image, starts it and waits until it is ready. See Coding agent tools for a sandbox with Claude Code, gh and Git identity configured.

Model routers

Define a stable model alias in Python and deploy it to your Chalk environment:

import chalkcompute as cc

from chalkcompute.router import Classifier, Connection

provider = Connection.from_name("my-openai")
small = provider.model("gpt-4.1-mini")
large = provider.model("gpt-4.1")

router = cc.Router(
    "assistant",
    default=small,
    fallbacks=[large],
    classifier=Classifier.heuristic(),
    routes={"0": small, "1": large},
).deploy()

print(router.model)  # chalk/assistant

Construction is local; deployment creates or updates persistent route configuration. It uses normal Chalk credentials, reuses saved provider connections, and returns the same handle. See the full router example for connection creation, function and model classifiers, inference, and resource lifecycle.

Logging and progress

The SDK leaves Python logging configuration to your application. Importing chalkcompute does not install handlers, change log levels, or configure the root logger. Deployment status is visible by default in terminals, notebooks, and captured scripts, independently of Python logging. With no logging configuration, Python's default stderr handler reports warnings and errors. Progress and the SDK's console diagnostics use stderr, leaving stdout available for script results.

Context Default output
Interactive terminal Colored deployment status lines on stderr
Notebook, CI, redirected stderr, or TERM=dumb Plain deployment status lines on stderr
Application with logging configured Deployment status remains visible; diagnostic records also go to the application's handlers

CHALK_SANDBOX_TUI=false (or 0) disables progress, including in a terminal. CHALK_SANDBOX_TUI=true (or 1) explicitly enables status lines, including plain text in notebooks. Unset it or use auto for the default behavior above. Terminal detection controls color, not visibility. Progress uses a named group with a vertical guide for its steps and a closing success/failure line. It prints only when a step changes. If concurrent deployments interleave, the group heading repeats with (continued) to identify the following steps. It never rewrites previous lines, replaces standard streams, or hides warnings and errors. No renderer dependency is required.

Color is automatic for interactive terminals. NO_COLOR, TERM=dumb, notebooks, CI, and redirected streams disable it. If a program controls a pseudo terminal, set NO_COLOR=1 for plain status, or CHALK_SANDBOX_TUI=false to disable status. Disabling progress does not disable diagnostics or customer output. To route SDK information only through your application's logging, disable progress and configure the chalkcompute logger as shown below.

Function "fraud"
  │ › Registering function
  │ ✓ Function registered
  │ › Waiting for readiness
  │ › Pending ready=0 available=0
  │ › Pending ready=0 available=0 — waiting for startup probe
  └ ✓ Ready

For additional console diagnostics in a script or notebook:

import chalkcompute as cc

cc.configure_logging()          # INFO: lifecycle events and readiness changes
# cc.configure_logging("DEBUG") # Every readiness poll and transport retry
# cc.configure_logging("WARNING") # Warning/error diagnostics only; progress remains

The helper writes unwrapped text to stderr, with colored level labels on interactive terminals and plain text elsewhere. It never interprets markup. Pass color=False to disable color, or stream= to use another text stream. It is safe to rerun in notebook cells: each call replaces only the helper's previous handler. It configures only the chalkcompute logger and disables propagation to the root logger to avoid duplicate log records. Configuring logging does not change progress. INFO diagnostics include lifecycle events also shown in progress; set CHALK_SANDBOX_TUI=false if you prefer just the diagnostic format.

Local customer print() output and application logging are untouched. Container and sandbox .exec() output remains captured in result objects; streaming APIs return output events for the caller to consume. Remote function stdout/stderr is not automatically forwarded to the caller by this SDK.

An unobserved background deployment failure always writes its explanation to stderr and exits unsuccessfully, even when logging or progress is disabled. This fatal report is independent of diagnostic log levels and handlers.

If your application already configures logging, use that configuration instead of the helper. All Python SDK loggers are under chalkcompute, so they work with your existing text, JSON, file, or telemetry handlers:

import logging

# In an application's logging setup:
logging.basicConfig(format="%(levelname)s %(name)s: %(message)s")
logging.getLogger("chalkcompute").setLevel(logging.INFO)

At INFO, functions, classes, containers, and scaling groups report readiness only when the state, replica counts, or status message changes. Repeated polls and routine transport recovery are DEBUG diagnostics. For example, a slow startup produces these status records rather than a line every half second:

INFO chalkcompute._function: Scaling group fraud: Pending ready=0 available=0
INFO chalkcompute._function: Scaling group fraud: Pending ready=0 available=0 — waiting for externally routed startup probe
INFO chalkcompute._function: Scaling group fraud: Available ready=1 available=1

Background deployment failures are ERROR records, including the Python definition location and actionable exception details. Definition-only deploy scripts still exit unsuccessfully when a background deployment fails. Remote command stdout and stderr remain available in result objects and stream events for callers to handle.

Environment variables and secrets

Deployment env mappings accept strings and Secret references together:

import chalkcompute as cc

sandbox = cc.Sandbox(
    image="ubuntu:latest",
    env={
        "GIT_AUTHOR_NAME": "Elliot Marx",
        "SUPER_SECRET_VALUE": cc.Secret.from_chalk_env("MY_CHALK_SECRET"),
    },
)

The dictionary key sets the injected environment variable name. This works across SandboxClient.create, Container, ScalingGroup, @cc.function, @cc.cls, and @cc.training.

Use Secret.from_local_env("LOCAL_VAR") for a value read at run/deploy time, or Secret.from_chalk_integration("postgres", keys=["PASSWORD"]) to select one integration secret. Bulk integrations and Secret.from_local_env_file(...) belong in secrets=[...], which can be used alongside env. Training supports Chalk secret references only; local secret resolution is not supported for training.

Image.env(...) and per-exec env mappings accept literal strings only. Set secrets on the sandbox or other deployment so its processes inherit them.

To make credentials available only to requests for specific hosts, add them to a sandbox before running it. Strings name existing Chalk secrets; use an explicit Secret for local credentials or aliases:

sandbox = (
    cc.Sandbox(image="ubuntu:latest")
    .add_credentials("api.openai.com", "OPENAI_API_KEY")
    .add_credentials(
        ["api.slack.com", "*.slack.com"],
        cc.Secret.from_local_env("SLACK_BOT_TOKEN"),
    )
)

with cc.SandboxClient.from_env() as client:
    client.run(sandbox)

The corresponding environment variables contain placeholders. The network policy substitutes them when they appear in headers on requests to the listed hosts.

Declarative images

Build custom container images in Python instead of writing Dockerfiles. The image spec is serialized as protobuf and transmitted to the sandbox service, which builds and caches the image before starting the container.

from chalkcompute import Image, SandboxClient

# Build a data-science image declaratively
img = (
    Image.debian_slim()
    .pip_install(["pandas", "numpy", "scikit-learn"])
    .apt_install(["git", "curl"])
    .workdir("/home/user/app")
    .env({"PYTHONDONTWRITEBYTECODE": "1"})
)

with SandboxClient.from_env() as client:
    sandbox = client.create(image=img)
    result = sandbox.exec("python", "-c", "import pandas; print(pandas.__version__)")
    print(result.stdout_text)
    sandbox.terminate()

Base images

# Arbitrary base image
img = Image.base("node:25-trixie-slim")

# Convenience: python + debian slim
img = Image.debian_slim()  # python:3.14-slim-trixie

# From an existing Dockerfile (contents are inlined, so you can chain more steps)
img = Image.from_dockerfile("Dockerfile").pip_install(["extra-dep"])

Build steps

img = (
    Image.debian_slim()
    # Install Python packages
    .pip_install(["requests", "flask"])

    # Install from a requirements.txt (read locally, inlined into the spec)
    .pip_install_from_requirements("requirements.txt")

    # Install Debian/Ubuntu system packages
    .apt_install(["git", "tmux"])

    # Run shell commands (each becomes a Docker RUN layer)
    .run_commands(
        "mkdir -p /app/data",
    )

    # Add local files into the image
    .add_local_file("config.yaml", "/app/config.yaml")
    .add_local_file("entrypoint.sh", "/app/entrypoint.sh", mode=0o755)
    .add_local_dir("src", "/app/src")

    # Raw Dockerfile instructions
    .dockerfile_commands(["EXPOSE 8080", "HEALTHCHECK CMD curl -f http://localhost:8080/"])

    # Image-level configuration
    .workdir("/app")
    .env({"FLASK_APP": "app:create_app"})
    .entrypoint(["/app/entrypoint.sh"])
    .cmd(["serve"])
)

Coding agent tools

with_claude_code, with_gh and with_tmux install common agent tooling on Debian or Ubuntu images. with_claude_code installs the native binary from Anthropic's apt repository, pins the version (apt installs don't auto-update), and pre-accepts Claude Code's onboarding and trust prompts for the directories you list, so interactive claude starts without a login screen:

image = (
    Image.sandbox()
    .with_claude_code(
        version="2.1.270",
        trusted_dirs=["/workspace/app"],  # the repo root, not a parent of it
        permission_mode="bypassPermissions",  # optional
    )
    .with_gh()  # from GitHub's apt repo; authenticates from GH_TOKEN
    .with_tmux()
    .workdir("/workspace/app")
)

The bypass-permissions warning is skipped by default (skip_dangerous_mode_prompt=True). Bypass mode works as root because Chalk sets IS_SANDBOX=1 in every sandbox. If you supply ANTHROPIC_API_KEY instead of CLAUDE_CODE_OAUTH_TOKEN, pass api_key_env="ANTHROPIC_API_KEY" to skip the key-approval prompt. Anything else goes in settings, which is merged into ~/.claude/settings.json. The theme defaults to "dark" (theme=), and CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 is set in the image so telemetry and update checks don't hit hosts a network policy blocks (disable_nonessential_traffic=False to keep them). See the with_claude_code docstring for how directory trust works.

To keep the token itself out of the sandbox, use add_credentials (see Environment and secrets): sandbox.add_credentials("api.anthropic.com", Secret.from_chalk_env("CLAUDE_TOKEN", alias="CLAUDE_CODE_OAUTH_TOKEN")).

Set Git identity per sandbox, not per image, with GitConfig. It is a mapping of GIT_* environment variables, so it can be unpacked into env:

sandbox = Sandbox(
    image=image,
    env={
        **GitConfig(
            name="Ada Lovelace",
            email="ada@example.com",
            config={"pull.rebase": "true"},
        ),
        "LOG_LEVEL": "debug",
    },
).run()

To push and pull over SSH, add SshDest.github to managed_ssh. It is pinned to GitHub's published host keys and reads the private key from a Chalk secret, so git@github.com:org/repo.git URLs work unchanged:

sandbox = Sandbox(
    image=image,
    compute_class=ComputeClass.HOST,
    managed_ssh=[SshDest.github("GITHUB_DEPLOY_KEY")],
).run()
sandbox.git.clone("git@github.com:org/repo.git", "/workspace/repo")

Pass port_443=True for networks that block port 22. To use more than one key, give each a distinct alias and use it in remote URLs, as in git@github-work:org/repo.git.

Immutable composition

Each builder method returns a new Image, so intermediate images can be shared:

base = Image.debian_slim().pip_install(["requests"])

# Two different images that share the same base
api_image = base.pip_install(["flask"]).workdir("/api")
worker_image = base.pip_install(["celery"]).workdir("/worker")

api_sandbox = client.create(image=api_image)
worker_sandbox = client.create(image=worker_image)

api_sandbox.terminate()
worker_sandbox.terminate()

Connecting

from chalkcompute import SandboxClient

# Insecure (local dev)
client = SandboxClient("localhost:50051")

# With TLS
client = SandboxClient("sandbox.example.com:443", use_tls=True)

# As a context manager
with SandboxClient("localhost:50051") as client:
    ...

Rotating workload identity

The SDK can use a directly usable Chalk JWT from a rotating token file instead of a client ID and secret:

export CHALK_WEB_IDENTITY_TOKEN_FILE=/var/run/secrets/chalk/identity-token
export CHALK_API_SERVER=https://api.chalk.ai

Each SDK client caches the token for the shorter of one hour or half of the token's remaining lifetime from its exp claim, then re-reads the file on its next authenticated operation. Tokens without exp use the one-hour limit. Changing the configured file path bypasses the cache. The JWT's environment_id claim selects the environment unless CHALK_ENVIRONMENT or CHALK_ENVIRONMENT_ID is set explicitly. With token-file authentication, queued function calls use the platform-provided CHALK_DATAPLANE_API_ENDPOINT. An explicit CHALK_FUNCTION_QUEUE_ENDPOINT overrides that default; an empty override disables queued calls. Client-credential and service authentication use Auth routing metadata.

Workload identity federation

Use WorkloadIdentityTokenSource to fetch short-lived OIDC tokens for an external service. The source uses ambient Chalk authentication, or accepts an initialized ConnectClient through connect_client=. It caches tokens with server-reported expiry and refreshes them when they cannot meet min_ttl.

from datetime import timedelta
from chalkcompute import WorkloadIdentityTokenSource

with WorkloadIdentityTokenSource("api.example.com") as source:
    token = source.get_token(min_ttl=timedelta(seconds=60))
    # Pass token.value to the external service or its authentication library.

For a CLI that accepts a token file, use source.token_file() to create a temporary file with 0600 permissions. Run token retrieval and the consuming command inside the same workload so the token stays there. For example, inside a sandbox started with chalk_identity=True and with chalkcompute and snowflake-cli installed:

import os
import subprocess
from datetime import timedelta
from chalkcompute import WorkloadIdentityTokenSource

with WorkloadIdentityTokenSource("snowflakecomputing.com") as source:
    with source.token_file(min_ttl=timedelta(seconds=60)) as token_path:
        subprocess.run(
            ["snow", "sql", "--temporary-connection", "-q", "select current_user()"],
            env=os.environ | {
                "SNOWFLAKE_ACCOUNT": "<account>",
                "SNOWFLAKE_USER": "<user>",
                "SNOWFLAKE_AUTHENTICATOR": "WORKLOAD_IDENTITY",
                "SNOWFLAKE_WORKLOAD_IDENTITY_PROVIDER": "OIDC",
                "SNOWFLAKE_TOKEN_FILE_PATH": str(token_path),
            },
            check=True,
        )

The file contains a snapshot of the token and is deleted on context exit, including when the command raises. min_ttl applies when the token is acquired; the file is not refreshed continuously.

The token is scoped to the active Chalk environment and the requested audience. The external service must trust Chalk's issuer and validate the token using the Chalk API server's /.well-known/jwks.json endpoint. The existing ConnectClient.get_workload_identity_token() string API remains available.

Sandbox principal and group limits

Create a root sandbox from a session authenticated as a user or service token. Grant only permissions the caller holds in the target environment. The root needs SANDBOX_MANAGE to create children.

import chalkcompute as cc

root = cc.Sandbox(
    image="python:3.13-slim",
    cpu="500m",
    memory="1Gi",
    lifetime="1800s",
    chalk_identity=cc.ChalkIdentity(
        mode="sandbox",
        permissions=[cc.Permission.SANDBOX_MANAGE, cc.Permission.SANDBOX_READ],
        oidc_audience_policy=cc.OIDCAudiencePolicy.only([]),
        user_provided_claims={"project": "batch"},
    ),
    group_limits=cc.SandboxGroupLimits(
        max_active_descendants=2,
        cpu="2",
        memory="4Gi",
        oidc_audience_policy=cc.OIDCAudiencePolicy.only([]),
    ),
).run()

With chalkcompute installed inside the root, use its ambient working credential to create a child. The server derives the group from that credential. The child can request a subset of the parent's permissions and retain a subset of its workload claims with the same values. Use wait=False because the parent's credential can submit the request but cannot poll the child. An authorized operator can monitor the returned ID.

import chalkcompute as cc

with cc.SandboxClient.from_env() as client:
    child = client.create(
        image="python:3.13-slim",
        cpu="500m",
        memory="1Gi",
        lifetime="300s",
        chalk_identity=cc.ChalkIdentity(
            mode="sandbox", permissions=[cc.Permission.SANDBOX_READ]
        ),
        wait=False,
    )
    print(child.id)

Both create entry points accept the same identity and group options. Supply group_limits only on the root. The descendant limit defaults to zero and excludes the root. CPU and memory ceilings include the root. An optional timezone-aware expires_at sets an absolute deadline for the group. Omitting permissions requests an empty grant.

The group's OIDC policy caps audience authority across its members and defaults to Any. A root with no explicit identity policy uses its declared token-file audiences when it has files and the group ceiling otherwise. A child with no explicit policy inherits its parent's effective policy. Use OIDCAudiencePolicy.only([]) to disable OIDC issuance, .only(audiences) to allow specific audiences, or .any() to request unrestricted audiences. An explicit policy must fit the applicable ceiling, so .any() requires an unrestricted ceiling.

Platform-managed token files for sandboxes

For a CLI or entrypoint that you cannot wrap, declare the token file in the sandbox's env instead. The platform writes the first token before your code starts, sets the variable to the file's path, and replaces the file with a fresh token before the old one expires for the life of the sandbox:

import chalkcompute as cc

sandbox = cc.Sandbox(
    image=cc.Image.sandbox().pip_install(["snowflake-cli"]),
    chalk_identity=cc.ChalkIdentity(mode="sandbox"),
    env={
        "SNOWFLAKE_AUTHENTICATOR": "WORKLOAD_IDENTITY",
        "SNOWFLAKE_WORKLOAD_IDENTITY_PROVIDER": "OIDC",
        "SNOWFLAKE_TOKEN_FILE_PATH": cc.OIDCTokenFile(audience="snowflakecomputing.com"),
    },
).run()

sandbox.exec("snow", "sql", "-x", "--account", "<account>", "--user", "<user>",
             "-q", "select current_user()")

OIDCTokenFile is an immutable descriptor; it holds no token and starts no background work. A consumer must reopen the file to pick up a rotated token, so a credential that a process has already read and cached is not refreshed.

OIDCTokenFile requires ChalkIdentity(mode="sandbox"), which issues credentials that identify the sandbox (sub is v1:env:<environment>:sandbox:<sandbox_id>) instead of the user who created it. With the default creator identity (chalk_identity=True), every workload a developer launches is indistinguishable from that developer to the external service. The sandbox's effective OIDC audience policy governs which audiences it can mint tokens for, including tokens delivered as files. This is supported for sandboxes only. Functions, classes, containers and scaling groups reject ChalkIdentity(mode="sandbox"), and OIDCTokenFile is rejected in image and per-exec env.

A sandbox can declare at most 8 token files, must run on host compute (the default; compute_class=cc.ComputeClass.K8S is rejected), and cannot set a token file's variable through env or secrets as well.

Chalk SQL

Run SQL against your Chalk environment without installing ChalkPy or defining features locally. Authentication uses the same environment variables, ~/.chalk.yml, or Compute workload identity as the rest of this SDK.

from chalkcompute import SQLClient

with SQLClient() as sql:
    result = sql.query("SELECT 1 AS value")
    print(result.query_id)
    table = result.to_arrow()
    print(sql.explain("SELECT 1 AS value"))

    job = sql.submit("SELECT * FROM chalk.datasets.support_examples",
                     resource_group="batch")
    print(job.query_id)  # Save this ID to resume with sql.get_job(id).
    result = job.wait(timeout=600)
    paths = result.download("./sql-results")

query waits for synchronous execution. Use persist=True to store results remotely and download them later; the default returns inline Parquet, subject to the RPC response-size limit. submit runs in the background and persists its output. Neither operation registers a named dataset.

job.refresh() updates job.status; job.wait() returns a SQLResult or raises SQLError. A waiting timeout raises TimeoutError and leaves the remote job running. The polling service groups queued and running work into one state and reports canceled jobs as failures. SQL execution is not transparently retried after a transport failure because the query may already have run.

download(directory) streams every Parquet shard to disk, refreshes older signed URLs, and refuses to overwrite existing files. Keep the client open while using its jobs and results. Use a fresh directory when retrying a partially completed multi-file download.

Downloading needs no dataframe library. Install chalkcompute[sql] for to_arrow(), and additionally install pandas for to_pandas(). Both conversions load the full result into memory. These extras do not require ChalkPy.

Function configuration

Start with @cc.function and add only options your workload needs, such as an image with its dependencies or chalk_identity=True for calls to Chalk services. These defaults also apply to @cc.cls:

Option Default When to override
name Python function or class name An intentional external naming contract
min_replicas 1 A deliberate scaling policy, such as scaling to zero
max_replicas 1 Capacity requirements established for this workload
concurrency None (no explicit policy) A known limit on in-flight calls

Omit these keywords in ordinary functions, tasks, and scorers. An evaluation with many rows does not require custom replica counts or a concurrency policy. concurrency limits in-flight calls; setting it does not enable parallelism. For any tuning override, document the requirement that motivates it. Avoid copying values from an unrelated example or explicitly repeating defaults.

Function names

Omit name= when defining functions. The registered name defaults to the Python function's name, including underscores:

import chalkcompute as cc

@cc.function
def add_numbers(a: int, b: int) -> int:
    return a + b

Other scripts can attach with cc.RemoteFunction.from_name("add_numbers"). Cross-process lookup and repeated deployment already work with the default name. The @cc.cls decorator likewise defaults to the Python class's name.

Use name= only when you intentionally need a different registered name, such as preserving an existing deployment's name after renaming the Python function. Changing or removing an existing override changes which function you deploy; it does not rename the existing deployment. Function names containing underscores and hyphens are distinct, but can collide when converted to scaling-group names.

Evaluations

Create a reusable evaluation by pinning a completed dataset revision to a deployed task function and one or more deployed scorer functions. A dataset name resolves to its latest revision when the evaluation is created, and the resolved revision is then pinned. Function parameters bind to dataset columns by name; scorers may additionally declare output and trace parameters.

import chalkcompute as cc

dataset = cc.DatasetClient().upload(
    "support_goldens",
    "support_goldens.csv",
)

suite = cc.EvaluationSuite.create("Release")

@cc.function
def answer(input: str) -> str:
    return call_support_model(input)

@cc.function
def response_quality(input: str, output: str) -> cc.EvaluationScorerResult:
    score, details = score_response(input=input, output=output)
    return cc.EvaluationScorerResult(
        score=score,
        metadata={"details": details},
    )

evaluation = cc.Evaluation.create(
    "Customer Support Chatbot",
    dataset=dataset,
    task=answer,
    scorers=[response_quality],
    suite_id=suite.id,
)

run = evaluation.run(metadata={"git_sha": "abc123"}).wait()
print(run.status, run.result_dataset)

By default the server finishes a run's SQL job and computes its score summary when the run is read. Pass execution_mode="workflow" (or cc.EvaluationRunExecutionMode.WORKFLOW) to have a workflow on the environment's workflow orchestrator drive the run instead; the environment must have a workflow orchestrator. run.execution_mode reports the mode a run uses.

DatasetClient.upload accepts CSV or Parquet paths, multiple same-schema files, PyArrow tables and record batches, column/row mappings, and dataframes convertible to Arrow. It uploads ordinary tabular data and does not require ChalkPy feature definitions. Uploading to an existing name creates a new dataset revision.

@cc.function starts deployment in the background, allowing consecutive definitions to build concurrently. Evaluation.create waits on those handles before reading their immutable function version IDs. Existing functions can instead be attached by reference:

evaluation = cc.Evaluation.create(
    "Customer Support Chatbot",
    dataset=dataset,
    task=cc.RemoteFunction.from_name("answer"),
    scorers=[cc.RemoteFunction.from_version_id("fn_brand_alignment_v2")],
)

RemoteFunction.from_name resolves the currently selected version at lookup time; evaluation creation then pins that version. from_id remains a compatibility alias for from_version_id. An imperative RemoteFunction must be explicitly deployed before it can be used in an evaluation.

Reading span metrics

Scorers can accept trace: cc.Trace and read typed usage values from each span:

@cc.function
def task_token_count(trace: cc.Trace) -> int:
    return sum(span.total_tokens or 0 for span in trace.get_spans())

Span exposes input_tokens, output_tokens, total_tokens, cache_read_tokens, cache_write_tokens, reasoning_tokens, cost (USD), model, and provider. These read Chalk's normalized attributes, OpenInference attributes, and GenAI attributes. Numeric helpers skip invalid values and return None when unavailable; recorded zeroes stay zero. An explicit total takes precedence; otherwise total_tokens adds input and output only when both are known. Cache and reasoning breakdowns are not added again. Values describe one span; when summing a trace, select the spans of interest if your instrumentation also emits parent rollups. The example explicitly treats missing usage as zero.

These helpers make no additional requests and do not infer pricing. span.attributes, span.attribute_int(key), and span.attribute_float(key) remain available for other telemetry fields.

Built-in scorers

cc.scorers deploys common scorers without a function body. Each one takes an inputs pair naming the candidate column and the column it is compared against, scores between 0 and 1, and records the raw quantity as row metadata.

match = cc.scorers.exact_match(case_insensitive=True)

evaluation = cc.Evaluation.create(
    "Capitals",
    dataset=dataset,
    task=answer,
    scorers=[match],
)
  • exact_match — the two columns hold the same text, after optional trimming, whitespace collapsing, and case folding.
  • levenshtein — edit distance, normalized to 1 - distance / len(longer).
  • regex_match — a pattern appears in (or covers) one column, with the match and its named groups kept as metadata.
  • contains — expected substrings, one or a JSON array, scored as all, any, or the fraction present.
  • numeric_close — two columns as numbers, within an absolute or relative tolerance, or graded by how far apart they are.
  • string_similarity — jaro_winkler, jaccard, token_set, token_sort, partial, or sequence, matching the chalk.functions of those names.
  • json_valid — one column parses as JSON.
  • json_match — two columns hold the same JSON, or agree on the dotted paths you name.
  • embedding_similarity — cosine similarity of the two columns' embeddings, for an answer that is right but worded differently.

LLM judges

cc.scorers.llm_judge deploys a scorer from a standard-library dataclass or a Pydantic model (v1 or v2) instead of a function body. The model's score field becomes the score; every other field is recorded as row metadata. The reply is requested through the OpenAI client with structured outputs and validated against the model, so a malformed grade fails the row.

from dataclasses import dataclass, field

@dataclass
class TraceQuality:
    score: float = field(metadata={"description": "Overall quality, from 0 to 1."})
    directness: int = field(metadata={"description": "Shortest reasonable path to the goal, from 0 to 2."})
    task_correctness: int = field(metadata={"description": "Was the task actually completed, from 0 to 2?"})
    reason: str

trace_quality = cc.scorers.llm_judge(
    TraceQuality,
    model="gpt-5",
    instructions="You are grading a browser agent's login attempt.",
)

Dataclass judges can be declared without Pydantic installed. Their annotations validate JSON primitives, nested dataclasses, lists, string-keyed dictionaries, unions (including optional fields), literals, and enums. Descriptions come from field(metadata={"description": "..."}); use __post_init__ for additional validation such as score ranges. Pydantic models retain their own validation and field aliases. The deployed judge installs its OpenAI client dependencies.

The scorer deploys as trace-quality, the model's name in kebab case; pass name= to choose another. inputs names the dataset columns the judge reads (default ("output",)); prompt_fn replaces the default prompt; parse_fn replaces structured outputs for an endpoint without them. completion_kwargs (for example {"temperature": 0, "max_tokens": 400}) go on every request as given.

The judge above names no provider key: with neither api_key nor base_url it calls Chalk's AI router as the environment itself, and the router holds the provider credentials. To call a provider directly instead, pass api_key=cc.Secret.from_chalk_env("OPENAI_API_KEY"), and base_url for any other OpenAI-compatible endpoint. Every function deployed from the same module imports that module, so if it imports Pydantic, give sibling functions an image with pydantic as well. A judge is generated at import time, so it cannot be deployed in strip mode.

cc.scorers.jev is a judge that escalates when unsure, the cascade from JEV-as-a-Judge. The cheap model picks a label and gives a probability for every label; a row whose probability on its choice is below threshold is graded again by fallback_model, whose grade stands.

judge = cc.scorers.jev(
    labels={"Y": 1.0, "N": 0.0},
    rubric="Y. The answer meets the criteria.\nN. It does not.",
    model="gpt-4o-mini",
    fallback_model="gpt-4o",
    threshold=0.9,
    inputs=("input", "output", "criteria"),
)

Metadata records confidence, escalated, judge_model, and primary_confidence, so a run shows its own escalation rate. Self-reported confidence is not calibrated on every task, so choose threshold on a small labeled sample. jev reaches models the same way llm_judge does.

cc.scorers.vlm_judge is llm_judge shown pictures. images names the columns the model sees as images (default ("output",), the task's result) and inputs the columns it reads as text. An image column holds a URL (https:// or data:), which is sent as given; a path readable in the scorer's container; or the image bytes themselves. PNG, JPEG, GIF, and WebP bytes are inlined as data URLs, and a JSON array shows several pictures. detail asks the provider for low, high, or auto image fidelity.

@dataclass
class ChartQuality:
    score: float = field(metadata={"description": "Does the chart show what was asked, from 0 to 1."})
    reason: str

chart_quality = cc.scorers.vlm_judge(
    ChartQuality,
    model="gpt-4.1",
    inputs=("input",),
    images=("output",),
)

The judge reaches models the way llm_judge does, so the model must accept images on the route it is called through. Through Chalk's AI router that is any OpenAI-compatible connection; an Anthropic connection rejects image parts sent as chat completions, and Bedrock accepts only data URLs.

Experiments

An experiment trains a model on an evaluation's task and judges the result with the same evaluation. It pins a baseline run when it starts, registers the trained model, and scores it with one final run, so the comparison is like for like. The evaluation is referenced, not owned, and can judge later experiments.

import chalkcompute as cc

experiment = cc.Experiment.start(
    evaluation,  # a cc.Evaluation, or its id
    base_model="Qwen/Qwen3-4B-Instruct-2507",
    gpu="nvidia-l40s:1",
    steps=4,
    samples_per_row=8,
    register_as="support-answer-qwen",
).wait()

experiment.baseline_run      # pinned at start
experiment.training_run      # the training run behind the model
experiment.final_run         # the trained model on the same dataset
experiment.model_version_id  # registered under register_as
print(experiment.result.table())  # scorer | baseline | trained | change

The reward is each scorer's score times its weight, summed; reward_weights defaults to every scorer of the evaluation at 1.0. The task has to call the model named by the run's agent_model metadata for training to change what it answers with.

The environment needs the experiments_enabled feature flag. Without it the server runs a post-training, which trains and registers a model but has no baseline or final run, and wait() raises for one.

To train your own way, pass a training function as train=. The experiment runs it as its one training run, with the image, resources and data the function declares, between the pinned baseline and the final run. How the function samples, what it rewards and how many steps it takes are up to it.

@cc.training(dataset="support-triage", gpu="nvidia-l40s:1")
def train_support_policy(df, config):
    experiment = config["experiment"]  # ids, base_model, where to leave the model
    ...

experiment = cc.Experiment.start(
    evaluation,
    base_model="Qwen/Qwen3-4B-Instruct-2507",
    train=train_support_policy,
    config={"lr": 2e-5, "epochs": 3},
    register_as="support-answer-qwen",
).wait()

config["experiment"] names the experiment, the evaluation, the base model and the baseline run. For the final run to reach the trained model, the function today has to save a LoRA adapter of base_model at adapter_dir/adapter_out, record it as a checkpoint, and load it into policy_server_url under the name adapter_out; all four are in config["experiment"]. gpu, steps and the other settings of the server's own trainer are refused alongside train=.

cc.Experiment.from_id and cc.Experiment.list_all(evaluation=...) attach to existing experiments; the list holds at most the 100 most recent. experiment.cancel() stops one, and experiment.retry() resumes a failed or canceled one at its latest training step, reusing the rollouts already scored.

Deployment revisions and rollback

Scaling groups and functions have stable parent IDs with immutable deployment revisions beneath them. Scaling groups append a revision on each deploy(). Functions and class methods reuse an existing version when the source, image recipe, configuration, and managed secret revisions are unchanged—even across separate runs of your script. The unchanged path makes one ensure request without building an image or uploading source files. Only missing source content is uploaded on a change; unchanged images and source snapshots are shared within the environment.

Use deploy(force_new_version=True) to create a fresh function version while still reusing image/source preparation. External secret providers and integration secrets conservatively disable function-version reuse because their values can rotate outside Chalk. Referenced data volumes retain their existing semantics. This requires a server with EnsureExternalFunction support.

group = cc.ScalingGroup(name="api", image="registry.example/api:v1").deploy()
group.deploy()  # updates the same group and creates another revision
for revision in group.revisions():
    print(revision.id, revision.status, revision.is_current)
group.rollback("sgr_previous")

@cc.function
def rank(query: str) -> str:
    return query

rank.deploy()
rank.deploy()  # reuses the unchanged version
rank.deploy(force_new_version=True)  # explicitly creates a new version
for version in rank.versions():
    print(version.id, version.created_at, version.is_current)
rank.rollback("efv_previous")

Use ScalingGroup.from_id(...) or RemoteFunction.from_function_id(...) to attach to a stable parent. RemoteFunction.from_version_id(...) attaches through an immutable version and still exposes its parent lifecycle. refresh() follows the parent's currently selected revision, and delete() deletes the stable parent and all of its revisions.

Scorers may return a numeric scalar, one EvaluationScorerResult, or a list[EvaluationScorerResult]. Returning a list lets one scorer emit multiple scores from shared computation; an empty list emits no scores for that row. Each result carries a normalized score and optional row-level JSON-serializable metadata. The return annotation declares the Arrow schema, and the class-level Arrow hooks handle nested serialization, so the generic function runtime does not need scorer-specific behavior.

Sandbox lifecycle

Creating sandboxes

Use client.create(...) to construct and immediately run a sandbox:

sandbox = client.create(
    image="ubuntu:latest",
    cpu="2",
    memory="4Gi",
    env={"DEBIAN_FRONTEND": "noninteractive"},
    chalk_identity=True,
)

To configure a sandbox before running it, save it to a variable and pass it to client.run(...) when it is ready:

sandbox = Sandbox(image="ubuntu:latest", cpu="2", memory="4Gi")
if use_shared_cache:
    sandbox.mount_volume("build-cache", "/cache")

client.run(sandbox)

Sandboxes default to a platform-managed Chalk identity representing the creating user or service token. Inside deployed functions and classes, indicated by a nonempty CHALK_REMOTE_FUNCTION, identity defaults to disabled. Set chalk_identity=True or chalk_identity=False to override the default. With identity enabled, the sandbox receives CHALK_WEB_IDENTITY_TOKEN_FILE and the Chalk API/environment settings it needs to authenticate without caller credentials being copied into the workload.

Managing sandboxes

# List all sandboxes
for info in client.list():
    print(f"{info.id} {info.status} {info.name}")

# Get a handle to an existing sandbox by ID
existing_sandbox = client.get(id="550e8400-e29b-41d4-a716-446655440000")

# Fetch info from server
info = existing_sandbox.refresh()  # force re-fetch
print(info.status)

# Terminate, optionally with a grace period
sandbox.terminate()
existing_sandbox.terminate(grace_period_seconds=30)

Executing commands

Run and wait

result = sandbox.exec("ls", "-la", "/tmp")
for line in result.stdout:
    print(line)
for line in result.stderr:
    print(f"ERR: {line}")
print(f"exit code: {result.exit_code}")

# Or get the full text at once
print(result.stdout_text)
print(result.stderr_text)

Stream output in real time

for event in sandbox.exec_stream("make", "build", workdir="/app"):
    if event.stdout:
        print(event.stdout, end="")
    if event.stderr:
        print(event.stderr, end="", file=sys.stderr)
    if event.is_exited:
        print(f"\nDone: exit code {event.exit_code}")

Interactive processes (stdin + signals)

process = sandbox.exec_start("bash")

process.write_stdin("echo hello\n")
process.write_stdin("exit\n")
process.close_stdin()

for event in process.output():
    if event.stdout:
        print(event.stdout, end="")

Send signals to running processes:

import signal

process = sandbox.exec_start("sleep", "300")
process.send_signal(signal.SIGTERM)
result = process.wait()

Options

All exec methods accept the same keyword arguments:

result = sandbox.exec(
    "python", "train.py",
    workdir="/app",                     # working directory
    timeout_secs=3600,                  # kill after 1 hour
    env={"CUDA_VISIBLE_DEVICES": "0"},  # environment variables
)

Examples

Git inside a sandbox

Omitting image uses Image.sandbox(): Python 3.14 on Debian slim with Git, CA certificates and OpenSSH, working in /workspace. The image builds lazily through the normal image builder. Both Sandbox().run() and client.create() use this default. Explicit images retain their existing behavior; custom images need git for Git helpers.

from chalkcompute import SandboxClient

with SandboxClient.from_env() as client:
    sandbox = client.create()
    try:
        # Uses the remote's default branch with depth=1.
        sandbox.git.clone("https://github.com/octocat/Hello-World.git", "repo")
        print(sandbox.git.status("repo").current_branch)
        print(sandbox.git.branches("repo"))
    finally:
        sandbox.terminate()

Git helpers also support init, branches, create_branch, checkout_branch, delete_branch, fetch, pull, push, reset, restore, remote_add, remote_get, remotes, get_config, set_config, and configure_user. Pass branch, commit_id, or depth to clone to select a branch, detached commit, or history depth (1 by default; None for full history). Pulls fast-forward only; branch deletion requires force=True for unmerged work. Config changes apply only to that repository. HTTPS credentials can be supplied as username and password to clone/fetch/ pull/push; they are scoped to the command without changing the remote URL or saving credentials. SSH remotes use the sandbox's existing SSH configuration. Git failures raise GitError.

Git paths identify the repository root relative to the image working directory. Helpers accept timeout_secs; multi-command operations apply it to each command. See the sandbox Git guide for workflows and a method reference. See the sandbox capability guide for defaults.

Files inside a sandbox

sandbox.fs transfers and manages files. add_file can be called before run(); queued files are uploaded once the sandbox is ready.

from chalkcompute import Sandbox

sandbox = Sandbox()
sandbox.fs.add_file("requirements.txt", "/workspace/requirements.txt")
sandbox.fs.add_file(b"#!/bin/sh\necho ready\n", "/workspace/run.sh", mode=0o755)
sandbox.run()
try:
    for info in sandbox.fs.list_files("/workspace"):
        print(info.name, info.size, oct(info.mode))
    print(sandbox.fs.find_files("/workspace", "TODO"))
finally:
    sandbox.terminate()

See the sandbox filesystem guide for every method.

Add tmux to a sandbox image

Use apt_install like pip_install to add system packages to a Debian/Ubuntu image. It requires a root build user and installs at build time, so each sandbox starts with the tools ready to use. The builder returns a new image and supports version pins such as "package=version".

from chalkcompute import Image, SandboxClient

image = Image.sandbox().apt_install(["tmux"])
with SandboxClient.from_env() as client:
    sandbox = client.create(image=image)
    try:
        # Start a detached shell; it survives this exec call completing.
        sandbox.exec("tmux", "new-session", "-d", "-s", "work")
        sandbox.exec("tmux", "send-keys", "-t", "work", "echo hello", "Enter")
        print(sandbox.exec("tmux", "list-sessions").stdout_text)
        print(sandbox.exec("tmux", "capture-pane", "-p", "-t", "work").stdout_text)
        sandbox.exec("tmux", "kill-session", "-t", "work")
    finally:
        sandbox.terminate()

tmux sessions live inside the sandbox and end when it terminates. These commands use detached sessions through ordinary exec; interactive tmux attach requires a terminal with PTY support. For images using another package manager, install tmux with run_commands (for example, apk add --no-cache tmux on Alpine).

Spawn an OpenCode agent in a sandbox

OpenCode is a terminal-based AI coding agent. You can run it inside a sandbox to give it an isolated environment to work in.

from chalkcompute import SandboxClient

client = SandboxClient.from_env()
sandbox = client.create(
    image="ubuntu:latest",
    cpu="2",
    memory="4Gi",
    env={
        "ANTHROPIC_API_KEY": "sk-ant-...",
    },
)

# Install dependencies
sandbox.exec("apt-get", "update")
sandbox.exec("apt-get", "install", "-y", "git", "curl", "build-essential")

# Install Go (opencode is a Go binary)
sandbox.exec("bash", "-c", "curl -fsSL https://go.dev/dl/go1.26.3.linux-amd64.tar.gz | tar -C /usr/local -xz")
sandbox.exec("bash", "-c", "echo 'export PATH=$PATH:/usr/local/go/bin:/root/go/bin' >> /root/.bashrc")

# Install opencode
sandbox.exec("bash", "-c", "export PATH=$PATH:/usr/local/go/bin:/root/go/bin && go install github.com/opencode-ai/opencode@latest")

# Clone a repo to work on
sandbox.exec("git", "clone", "https://github.com/your-org/your-repo.git", "/workspace/repo")

# Run opencode non-interactively with a prompt
result = sandbox.exec(
    "bash", "-c",
    "export PATH=$PATH:/usr/local/go/bin:/root/go/bin && cd /workspace/repo && opencode -p 'fix the failing tests in pkg/auth'",
    timeout_secs=600,
)
print(result.stdout_text)

# Or run it interactively and feed it commands
process = sandbox.exec_start(
    "bash", "-c",
    "export PATH=$PATH:/usr/local/go/bin:/root/go/bin && cd /workspace/repo && opencode",
)

# Stream its output
for event in process.output():
    if event.stdout:
        print(event.stdout, end="")
    if event.stderr:
        print(event.stderr, end="", file=sys.stderr)
    if event.is_exited:
        break

sandbox.terminate()
client.close()

Long-running build with real-time output

from chalkcompute import SandboxClient

client = SandboxClient.from_env()
sandbox = client.create(image="node:25-trixie-slim")

sandbox.exec("git", "clone", "https://github.com/your-org/frontend.git", "/app")
sandbox.exec("npm", "install", workdir="/app")

# Stream the build output as it happens
for event in sandbox.exec_stream("npm", "run", "build", workdir="/app"):
    if event.stdout:
        print(event.stdout, end="")
    if event.stderr:
        print(event.stderr, end="", file=sys.stderr)
    if event.is_exited and event.exit_code != 0:
        print(f"Build failed with exit code {event.exit_code}")

sandbox.terminate()
client.close()

Functions defined in notebooks

When @chalkcompute.function() runs in an IPython/Jupyter notebook (including Chalk notebooks), the SDK captures the function and its transitive source dependencies from executed cells through its definition. It uses the same Rust dependency analyzer as Chalk's notebook graph and run planner. Imports used only inside a helper or function body are included too.

The snapshot is captured before background deployment starts. Rerun the defining cell after changing an upstream import, helper, or constant to deploy the updated code. The worker does not depend on the notebook kernel staying alive.

Only required top-level imports, definitions, and assignments are included; unrelated plotting, display, and invocation statements are omitted. Required initialization expressions execute again when the worker imports the module. Pass computed notebook results as arguments or use explicit datasets/volumes when rerunning their initialization is inappropriate. Kernel-injected state, missing source, and dependencies produced by top-level control flow produce a build error with instructions for making the function portable. Mutations of existing objects and dynamic exec/wildcard imports cannot be inferred reliably from the source graph; move that setup into an explicit function or module.

Packages still belong in the function's image=Image...pip_install(...) settings; copying an import does not install its package. Functions imported from ordinary Python files continue to use file/package deployment.

Return sandbox handles from functions

A provisioning function can return a Sandbox directly. Create the sandbox and finish its setup before returning; do not terminate it in a context manager.

import chalkcompute as cc

@cc.function
def provision_agent() -> cc.Sandbox:
    sandbox = cc.Sandbox(
        image="node:22-bookworm",
        compute_class=cc.ComputeClass.HOST,
        lifetime="3600s",
        entrypoint=["sleep", "infinity"],
        # secrets=[cc.Secret("ANTHROPIC_API_KEY")],
    ).run()
    sandbox.exec("mkdir", "-p", "/workspace")
    return sandbox

# After deployment, the annotated function restores a Sandbox handle.
sandbox = provision_agent.remote()
print(sandbox.exec("pwd").stdout_text)
sandbox.terminate()

The function's identity needs sandbox creation permissions. The caller needs sandbox access in its own Chalk environment. Arrow transports one nonnullable struct field, sandbox_id: large_utf8, using the existing custom-object contract (__chalk_arrow_type__, __chalk_serialize__, __chalk_deserialize__). It never includes the creator's credentials, environment variables, secret references, client connection, or sandbox specification. Decoding performs no network I/O; the first operation authenticates using the receiving process's identity. A handle does not extend the server-enforced lifetime or recreate an expired sandbox. Unstarted sandboxes cannot be serialized. Optional and list annotations work, including empty lists.

Herdr's Chalk plugin can consume the same Arrow result through chalk function call --output-file. It checks access and finite lifetime through the Chalk CLI and discovers existing PTY sessions using the run marker. Working directory and cleanup policy belong in Herdr's provisionFunction configuration; they are not part of a general-purpose Sandbox handle.

Background deployment errors

If a script only defines decorated functions, failed background deployments are reported at exit with a nonzero status. Known API and function deployment errors show the function's source location and error messages without SDK or transport stack frames. RPC failures include the status code (such as ALREADY_EXISTS) in the failure heading. Server-provided recovery instructions, including CLI commands and dashboard links, are preserved in the output. Source locations include numbered lines of surrounding code, with > marking the relevant line. Unexpected exceptions always include their full traceback, with the same source context for each frame. Interactive terminals show colored locations, failing lines, expression markers, and exception types. Redirected output, notebooks, CI, TERM=dumb, and NO_COLOR keep tracebacks plain. Exception causes, notes, and groups are preserved. cc.configure_logging() also uses this rendering for logged exceptions. Rendering uses the Python standard library and never displays local variable values or installs a global exception hook.

Missing parameter or return annotations raise cc.FunctionSignatureError (also a TypeError). Background deployments show just the function's source context and a fix hint for these validation errors, without worker or SDK frames.

Remote execution errors

Remote handler failures raise chalkcompute.RemoteExecutionError, a subclass of FunctionError. Its exception_type, message, and remote_traceback describe the original Python exception. internal_traceback retains runtime diagnostics; call_id and trace_id are available when supplied by the call path.

IPython and Chalk notebooks show the local call site followed by the remote traceback, preserving exception chains. Notebook source locations refer to the snapshot deployed with the function, so editing a cell cannot change the source shown for an earlier deployment. Plain Python also gets a readable multiline error. User execution failures are not automatically retried.

This presentation requires a function deployed with remote-call runtime 1.9.2 or later. Upgrade the SDK in the calling environment before redeploying: function images pin the caller's installed runtime version. Existing deployments keep their existing error format until redeployed.

The SDK honors OTEL_EXPORTER_OTLP_TRACES_PROTOCOL and OTEL_EXPORTER_OTLP_PROTOCOL (grpc or http/protobuf). SDK-owned trace export failures produce one warning per outage; exporter retry diagnostics remain available at debug level.

Catalog discovery of typed functions

The Sandbox Arrow field carries metadata["chalk.python.type"] = "chalkcompute.Sandbox", derived from its __chalk_type_id__ declaration. A catalog client can identify the return type without importing Python or treating an arbitrary lookalike struct as a Sandbox. Check the actual struct shape, nonnullable output, and chalk.function.is_generator metadata as well when a workflow needs exactly one Sandbox.

Function registration also publishes the docstring in output-schema metadata chalk.function.description and JSON-serializable parameter defaults in each input field's chalk.default metadata. Defaults that cannot be encoded as JSON are omitted. These values are catalog-visible; keep secrets in Chalk-managed secret references rather than function defaults. Clients can show descriptions, collect required arguments, and reconstruct declared defaults without invoking the function. Record and invoke the same immutable version selected by the user.

Function retries

Configure a default with @cc.function(retries=3), or scope an override to one handle without changing its deployment:

handle = fetch_status.with_options(retries=2).defer("https://example.com")
result = handle.get()
result = fetch_status.with_options(
    retries=cc.RetryPolicy.exponential(attempts=3, initial=0.5, max_wait=10)
).remote("https://example.com")

Counts exclude the first execution: retries=2 allows three attempts. Zero disables invocation retries; with_options(retries=None) inherits the deployed default, which is zero when no policy is configured. Method handles support the same API. A handler argument named retries remains an ordinary input.

Regular .remote() calls retry in the native client, including calls awaited from an async Python program. The retry budget, backoff sleeps, and executions share the call timeout. Exponential policies multiply the delay up to max_wait; linear policies use a constant delay. Jitter uniformly samples between zero and that delay. Generator .remote() calls use the queue, like .defer().

Queued calls on Redis Stream queues retry on the server under the same call ID, even if the submitting client exits. Legacy Redis List queues ignore the retry policy. Queue overrides currently apply only the retry count; delay and jitter remain controlled by the queue's fixed reclaim interval.

Terminal call failures are raised by get(), stream(), and gather() without submitting another invocation, even if the handler never started. When the polling connection drops, they refresh the client and re-poll the same call ID and cursor until the timeout passes, or for up to 60 seconds of continuous unavailability without one. Re-polls use jittered exponential backoff capped at 5 seconds, so handles collected together do not retry in lockstep. The timeout also bounds each poll, so a hung poll cannot outlast it.

Retry-enabled generators buffer output to avoid repeating already emitted values. Retry filters (retry_on) and shared retry buckets (key) are not supported and raise an error instead of being ignored.

Retries can execute side effects more than once. Make retried handlers idempotent. Retryable execution and transport failures share the configured invocation retry budget. Connection setup and result polling do not create additional invocation budgets.

Refresh sandbox credentials

After updating a secret used by a sandbox proxy rule, refresh its credentials:

sandbox.refresh_credentials(timeout=60)

This call polls until Envoy activates the refreshed credentials. Rejected or superseded updates raise SandboxError; exceeding the timeout raises TimeoutError without cancelling the refresh. Already-open connections may continue using the previous credentials. Secret references and proxy rules stay unchanged.

Exec stream errors

Sandbox.exec() and exec_stream() read the final RPC status before completing. On RPC failure, ExecStreamError.code identifies the error and .result retains the known exit status and, for exec(), collected output. DATA_LOSS is not retried. After a terminal event, the SDK allows 30 seconds for the final status, then cancels the response and raises DEADLINE_EXCEEDED. Running commands are unaffected.

Metadata

Release files for chalkcompute 2.14.4

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 chalkcompute 2.14.4
File Actions
chalkcompute-2.14.4-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for chalkcompute-2.14.4-cp314-cp314-win_amd64.whl
chalkcompute-2.14.4-cp314-cp314-musllinux_1_2_x86_64.whl CPython 3.14 CPython 3.14 Linux musl 1.2+ x86-64 Details for chalkcompute-2.14.4-cp314-cp314-musllinux_1_2_x86_64.whl
chalkcompute-2.14.4-cp314-cp314-musllinux_1_2_aarch64.whl CPython 3.14 CPython 3.14 Linux musl 1.2+ ARM64 Details for chalkcompute-2.14.4-cp314-cp314-musllinux_1_2_aarch64.whl
chalkcompute-2.14.4-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details for chalkcompute-2.14.4-cp314-cp314-manylinux_2_28_x86_64.whl
chalkcompute-2.14.4-cp314-cp314-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ ARM64 Details for chalkcompute-2.14.4-cp314-cp314-manylinux_2_28_aarch64.whl
chalkcompute-2.14.4-cp314-cp314-macosx_11_0_x86_64.whl CPython 3.14 CPython 3.14 macOS 11.0+ x86-64 Details for chalkcompute-2.14.4-cp314-cp314-macosx_11_0_x86_64.whl
chalkcompute-2.14.4-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for chalkcompute-2.14.4-cp314-cp314-macosx_11_0_arm64.whl
chalkcompute-2.14.4-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for chalkcompute-2.14.4-cp313-cp313-win_amd64.whl
chalkcompute-2.14.4-cp313-cp313-musllinux_1_2_x86_64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ x86-64 Details for chalkcompute-2.14.4-cp313-cp313-musllinux_1_2_x86_64.whl
chalkcompute-2.14.4-cp313-cp313-musllinux_1_2_aarch64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ ARM64 Details for chalkcompute-2.14.4-cp313-cp313-musllinux_1_2_aarch64.whl
chalkcompute-2.14.4-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details for chalkcompute-2.14.4-cp313-cp313-manylinux_2_28_x86_64.whl
chalkcompute-2.14.4-cp313-cp313-manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ ARM64 Details for chalkcompute-2.14.4-cp313-cp313-manylinux_2_28_aarch64.whl
chalkcompute-2.14.4-cp313-cp313-macosx_11_0_x86_64.whl CPython 3.13 CPython 3.13 macOS 11.0+ x86-64 Details for chalkcompute-2.14.4-cp313-cp313-macosx_11_0_x86_64.whl
chalkcompute-2.14.4-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for chalkcompute-2.14.4-cp313-cp313-macosx_11_0_arm64.whl
chalkcompute-2.14.4-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for chalkcompute-2.14.4-cp312-cp312-win_amd64.whl
chalkcompute-2.14.4-cp312-cp312-musllinux_1_2_x86_64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ x86-64 Details for chalkcompute-2.14.4-cp312-cp312-musllinux_1_2_x86_64.whl
chalkcompute-2.14.4-cp312-cp312-musllinux_1_2_aarch64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ ARM64 Details for chalkcompute-2.14.4-cp312-cp312-musllinux_1_2_aarch64.whl
chalkcompute-2.14.4-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details for chalkcompute-2.14.4-cp312-cp312-manylinux_2_28_x86_64.whl
chalkcompute-2.14.4-cp312-cp312-manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64 Details for chalkcompute-2.14.4-cp312-cp312-manylinux_2_28_aarch64.whl
chalkcompute-2.14.4-cp312-cp312-macosx_11_0_x86_64.whl CPython 3.12 CPython 3.12 macOS 11.0+ x86-64 Details for chalkcompute-2.14.4-cp312-cp312-macosx_11_0_x86_64.whl
chalkcompute-2.14.4-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for chalkcompute-2.14.4-cp312-cp312-macosx_11_0_arm64.whl
chalkcompute-2.14.4-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for chalkcompute-2.14.4-cp311-cp311-win_amd64.whl
chalkcompute-2.14.4-cp311-cp311-musllinux_1_2_x86_64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ x86-64 Details for chalkcompute-2.14.4-cp311-cp311-musllinux_1_2_x86_64.whl
chalkcompute-2.14.4-cp311-cp311-musllinux_1_2_aarch64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ ARM64 Details for chalkcompute-2.14.4-cp311-cp311-musllinux_1_2_aarch64.whl
chalkcompute-2.14.4-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details for chalkcompute-2.14.4-cp311-cp311-manylinux_2_28_x86_64.whl
chalkcompute-2.14.4-cp311-cp311-manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ ARM64 Details for chalkcompute-2.14.4-cp311-cp311-manylinux_2_28_aarch64.whl
chalkcompute-2.14.4-cp311-cp311-macosx_11_0_x86_64.whl CPython 3.11 CPython 3.11 macOS 11.0+ x86-64 Details for chalkcompute-2.14.4-cp311-cp311-macosx_11_0_x86_64.whl
chalkcompute-2.14.4-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for chalkcompute-2.14.4-cp311-cp311-macosx_11_0_arm64.whl

Total release size: 206.7 MB

Release files / chalkcompute-2.14.4-cp314-cp314-win_amd64.whl

Download URL chalkcompute-2.14.4-cp314-cp314-win_amd64.whl
Size 6.8 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
c1ee794f881cb22c5991a807c383265ec9bcac4b3ba29a74b9e45a3d07616dcf
BLAKE2b-256 checksum
How to use checksums
4d6d6cb717340cb53898a2a10b327cd1e6d6409611a0ffde567bac5313ec3b92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp314-cp314-musllinux_1_2_x86_64.whl

Download URL chalkcompute-2.14.4-cp314-cp314-musllinux_1_2_x86_64.whl
Size 7.8 MB
Tags CPython 3.14 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
c5ff6b172e3f7a4fa297075fbae665e6f8f91dec38d1399ab145300a558da324
BLAKE2b-256 checksum
How to use checksums
d9f8e13789878c2c1a4ded776e89015c2f6bffdde91ff53d2db68f961a3cdd40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp314-cp314-musllinux_1_2_aarch64.whl

Download URL chalkcompute-2.14.4-cp314-cp314-musllinux_1_2_aarch64.whl
Size 7.7 MB
Tags CPython 3.14 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
93a26bbce670dddeffd327f090e9dac8788e435a8ea2b35a36a428cf35469c9c
BLAKE2b-256 checksum
How to use checksums
2d6eb6b0815f67f3bb60d2ad08f2468ed1bee6e29cca82aae3d305a7458fccef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL chalkcompute-2.14.4-cp314-cp314-manylinux_2_28_x86_64.whl
Size 7.6 MB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d7810d6311d1aaa7624460237d622db506f1a2f711e341467d3f7f299ab89548
BLAKE2b-256 checksum
How to use checksums
bf9da1454aa2fc6342b43271a3fee4f9a6a737be2c72d5e64cd915e952d080a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp314-cp314-manylinux_2_28_aarch64.whl

Download URL chalkcompute-2.14.4-cp314-cp314-manylinux_2_28_aarch64.whl
Size 7.5 MB
Tags CPython 3.14 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
095ddce2734fdc77250751d8f2415b7646993154590ca6f2327d356cee58c1af
BLAKE2b-256 checksum
How to use checksums
8366434b07890492d07acc768381c54dbcc8f3eb33b3dc333f30a2ff3f5abe60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp314-cp314-macosx_11_0_x86_64.whl

Download URL chalkcompute-2.14.4-cp314-cp314-macosx_11_0_x86_64.whl
Size 7.2 MB
Tags CPython 3.14 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
a73345c36e199224194a30cda7fe228665abcfa6ff2589bac1206b8e273fc3c1
BLAKE2b-256 checksum
How to use checksums
b336c67f5b741d2e97b71ef023aa65cebb30322282c3b5a53797795ada501647
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp314-cp314-macosx_11_0_arm64.whl

Download URL chalkcompute-2.14.4-cp314-cp314-macosx_11_0_arm64.whl
Size 7.0 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a58e42fe673e7e4c689b65da920dc2dc2aa0c82fe83a1712a86d3f0253f6aea3
BLAKE2b-256 checksum
How to use checksums
2ea7007f7fda61cfd40f9d32fd45b27f3f20c3fbe6c317dedddedf623e5eb63a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp313-cp313-win_amd64.whl

Download URL chalkcompute-2.14.4-cp313-cp313-win_amd64.whl
Size 6.8 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
b68a9f100824f51042a564a640c94309533f8b09e886ebec265ed45933da40f3
BLAKE2b-256 checksum
How to use checksums
d8ea574a70b45347d91a5b6920f1c52396d15c584c9c9386b2a9ddfa582f04c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp313-cp313-musllinux_1_2_x86_64.whl

Download URL chalkcompute-2.14.4-cp313-cp313-musllinux_1_2_x86_64.whl
Size 7.8 MB
Tags CPython 3.13 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
e44dfae4f51c7d2e848a3222e209e1b7b7e637ed03e5697f4a3e8b414e65e9c9
BLAKE2b-256 checksum
How to use checksums
3e19039c451959b0a541d8a1cf2230ac8fe76f933afff7af5f5a1f328e179f04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp313-cp313-musllinux_1_2_aarch64.whl

Download URL chalkcompute-2.14.4-cp313-cp313-musllinux_1_2_aarch64.whl
Size 7.7 MB
Tags CPython 3.13 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
e0616f552dd194c5b535f32eabfdb9881643ffb1f863d34292f90e2fd1640bb7
BLAKE2b-256 checksum
How to use checksums
8ceb453c04890a7da89a670967c3a3cccf409b804b34f11ae453a9dede6e3c20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL chalkcompute-2.14.4-cp313-cp313-manylinux_2_28_x86_64.whl
Size 7.6 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
27cffe5cfaa36c79aec284bb6e032053245c0e0d41317b3b31f8b84256695fa9
BLAKE2b-256 checksum
How to use checksums
5bd568ccf43e5a86bbb09874980777fda034ccdda515c33e131957c59d371472
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp313-cp313-manylinux_2_28_aarch64.whl

Download URL chalkcompute-2.14.4-cp313-cp313-manylinux_2_28_aarch64.whl
Size 7.5 MB
Tags CPython 3.13 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
fd311d3f6707be4d6740ab30fd9da9c6c022ab54f8ca2a910c0dab6ceb77e163
BLAKE2b-256 checksum
How to use checksums
07a373f3064496406868723fc9ed225776cda17d3a7effe17a74ae35dd14ce0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp313-cp313-macosx_11_0_x86_64.whl

Download URL chalkcompute-2.14.4-cp313-cp313-macosx_11_0_x86_64.whl
Size 7.2 MB
Tags CPython 3.13 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
88d70019906c02f010d7413a9da5dcf6ef82588c3a4fc8351fb1b49412042a03
BLAKE2b-256 checksum
How to use checksums
acefb3616940bb0c92210c6f38f475f3b1294ef0890951687d5bd255c1106eb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp313-cp313-macosx_11_0_arm64.whl

Download URL chalkcompute-2.14.4-cp313-cp313-macosx_11_0_arm64.whl
Size 7.0 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ba1b0386dbbdede5b6cf125800fecaf692cbb5c2c906544149afb76e881c605d
BLAKE2b-256 checksum
How to use checksums
d5f4f1a2b17277e9ba575c58a18833dde5785c3b4a8ff3144f77bb421e483d27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp312-cp312-win_amd64.whl

Download URL chalkcompute-2.14.4-cp312-cp312-win_amd64.whl
Size 6.8 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
d54be00529d88cb548a991aea73ecc5e397e90e6deadcc8cd8646b14077629aa
BLAKE2b-256 checksum
How to use checksums
aa1464b2d3b2143ea5376d3dc2e8694eae43295ac400f4d7d2f7621d7371ac82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp312-cp312-musllinux_1_2_x86_64.whl

Download URL chalkcompute-2.14.4-cp312-cp312-musllinux_1_2_x86_64.whl
Size 7.8 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
54a36fc7c60ee876fce598f316e7a5897f1673326b56a982c0e79fd4bef90a7b
BLAKE2b-256 checksum
How to use checksums
85d0b5a0efe83696d95de46f71d94f05c1f6797bf7dd556c576ca4d04d14c3a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp312-cp312-musllinux_1_2_aarch64.whl

Download URL chalkcompute-2.14.4-cp312-cp312-musllinux_1_2_aarch64.whl
Size 7.7 MB
Tags CPython 3.12 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
51fe5d5dce1171da2b947a7883e51f0cf55e11375f1b19a6422afe5b98863435
BLAKE2b-256 checksum
How to use checksums
5133c1d9a77eaf54df8851c5a5e61c3e5a6fdab3175aefd4e319dc8fac203104
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL chalkcompute-2.14.4-cp312-cp312-manylinux_2_28_x86_64.whl
Size 7.6 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
67aef8c78d1858e3bef15e4c3082f2b94b04d3b5e4cf7fda3a107212877b5401
BLAKE2b-256 checksum
How to use checksums
6b900cf63b8884c92a9ce4fe0924fb4cc3c50bdd9b764d735654c3e34c4b12eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp312-cp312-manylinux_2_28_aarch64.whl

Download URL chalkcompute-2.14.4-cp312-cp312-manylinux_2_28_aarch64.whl
Size 7.5 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
e590f1e3aa2323442166b25ad0af9545979c40b03a02ebe7ca47000c614b6f59
BLAKE2b-256 checksum
How to use checksums
07573fdf5ef4ba2a959377aa113c1d0c7b329c4cf266017614303574bdef7171
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp312-cp312-macosx_11_0_x86_64.whl

Download URL chalkcompute-2.14.4-cp312-cp312-macosx_11_0_x86_64.whl
Size 7.2 MB
Tags CPython 3.12 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
e65579266fef21e73986c4b90b80e77512d8fe50b6a78b086963a63299411f95
BLAKE2b-256 checksum
How to use checksums
c907d6a4e5052f230a687b11b4d161494c15389772ccb9e6759237c63e0a0d55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp312-cp312-macosx_11_0_arm64.whl

Download URL chalkcompute-2.14.4-cp312-cp312-macosx_11_0_arm64.whl
Size 7.0 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5d039019b292eb40ed09fbbd45daef7484237c6749189d66135b5c3436feea03
BLAKE2b-256 checksum
How to use checksums
5454d022b39e54d9874fbb2fb1356ccd7ab2cd6ca2e5f2298436a9e9946d66bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp311-cp311-win_amd64.whl

Download URL chalkcompute-2.14.4-cp311-cp311-win_amd64.whl
Size 6.8 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
6cd2e767e84f6953c79e131e15c53fb64020c2bed07183e1bb239c2235bcb34b
BLAKE2b-256 checksum
How to use checksums
f376dfc1dcac61fb81415afb33e4820be41f7f411e303d1b39131ff6655e5c42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp311-cp311-musllinux_1_2_x86_64.whl

Download URL chalkcompute-2.14.4-cp311-cp311-musllinux_1_2_x86_64.whl
Size 7.8 MB
Tags CPython 3.11 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
56a57ead8b68e46921fa5d4c16a68550ea2732c1379a6dd3803a12677e47bd8b
BLAKE2b-256 checksum
How to use checksums
8e2a1d6efbba5412fcd8ff357b8617cabd1aba2a671655b4a3e5a95206c66712
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp311-cp311-musllinux_1_2_aarch64.whl

Download URL chalkcompute-2.14.4-cp311-cp311-musllinux_1_2_aarch64.whl
Size 7.7 MB
Tags CPython 3.11 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
4c9e258b3c21db5addbc0561d3899ccc42ee5add2e53db37daab1de3bda29640
BLAKE2b-256 checksum
How to use checksums
37d181e22403fb6899dbb760baf0721dac9ea4f5dc8efe151e579799b7084e38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL chalkcompute-2.14.4-cp311-cp311-manylinux_2_28_x86_64.whl
Size 7.6 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
9f888ee0cc489b1bc79ebc84e11fb3abf73004ac20dd12d4735ed6a7a9792ecf
BLAKE2b-256 checksum
How to use checksums
46ee178244c2c01959b851750e996e32cd0f8f3287c64f89f4004a19549ebb06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp311-cp311-manylinux_2_28_aarch64.whl

Download URL chalkcompute-2.14.4-cp311-cp311-manylinux_2_28_aarch64.whl
Size 7.5 MB
Tags CPython 3.11 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
4ab805d8d70d533be6e019c39ece263e816f5dcb8449f3f0cff99062d03a8cf1
BLAKE2b-256 checksum
How to use checksums
47892f792964c67ddcf837768aaab8ca8fefb6dd974c88ea3f7abe186ae0c7c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp311-cp311-macosx_11_0_x86_64.whl

Download URL chalkcompute-2.14.4-cp311-cp311-macosx_11_0_x86_64.whl
Size 7.2 MB
Tags CPython 3.11 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
5dc61d6812f8327574ce0a5be45872b4da65a9423ea351ee76484568c72af249
BLAKE2b-256 checksum
How to use checksums
d26f036e4f32dc6e587dc457e835b3d97d96aa8a9ea83ef3d482299d2e874d11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / chalkcompute-2.14.4-cp311-cp311-macosx_11_0_arm64.whl

Download URL chalkcompute-2.14.4-cp311-cp311-macosx_11_0_arm64.whl
Size 7.0 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1044fd1be2f81d6f27e08f2bda1a645769727fc42c8bf3d685c61c42945870ef
BLAKE2b-256 checksum
How to use checksums
824a3ef9017b37e6402a86b0574b702f11cb73472ca5df5be59edbf8fecd80f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Security for chalkcompute 2.14.4

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 28 files in this release have been uploaded with provenance metadata.

Select from 28 files

Attestation for chalkcompute-2.14.4-cp314-cp314-win_amd64.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 24, 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

2.14.4 This release

28 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