Install & Compatibility
Where this runs
tested against v4.4.6 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 24.4MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 2.1s · import 0.000s · 25MB
23MB installed
● package 23MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
main
✓ from texttestlib import main
✗ from texttest import TextTest
texttest_version
✓ from texttestlib import texttest_version
✗ from texttest import TextTest
Basic approval test that captures stdout and compares to previously approved output.
from texttest import TextTest
import os
test = TextTest(
command='echo "Hello, World!"',
name='hello_world',
directory='/tmp/texttest_example',
# For authentication or environment: use os.environ.get('KEY', '')
)
test.run()
assert test.passed
print('Test passed!')
texttest --version
Upgrade
Version history
4.4.6latest on PyPI · released Jan 26, 2026
Audit
Dependencies
No dependency data recorded yet.