Metadata-Version: 2.5
Name: cmdop
Version: 3.0.0
Summary: Your machines' tools from a program: the same tools agents use through MCP, typed from Rust.
License-Expression: MIT
License-File: LICENSE
Requires-Python: >=3.10
Requires-Dist: httpx<1,>=0.28
Requires-Dist: pydantic<3,>=2.10
Requires-Dist: typing-extensions>=4.12
Provides-Extra: dev
Requires-Dist: cryptography>=44; extra == 'dev'
Requires-Dist: pyright>=1.1.400; extra == 'dev'
Requires-Dist: pytest>=8.3; extra == 'dev'
Description-Content-Type: text/markdown

# cmdop (Python)

Your machines' tools from a program: the same tools agents use through MCP, typed from Rust.

```python
import cmdop

with cmdop.connect() as c:                 # CMDOP_TOKEN, CMDOP_URL
    box = c.machine("box")
    print(box.run("uptime").stdout)
    run = box.stream("make test")
    for piece in run:
        print(piece.data, end="")
    print(run.result.exit_code)
```

`cmdop.connect_async()` is the same, awaited. `src/cmdop/generated/` is generated by `make sdk-generate`; never edit it.

Docs: https://docs.cmdop.ai · License: MIT
