rsi-explorer
A Juniper RSI (Request Support Information) parser and interactive Junos CLI simulator. Load an RSI file and explore its contents as if you were on the actual device, with tab completion, pipe commands, and contextual help.
Quick Start
uvx rsi-cli <rsi-file>
Installation
Install as a persistent tool with uv:
uv tool install rsi-cli
Or clone and install from source:
git clone git@github.hpe.com:michael-tucker1/rsi-device.git
cd rsi-device
uv sync
For Junos device integration (optional):
uv sync --extra junos
Usage
After installing with uv tool install:
rsi-cli <rsi-file>
From a cloned source checkout (after uv sync):
uv run rsi-cli <rsi-file>
CLI Features
- Tab completion — press TAB to autocomplete commands at any level
- Contextual help — append
?to any command to see available subcommands - Command history — arrow keys to recall previous commands
- Partial matching — abbreviate commands (e.g.,
sh verforshow version) - Flexible argument order —
show interfaces terse ge-0/0/0andshow interfaces ge-0/0/0 terseboth work
Pipe Commands
Chain output through filters using |, just like on a Junos device:
show interfaces terse | match ge-0
show config | display set | save backup.conf
show interfaces | count
show route | except 0.0.0.0 | last 20
Available pipes: no-more, save <file>, count, match <pattern>, except <pattern>, last <N>, find <pattern>, trim <N>, display set
CLI Options
rsi-cli <rsi-file> # interactive mode
rsi-cli <rsi-file> --no-pager # disable paging
Development
uv sync --dev
uv run pytest
uv run ruff check rsi/
uv run ruff format rsi/
Metadata
Release files for rsi-cli 1.0.2
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 |
|---|---|---|---|---|
| rsi_cli-1.0.2.tar.gz | 64.3 kB | Without provenance | Details for rsi_cli-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rsi_cli-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for rsi_cli-1.0.2-py3-none-any.whl |
Total release size: 142.5 kB
Release files / rsi_cli-1.0.2.tar.gz
| Download URL | rsi_cli-1.0.2.tar.gz |
|---|---|
| Size | 64.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4680151524253d681e51de86559d60e299f96fcf22075c003c8bb1c620fea16a
|
|
BLAKE2b-256 checksum How to use checksums |
340a449247c0d98550b9313a5ee85a74e8a16ffd0ec58e2442d3b51ee5cfb589
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.16
|
Release files / rsi_cli-1.0.2-py3-none-any.whl
| Download URL | rsi_cli-1.0.2-py3-none-any.whl |
|---|---|
| Size | 78.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a1a454b3099822688a3c6ee43d6eba4bb42a315e04b6654c51f176f6dce5f8ab
|
|
BLAKE2b-256 checksum How to use checksums |
8fdb036e90413b88474254e2b2c869e19a54e1b2defd7ea70153700575a9777a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.16
|
Security for rsi-cli 1.0.2
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.