Skip to main content

Harnesslayer - Python

Python SDK for the Harnesslayer API.

Install

pip install harnesslayer

Quick Start

from harnesslayer import Harnesslayer

client = Harnesslayer(api_key="your-api-key")

app = client.app.init("typedef-app", 
    type="claude", 
    version_path=".claude"
)

channel = app.channel.init("my-api", 
    type="api"
)

stream = channel.run(
    session_id="my-custom-session-id",
    user_id="stephen@pickaxe.co",
    input="hello world"
)

for event in stream:
    if event.done:
        break

    print(event)

Using A Context Manager

from harnesslayer import Harnesslayer

with Harnesslayer(api_key="your-api-key") as client:
    app = client.app.init("typedef-app", 
        type="claude", 
        version_path=".claude"
    )

    channel = app.channel.init("my-api", 
        type="api"
    )

    stream = channel.run(
        session_id="my-custom-session-id",
        user_id="stephen@pickaxe.co",
        input="hello world"
    )

    for event in stream:
        if event.done:
            break

        print(event)
    

Metadata

Release files for harnesslayer 1.1.7

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

Source distribution (sdist)

Source distribution for harnesslayer 1.1.7
File Size Uploaded Provenance
harnesslayer-1.1.7.tar.gz 118.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for harnesslayer 1.1.7
File Interpreter ABI Platform
harnesslayer-1.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 156.3 kB

Release files / harnesslayer-1.1.7.tar.gz

Download URL harnesslayer-1.1.7.tar.gz
Size 118.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9c6fcaaa07d9c0fd0843733d1fea504609b7eb640ceedece1f97b94ae76c9682
BLAKE2b-256 checksum
How to use checksums
8b8ee4a8f6373ea1e9cf76ee2d9dd4b9074f7168b46d48f356041de851618d2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.6

Release files / harnesslayer-1.1.7-py3-none-any.whl

Download URL harnesslayer-1.1.7-py3-none-any.whl
Size 37.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e7ddfd3d15c682ab701b81343a5bff6c1509447fbac508f72470e9eb96198e9
BLAKE2b-256 checksum
How to use checksums
55cbfa910ce4e267dba825de92754b62568fcadfaf2c2408fb1dfa3117a53bf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.6

Security for harnesslayer 1.1.7

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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