Skip to main content

CI Coverage PyPI License

stdio_socket

Share the stdio of a process on a unix socket.

This package has 3 entrypoints:

  • stdio-expose: launch a process and share its stdio on a unix socket
  • console: connect to a socket to get a console into the above process
  • pptty: wrap a process in a psuedo tty (used by stdio-expose)
Source https://github.com/epics-containers/stdio-socket
PyPI pip install stdio-socket
Releases https://github.com/epics-containers/stdio-socket/releases

Server CLI

 Usage: stdio-expose [OPTIONS] COMMAND                                      
                                                                            
 Expose the stdio of a process on a socket at unix:///tmp/stdio.sock.

 This allows a local process to connect to stdio of the running process.
 Use Ctrl+C to disconnect from the socket.
 The following command will connect to the socket and provide interactive
 access to the process:     socat UNIX-CONNECT:/tmp/stdio.sock -,raw,echo=0
 or use the built in client:     console

╭─ Arguments ──────────────────────────────────────────────────────────────╮
│ *    command      TEXT  Command to run and expose stdio [default: None]  │
│                         [required]                                       │
╰──────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────╮
│ --socket         PATH  The filepath to the socket to use                 │
│                        [default: /tmp/stdio.sock]                        │
│ --version              print the version number and exit                 │
│ --help                 Show this message and exit.                       │
╰──────────────────────────────────────────────────────────────────────────╯

Client CLI

 Usage: console [OPTIONS]                                                   
                                                                            
 Connect to a socket and pass stdio to/from that socket


╭─ Options ────────────────────────────────────────────────────────────────╮
│ --socket         PATH  The filepath to the socket to use                 │
│                        [default: /tmp/stdio.sock]                        │
│ --version              print the version number and exit                 │
│ --help                 Show this message and exit.                       │
╰──────────────────────────────────────────────────────────────────────────╯

Pseudo TTY CLI

 Usage: pptty [OPTIONS] COMMAND                                             
                                                                            
 Use the pty library to wrap a process in psuedo tty


╭─ Arguments ──────────────────────────────────────────────────────────────╮
│ *    command      TEXT  Command to run and expose stdio [default: None]  │
│                         [required]                                       │
╰──────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────╮
│ --help          Show this message and exit.                              │
╰──────────────────────────────────────────────────────────────────────────╯

Release files for stdio-socket 1.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stdio-socket 1.4.1
File Size Uploaded
stdio_socket-1.4.1.tar.gz 75.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for stdio-socket 1.4.1
File Interpreter ABI Platform
stdio_socket-1.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 92.4 kB

Release files / stdio_socket-1.4.1.tar.gz

Download URL stdio_socket-1.4.1.tar.gz
Size 75.9 kB
Tags Source
SHA-256 checksum
How to use checksums
700c0c10e0165052b846ca3972dfcfefb38333411ead71e410c980a893bf5ae5
BLAKE2b-256 checksum
How to use checksums
3a68edb212723578a4227aa3ca4a3db61e385e590461ec7071ecd32c46e568e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / stdio_socket-1.4.1-py3-none-any.whl

Download URL stdio_socket-1.4.1-py3-none-any.whl
Size 16.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e8797c5e5884b1bbfddf63c655a1e323549b6c3ffde0f4ccd374b73288e9ffcf
BLAKE2b-256 checksum
How to use checksums
288a00b24992a38a987912a460e18958d1637369aa8b32b75badedd447aa8431
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page