pupptyeer-client
Thin Python client for the pupptyeer daemon: NDJSON over a unix socket, standard library only (no dependencies).
pupptyeer is a local daemon that owns persistent PTY sessions. This client talks to it over the
daemon's unix socket; it does not start the daemon. Install and run the daemon separately (see the
main README), or npm i -g pupptyeer for the
prebuilt binary.
Install
pip install pupptyeer-client
Requires Python >= 3.8.
Usage
import os, sys
from pupptyeer_client import PupptyeerClient
# Connect to the daemon's unix socket (the daemon exports its path via $PUPPTYEER_SOCK).
c = PupptyeerClient.connect(os.environ["PUPPTYEER_SOCK"])
# Spawn a command in a fresh PTY; get back a session id.
sid = c.new_session(command="bash", cols=80, rows=24)
# Stream the session's live output, then attach this connection.
c.on_output(sid, lambda b: sys.stdout.buffer.write(b))
c.attach(sid, cols=80, rows=24)
# Drive it.
c.write_pane(sid, "echo hello\n")
# Read the daemon's authoritative rendered screen once the PTY goes quiet.
screen = c.capture_screen(sid, settle_ms=50)
print("\n".join(screen.lines))
c.close() # sessions outlive the client
See the protocol spec for the full
verb set (new_session, list_sessions, attach/detach, write_pane, capture_pane,
resize, kill, gc).
License
MIT
Metadata
Release files for pupptyeer-client 0.10.3
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 | |
|---|---|---|---|---|
| pupptyeer_client-0.10.3.tar.gz | 6.7 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pupptyeer_client-0.10.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.7 kB
Release files / pupptyeer_client-0.10.3.tar.gz
| Download URL | pupptyeer_client-0.10.3.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d6bf131cd24f7635fce4bfa3e256461581a48bb742e9186f6881e13c61d1b15
|
|
BLAKE2b-256 checksum How to use checksums |
198f1e4c848983254c65d02e8eb5115b808ae63b8157c5b81c28a10b9bbc2fb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 19, 2026.
Transparency logRelease files / pupptyeer_client-0.10.3-py3-none-any.whl
| Download URL | pupptyeer_client-0.10.3-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8038d50d801ce364cf051127c152f3ca1d3f6840f462e2580fe70306697e0c80
|
|
BLAKE2b-256 checksum How to use checksums |
ff61ee80be577afdfcef86ad3affcd836eff7339857af596bfee37e303a0b09f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 19, 2026.
Transparency logSecurity for pupptyeer-client 0.10.3
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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pupptyeer_client-0.10.3.tar.gz
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 Oct 19, 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.