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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ad4cca54f8f1c7aff9f49f8d462de36f17935eb8b19c85b1a61558c66537803
|
|
| MD5 |
1fb6c7fa8f5e211749f7496fc20d4f1a
|
|
| BLAKE2b-256 |
845f33154bfd8ff09db4c2c761c5a24691785c79bd4b286d6af5c09bd9fbd40b
|
File details
Details for the file py_troya_connect-0.1.29-py3-none-any.whl.
File metadata
- Download URL: py_troya_connect-0.1.29-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e9073e9eeac01b50ffc07cc03244ffb6cc630853d9fbfce96680389cd94db68
|
|
| MD5 |
d777eb7a9c063309ab98d434fe2aa9f3
|
|
| BLAKE2b-256 |
843cafb688001e7630b7fb2954fa4d443520c533bdeb2430974e76d53af4443a
|