Skip to main content

Openheinerss Python SDK 1.1.0

SDK oficial em Python para integração com o maestro Openheinerss (crom-org).

Instalação

pip install openheinerss

Exemplo de Uso

from openheinerss import Agent

# Inicia sessão com o harness desejado
agent = Agent(harness="mock")  # OPENHEINERSS_PORTA é respeitada pelo servidor; padrão: 4820
agent.registerHarness({"name": "meu-harness", "base": "mock"})
agent.subscribeEvents(lambda evento: print("orq:", evento))
execucao = agent.run({"nome": "teste", "motor": "mock", "texto": "responda OK", "cwd": "."})
print(agent.listHarnesses(), agent.getLimits(), execucao)

# Streaming de pensamentos e texto
for event in agent.stream("Escreva uma função que calcula fibonacci"):
    if event["type"] == "agent.thinking":
        print(f"🤔 Pensando: {event['data']['delta']}")
    elif event["type"] == "agent.text":
        print(event["data"]["delta"], end="", flush=True)

# Ou resposta direta:
resultado = agent.prompt("Refatore a função para usar memoização")
print(resultado)

Metadata

Release files for openheinerss 1.1.0

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

Source distribution (sdist)

Source distribution for openheinerss 1.1.0
File Size Uploaded Provenance Actions
openheinerss-1.1.0.tar.gz 5.0 kB Without provenance Details for openheinerss-1.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 10.5 kB

Release files / openheinerss-1.1.0.tar.gz

Download URL openheinerss-1.1.0.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a4daf48fa3e8a13c05bf8b42d7d60efe4875fe53f1222e1c89a84ea212723dfb
BLAKE2b-256 checksum
How to use checksums
a667c5fad098fa61ce54fdd3127d35717e28d0218cad256ec02e3a1f51615ac7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / openheinerss-1.1.0-py3-none-any.whl

Download URL openheinerss-1.1.0-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f1486305846cce139d89988c90ddb4190177fe0b78775677c508f41ca1d08780
BLAKE2b-256 checksum
How to use checksums
d9d6daec772fa6a799ef0318f96df42df2fcf9f4d08d4437121186c777443917
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for openheinerss 1.1.0

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.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No 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