jackedin
Python client for the JackedIN command line. It wraps jackedin exec, dry-run, saved sessions, and the print-only commit-confirmed plan.
This package is not published to PyPI. Install it from a checkout:
pip install -e python
Set JACKEDIN_BIN when the jackedin program is not on PATH.
Why
Network automation already speaks Python. This client lets a script call the same JackedIN engine as the terminal, including a dry-run that does not connect and YAML expect rules the command line already understands. It does not open its own SSH stack.
Run, dry-run, expect rules, saved sessions, and the print-only commit plan are free. They are not a separate paid feature.
Password
A password is never a command-line argument and never written to the log.
- Leave it in
JACKEDIN_PASSWORD. The child process inherits that variable. - Or pass
password=torun. The library sends it on stdin with--password-stdin.
--password is rejected before the process starts. An expect file that contains password: or secret: is rejected before it is written.
An enable secret is the enable or secret argument. The library passes --enable-password-env JACKEDIN_ENABLE_PASSWORD and puts the value only in that child environment variable. On a Cisco session, or a serial session with no vendor, enable is sent once before the other commands. Junos does not get that command. A list that ends in exit, logout, or quit is refused when expect rules are set.
Example
Hosts in examples are 192.0.2.10 and router1. The user is netops.
from jackedin import Jackedin
device = Jackedin("192.0.2.10", username="netops")
console = Jackedin("COM5", protocol="serial", vendor="cisco") # no --user unless you set one
plan = device.dry_run(["show version"])
assert plan.sent is False
report = device.run(
["show version"],
expect="- command: show version\n expect_match: Version\n",
)
print(report.commands[0].output)
print(device.commit_confirmed(minutes=5).text)
commit_confirmed only prints the Junos or Cisco plan. It does not connect.
A saved session is Jackedin.from_session("router1"). The name is the session label, not a secret.
Metadata
Release files for jackedin 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jackedin-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for jackedin-1.2.0-py3-none-any.whl |
Release files / jackedin-1.2.0-py3-none-any.whl
| Download URL | jackedin-1.2.0-py3-none-any.whl |
|---|---|
| Size | 13.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5af5b0caa501c83e53296a369f09657fafc77f5b05cba3e34b0ad1c2c1085f15
|
|
BLAKE2b-256 checksum How to use checksums |
83609c2e793efa3f93841ec1ac841373ec057aa5e213107ff17193d109aad3e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logSecurity for jackedin 1.2.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.
Full provenance
1 file in this release has been uploaded with provenance metadata.
Attestation for jackedin-1.2.0-py3-none-any.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logA 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.