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.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: playpty-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8bc6dc3edd4651e25bf51e198606717b522063b11085a51170ee3fe890e05b64
MD5 e330b9fe189d0006b3c6d501c6793aa1
BLAKE2b-256 a95c61af55cb96d6ac70d93ceab3d80d13f8fe96d568f11b0eb6e6d167097d9c

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