Skip to main content

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

Metadata

Release files for q2terminal 0.1.17

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for q2terminal 0.1.17
File Size Uploaded Provenance Actions
q2terminal-0.1.17.tar.gz 1.9 kB Without provenance Details for q2terminal-0.1.17.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for q2terminal 0.1.17
File Interpreter ABI Platform Actions
q2terminal-0.1.17-py3-none-any.whl Python 3 none any Details for q2terminal-0.1.17-py3-none-any.whl

Total release size: 4.5 kB

Release files / q2terminal-0.1.17.tar.gz

Download URL q2terminal-0.1.17.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5a5ccb4c0a61357fd05cb6abeb328dbcdf6bbf909421e05502c8380197b6d45a
BLAKE2b-256 checksum
How to use checksums
17b70b19687d9ed97eb11185945c6140c55a8109b79101e14ad6ff5c68000a1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.0 CPython/3.11.7 Windows/10

Release files / q2terminal-0.1.17-py3-none-any.whl

Download URL q2terminal-0.1.17-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d66c3e302af53b071bbc9907d0138a6e14bbea383754415daac460c124449e5c
BLAKE2b-256 checksum
How to use checksums
e26bca270b325913b1051bb94c88b084474f94ca0a6c11a27155d0c53d8ec54b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.0 CPython/3.11.7 Windows/10

Security for q2terminal 0.1.17

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page