hanzo-tools-repl
Multi-language REPL tool with Jupyter kernel backend for interactive code evaluation.
Features
- Multi-language support: Python, Node.js/TypeScript, Bash, Ruby, Go, Rust
- Persistent sessions: Maintain state across evaluations
- Jupyter kernels: Uses standard Jupyter infrastructure
- Agent-friendly: Designed for AI agent workflows
Installation
pip install hanzo-tools-repl
# With all kernels
pip install hanzo-tools-repl[full]
Usage
from hanzo_tools.repl import ReplTool
repl = ReplTool()
# Start a Python session
await repl.call(action="start", language="python")
# Evaluate code
result = await repl.call(action="eval", code="x = 1 + 1\nprint(x)")
# Output: [1] 2
# Node.js/TypeScript
await repl.call(action="start", language="node")
result = await repl.call(action="eval", code="const arr = [1,2,3].map(n => n*2)")
# List sessions
await repl.call(action="list")
# Get history
await repl.call(action="history", limit=10)
# Stop session
await repl.call(action="stop")
Supported Languages
| Language | Kernel | Install |
|---|---|---|
| Python | ipykernel | pip install ipykernel |
| Node.js/TypeScript | tslab | npm install -g tslab && tslab install |
| Bash | bash_kernel | pip install bash_kernel |
| Ruby | iruby | gem install iruby |
| Go | gophernotes | See gophernotes docs |
| Rust | evcxr | cargo install evcxr_jupyter |
License
MIT - Hanzo Industries Inc
Metadata
Release files for hanzo-tools-repl 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hanzo_tools_repl-0.1.0.tar.gz | 7.1 kB | Without provenance | Details for hanzo_tools_repl-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hanzo_tools_repl-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for hanzo_tools_repl-0.1.0-py3-none-any.whl |
Total release size: 14.5 kB
Release files / hanzo_tools_repl-0.1.0.tar.gz
| Download URL | hanzo_tools_repl-0.1.0.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58e9ef1712e8a4e317812c7dd46267d2dcd3dc6f7aaa55de85a3bcae3d59f915
|
|
BLAKE2b-256 checksum How to use checksums |
95e9046be03d0b877307c447a623d51820bae260850c682275087a450b335521
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / hanzo_tools_repl-0.1.0-py3-none-any.whl
| Download URL | hanzo_tools_repl-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fdddc005232f29c75f3788f5bcaff0377ff347d06537fccac3060d749469e49d
|
|
BLAKE2b-256 checksum How to use checksums |
a3930f0bf1e1d2c1114dffb8fd50b8de3782ef9df535cdc5784d4bf93fe6af54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Security for hanzo-tools-repl 0.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.