Non-interactive pipe channel for exoclaw — stdin/stdout, no terminal required
Project description
exoclaw-channel-pipe
Non-interactive pipe channel for exoclaw. Reads lines from stdin, writes responses to stdout. No terminal required.
Usage
# One-shot
echo "what is 2+2?" | python app.py
# Heredoc
python app.py <<< "summarize this repo"
# Multi-turn from file
cat prompts.txt | python app.py
# In scripts
echo "fetch top HN stories" | python -c "
import asyncio
from exoclaw_nanobot import create
from exoclaw_channel_pipe import PipeChannel
async def main():
bot = await create(enable_cli=False, extra_channels=[PipeChannel()])
await bot.run()
asyncio.run(main())
"
Progress messages go to stderr. Responses go to stdout. Clean for piping.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file exoclaw_channel_pipe-0.2.0.tar.gz.
File metadata
- Download URL: exoclaw_channel_pipe-0.2.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ddfbe70fe39d465c1227788856ab1751cff06ab64306547a685976d36f01371
|
|
| MD5 |
63c8c927b685cce6445922036c840c29
|
|
| BLAKE2b-256 |
916bc6b7dea87d10164daad74320b689a11f858b447c82b76c6a15774f1fb9e9
|
File details
Details for the file exoclaw_channel_pipe-0.2.0-py3-none-any.whl.
File metadata
- Download URL: exoclaw_channel_pipe-0.2.0-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55116d617d60dd8b8f83e3777988f2fc2c7cf4300f7822d63c76475cb9150db4
|
|
| MD5 |
1b642e7eeff9b11dfbd55f6594870107
|
|
| BLAKE2b-256 |
43bf5818cef64e692efaeb03a95168e047957934510c0f775de065fcb414bfb6
|