Skip to main content

yieldskill — Yield skill workflow SDK for Python

The Python implementation of the yield.v1 SDK execution contract (see ir/README.md). The import name is yieldskill because yield is a Python keyword.

Create a virtual environment before installation:

# macOS and Linux
python3 -m venv .venv
source .venv/bin/activate
python -m pip install yieldskill
# Windows PowerShell
py -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install yieldskill

Public PyPI releases use trusted publishing. Every wheel contains the matching Yield runtime for its platform.

The launcher preserves the selected Python environment for RunCommand, even when an adapter starts that interpreter without activating the environment.

from yieldskill import define_skill

def program(ctx):
    answer = ctx.ask_user("confirm-start", "Ready to start?")
    if answer != "yes":
        ctx.refused("user declined to start")
    tests = ctx.run_command("run-tests", "true", timeout_seconds=60)
    ctx.require(tests.exit_code == 0, "the test command passes", tests)
    return {"status": "ok"}

define_skill(program)

Declare the runner in the skill's skill.json:

{ "run": ["python3", "main.py"] }

Programs must be deterministic between yields — same journal, same operations, every execution. Clocks, RNGs, and filesystem reads are side effects: cross them through a yielded operation or leave them out.

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

yieldskill-0.1.33-py3-none-win_arm64.whl (1.7 MB view details)

Uploaded Python 3Windows ARM64

yieldskill-0.1.33-py3-none-win_amd64.whl (1.9 MB view details)

Uploaded Python 3Windows x86-64

yieldskill-0.1.33-py3-none-manylinux_2_17_x86_64.whl (1.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

yieldskill-0.1.33-py3-none-manylinux_2_17_aarch64.whl (1.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

yieldskill-0.1.33-py3-none-macosx_11_0_x86_64.whl (1.8 MB view details)

Uploaded Python 3macOS 11.0+ x86-64

yieldskill-0.1.33-py3-none-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file yieldskill-0.1.33-py3-none-win_arm64.whl.

File metadata

  • Download URL: yieldskill-0.1.33-py3-none-win_arm64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for yieldskill-0.1.33-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 88bc1a1e0045739ba99e0c2ed5708afb7a88cfc74c2946f53efb0f8f46eb8d4a
MD5 351fde38caf119929131b590888ad7f5
BLAKE2b-256 8e3e3fc67e2e955f4e507ab6f763d8a3496a2560232361db3911e9be4569213f

See more details on using hashes here.

Provenance

The following attestation bundles were made for yieldskill-0.1.33-py3-none-win_arm64.whl:

Publisher: npm-publish.yml on operatorstack/yield

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file yieldskill-0.1.33-py3-none-win_amd64.whl.

File metadata

  • Download URL: yieldskill-0.1.33-py3-none-win_amd64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for yieldskill-0.1.33-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e4e0187fd7cc7149c476a2364d98e48c6496627a70ff1d2304a3a8305a2a0e7e
MD5 42f48d51a1d38cea81fcd2fa8eb04113
BLAKE2b-256 a4171720ddc8e7e5ddd50971e70ac659d47c9492449a9e0a768c63b3ca4d6d26

See more details on using hashes here.

Provenance

The following attestation bundles were made for yieldskill-0.1.33-py3-none-win_amd64.whl:

Publisher: npm-publish.yml on operatorstack/yield

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file yieldskill-0.1.33-py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for yieldskill-0.1.33-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 ba4f981bd373b96d0d5f2c19884cf0ddcae8518f33d8544c70722827d3b4e702
MD5 c592084d75b56379a97fa9008464e5ce
BLAKE2b-256 35584c565c38c9b1540d6b81c50a5ffa0db3e503eecb818d1f64e3ea07f4fb4f

See more details on using hashes here.

Provenance

The following attestation bundles were made for yieldskill-0.1.33-py3-none-manylinux_2_17_x86_64.whl:

Publisher: npm-publish.yml on operatorstack/yield

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file yieldskill-0.1.33-py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for yieldskill-0.1.33-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 a80347f48a163a510f41a1c34ef5e9fa7c48e996348419827b5f08a7f11a1981
MD5 8d2e5da56a094b724cfe61816e0bcdc4
BLAKE2b-256 e530003e4eb95b085062d419ea481aaf677366564955002ca07bf1a5261aa61a

See more details on using hashes here.

Provenance

The following attestation bundles were made for yieldskill-0.1.33-py3-none-manylinux_2_17_aarch64.whl:

Publisher: npm-publish.yml on operatorstack/yield

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file yieldskill-0.1.33-py3-none-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for yieldskill-0.1.33-py3-none-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 e6bbab5ba73c2b7b515c04eb1bccc782dfa72fdeae017999003f11b53df8489e
MD5 97333e996a7c9528ce196b6c8cbd17d6
BLAKE2b-256 e7ae612fbadf9c8e1a9665cf6babe2e762068a318b176bc83105243eb7e75dc7

See more details on using hashes here.

Provenance

The following attestation bundles were made for yieldskill-0.1.33-py3-none-macosx_11_0_x86_64.whl:

Publisher: npm-publish.yml on operatorstack/yield

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file yieldskill-0.1.33-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for yieldskill-0.1.33-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 17427797234cb02e8aec5c0c48d4428de0d93a7ffeb204be074da0687170592f
MD5 150be0e8fa55b7f036273ba0ccf144c5
BLAKE2b-256 9b4a918d727050b4bd45d3a61bf169693d555a26e3d32882ecd8b05e572c1960

See more details on using hashes here.

Provenance

The following attestation bundles were made for yieldskill-0.1.33-py3-none-macosx_11_0_arm64.whl:

Publisher: npm-publish.yml on operatorstack/yield

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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