Skip to main content

Terminal executor for AI agents, with ANSI escape sequence support and image screenshots

Project description

Terminal Executor

Terminal executor for AI agents, with ANSI escape sequence support and image screenshots.

License: UNLICENSE PyPI PyPI Downloads Code style: black

Demo

Using termexec for solving the "vimgolf-test" challenge:

vimgolf-test-success

More info at vimgolf-gym

Installation

# install from pypi
pip install termexec

# or install the latest version from github
pip install git+https://github.com/james4ever0/termexec.git

Note: if your platform does not have prebuilt binaries of agg-python-bindings, just install cargo and rustc so the source code could compile.

Usage

from termexec import TerminalExecutor

Alternatives

  • Xterm.js running in phantomjs, electron or headless playwright

  • LXterminal running in kiosk mode with x11vnc and novnc

License

The Unlicense

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

termexec-0.0.1.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

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

termexec-0.0.1-py2.py3-none-any.whl (6.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file termexec-0.0.1.tar.gz.

File metadata

  • Download URL: termexec-0.0.1.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.19

File hashes

Hashes for termexec-0.0.1.tar.gz
Algorithm Hash digest
SHA256 fd09a4c8849ef3d22c9dfdf7b27ced956843caefd2edfb8f6ae9a2b900cf595d
MD5 74eb1cd86658b7d9a58d898d4a275840
BLAKE2b-256 79794a3931e741a0fa698505126f93e06d68f4f9ded2802e9c3146e032a8a411

See more details on using hashes here.

File details

Details for the file termexec-0.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: termexec-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.19

File hashes

Hashes for termexec-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c1136b7e85e01d80da56be753a0c5d2e0c2bafc7937ea4296d1721f842d2a255
MD5 c396a0d5642ef668dd109c61133e9f7a
BLAKE2b-256 423ce9372bef34000457fdbe59dac47f9ae43e698c7644de4d66418175111ca3

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