snaketerm 0.1.0
The Python wrapper for Snake Terminal. Author: Snake Catcher Architect.
Install
snaketerm is not on PyPI. Install it straight from the wheel hosted here. It needs Python 3.10 or newer.
pip
pip install https://api.snakeindex.com/downloads/snaketerm-0.1.0-py3-none-any.whlIn a virtual environment
python -m venv .venv
. .venv/bin/activate
pip install https://api.snakeindex.com/downloads/snaketerm-0.1.0-py3-none-any.whlVerify the download first
curl -O https://api.snakeindex.com/downloads/snaketerm-0.1.0-py3-none-any.whl
sha256sum snaketerm-0.1.0-py3-none-any.whl
# expected 3a5e016c2675f713195be234357cd27465c414f17c8ddc578993c33bf4241a0dsnaketerm runs the snake command-line program through subprocess. It must be on your PATH, or set SnakeConfig(binary=…) to its location.
Usage
Two functions and a config object. call() returns a Result; output() returns the text and raises on failure.
Run a command
from snaketerm import SnakeConfig, call, output
print(output("version", config=SnakeConfig(timeout=10)))
r = call("scan", "snakeindex.com")
print(r.ok, r.code)
print(r.stdout)Reference
call(command, *args, config=None) | Runs one Snake Terminal command and returns a Result. |
output(command, *args, config=None) | Runs a command and returns its stripped text output. Raises RuntimeError if the exit code is not 0. |
Result | command, code, stdout, stderr, and ok (true when the code is 0). |
SnakeConfig | binary ("snake"), timeout (30.0 seconds), cwd, env (extra environment variables). |
Downloads
Version 0.1.0, built with python -m build. Licence: proprietary, © 2026 SnakeIndex.
| File | Size | SHA-256 |
|---|---|---|
| snaketerm-0.1.0-py3-none-any.whlWheel | 2,474 bytes | 3a5e016c2675f713195be234357cd27465c414f17c8ddc578993c33bf4241a0d |
| snaketerm-0.1.0.tar.gzSource archive | 2,075 bytes | fce26131aea3a180602531f77481e29f0a20c66e4abaaaa1bd3cf0447b4ae931 |
Check a file with sha256sum <file> (Linux), shasum -a 256 <file> (macOS) or Get-FileHash <file> (Windows PowerShell).