{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/5"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/9"},{"label":"Terminals","url":"https://skillfed.io/packages/category/terminals"},{"label":"Terminal Emulators/X Terminals","url":"https://skillfed.io/packages/category/terminals-terminal-emulators-x-terminals"}],"enrichment":{"capability":"Operates the pseudo-terminal (PTY) allocated to a Docker container, enabling interactive terminal control of containerized processes from Python.","skillfed_tags":["docker-integration","terminal-control","abandoned"],"use_cases":["Run interactive shell sessions inside Docker containers from Python scripts, giving users direct terminal control.","Implement programmatic container debugging or administration tools that need real-time terminal interaction.","Stream container output in non-TTY mode when interactive control is not required.","Detach from and re-attach to running containers without stopping them."],"what_it_does":"dockerpty is a Python library that bridges the gap between a host terminal and a Docker container's pseudo-terminal (PTY), allowing you to run interactive shell sessions inside containers as if you were directly connected to them. It handles the low-level details of terminal control: piping stdin/stdout/stderr between host and container, managing raw terminal mode, handling window resize signals, and restoring terminal state on exit.\n\nThe library is designed for scenarios where you need programmatic, interactive access to a container's shell from Python. It also supports non-TTY attachment for streaming container output. However, the project is abandoned (last release 2016-02-04, no commits since 2019-10-16) and does not explicitly declare its runtime dependency, creating friction for new installations and raising questions about compatibility with modern tooling.","worth_installing":"No. The package is abandoned (last release 2016-02-04, no commits since 2019-10-16) and does not explicitly declare its runtime dependency, creating installation friction and compatibility risk. Modern Docker tooling has evolved significantly since then. Consider using maintained alternatives or the official Docker SDK for interactive container control."},"id":"dockerpty","links":{"html":"https://skillfed.io/packages/dockerpty","md":"https://skillfed.io/packages/dockerpty.md","pypi":"https://pypi.org/project/dockerpty/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2016-02-04","license_spdx":null,"license_treatment":"permissive","name":"dockerpty","python_support":"unspecified","summary":"Python library to use the pseudo-tty of a docker container"},"popularity":{"monthly_downloads":706753,"position":5271,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.1"}
