Skip to main content

A Python interface for Attachmate Extra Terminal sessions

Project description

py-troya-connect

A Python interface for Attachmate Extra Terminal sessions.

Installation

pip install py-troya-connect

Usage

from py_troya_connect import ExtraTerminal

# Try basic operations
# Connect to a session
with ExtraTerminal("1") as terminal:
    # Send a command
    terminal.send_command("your command")
    
    # Read screen content
    screen_content = terminal.read_screen()
    for line in screen_content:
        print(line)
        
    # Wait for specific text
    if terminal.wait_for_text("Expected text", timeout=30):
        print("Text found!")

Features

  • Connect to Extra Terminal sessions
  • Send commands
  • Read screen content
  • Wait for specific text to appear
  • List available sessions

Requirements

  • Windows OS
  • Attachmate Extra! Terminal
  • Python 3.6+
  • pywin32

License

MIT License

Project details


Download files

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

Source Distribution

py_troya_connect-0.1.30.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

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

py_troya_connect-0.1.30-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file py_troya_connect-0.1.30.tar.gz.

File metadata

  • Download URL: py_troya_connect-0.1.30.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for py_troya_connect-0.1.30.tar.gz
Algorithm Hash digest
SHA256 d3c3421e475c6b192334c30a8b8b99367afcb0bf1583491053e225b7faebc94d
MD5 cf54f17d816dc4c91a5730deac1d7920
BLAKE2b-256 4739f4b3453626c26f644396aabd08fbe34bf26497ef4878d15835980f88bdfb

See more details on using hashes here.

File details

Details for the file py_troya_connect-0.1.30-py3-none-any.whl.

File metadata

File hashes

Hashes for py_troya_connect-0.1.30-py3-none-any.whl
Algorithm Hash digest
SHA256 8a89c8a5d15ba54afb222e3ce344c2756c0f2f31e8e4d18fec5b8ed299c24706
MD5 a81f53cea47a49555d20058e289ad248
BLAKE2b-256 ad3390e17e8a982b9340038e96deed38204d6c4cf55b6e6ca4b2f6e6f24a2cde

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