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.29.tar.gz (8.5 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.29-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_troya_connect-0.1.29.tar.gz
  • Upload date:
  • Size: 8.5 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.29.tar.gz
Algorithm Hash digest
SHA256 2ad4cca54f8f1c7aff9f49f8d462de36f17935eb8b19c85b1a61558c66537803
MD5 1fb6c7fa8f5e211749f7496fc20d4f1a
BLAKE2b-256 845f33154bfd8ff09db4c2c761c5a24691785c79bd4b286d6af5c09bd9fbd40b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for py_troya_connect-0.1.29-py3-none-any.whl
Algorithm Hash digest
SHA256 8e9073e9eeac01b50ffc07cc03244ffb6cc630853d9fbfce96680389cd94db68
MD5 d777eb7a9c063309ab98d434fe2aa9f3
BLAKE2b-256 843cafb688001e7630b7fb2954fa4d443520c533bdeb2430974e76d53af4443a

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