Skip to main content

Play script in pty

Project description

playpty

This is a tool that reads from a file and simulates user input on tty

This is only tested in democtl

Release page

Install

python3 -m pip install playpty

Usage

python3 -m playpty /path/to/file.demo

Built-in command

These are the commands that will not be displayed with running

  • @pause wait press entry
  • @sleep [float] like sleep in shell
  • @typing-interval [float] change the typing interval(default 0.1)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

playpty-0.4.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file playpty-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: playpty-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for playpty-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0de51b725e787772e8ef8f6ef06ce5339181236383e4026f001c104678a2c220
MD5 b34fa0999be3721ff46d81c9f50b6ddf
BLAKE2b-256 fb77a8b0e48c7268e2691c7e68e48ac5f648be3d9024e1a82817ee20472e8862

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page