Skip to main content

No project description provided

Project description

Python application

Interaction with a terminal session

from q2terminal.q2terminal import Q2Terminal
import sys

t = Q2Terminal()
t.run("programm", echo=True)
assert t.exit_code != 0

assert t.run("$q2 = 123") == []
assert t.run("echo $q2") == ["123"]


if "win32" in sys.platform:
    t.run("notepad")
    assert t.exit_code == 0

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

q2terminal-0.1.10.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

q2terminal-0.1.10-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file q2terminal-0.1.10.tar.gz.

File metadata

  • Download URL: q2terminal-0.1.10.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.11.0 Windows/10

File hashes

Hashes for q2terminal-0.1.10.tar.gz
Algorithm Hash digest
SHA256 e8ac6d91f52a193a6ad93faaac9b228240142182daca76ddeb59216b67db226c
MD5 c775b69cfe48f38c9cd393da2e88d02f
BLAKE2b-256 0e7e76f6a5c37fd3315c9a9984832e4f04d0b2d7f92595500d6e60a2cf742247

See more details on using hashes here.

File details

Details for the file q2terminal-0.1.10-py3-none-any.whl.

File metadata

  • Download URL: q2terminal-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 2.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.11.0 Windows/10

File hashes

Hashes for q2terminal-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 af8987b3cda81bfe651e4a44824d2e3fa78ba71cf1fcbc73da1768b8da4bf3d7
MD5 c9bd905f547e1254d61d1cd658cbe202
BLAKE2b-256 4010037dc40dc24aaad2df4fab8c61f0b322823ec21d97fe204e56edcb824bc0

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