Skip to main content

TE-RBS

Terminal Emulator – Rift Bend Simulator is a small, dependency-free Python library with 30 utilities for terminal/TTY detection, ANSI formatting, cursor control, and text layout.

Import it as te_rbs:

from te_rbs import color, cursor_up, progress_bar, terminal_size

print(color("Rift Bend Simulator", "cyan"))
print(progress_bar(0.65, width=30))
print(terminal_size())

The library returns ANSI sequences rather than writing them directly, so callers control when terminal state changes are emitted. wrap_text, truncate, pad, and center operate on plain Python character counts; visible_width estimates display width for Unicode text and ignores ANSI sequences.

The 30 utilities

TTY detection and sizing: is_tty, terminal_size, supports_color.

ANSI and display text: strip_ansi, visible_width, style, color, rgb, hyperlink, set_title, reset_style.

Cursor and screen control: cursor_up, cursor_down, cursor_forward, cursor_back, move_cursor, save_cursor, restore_cursor, clear_screen, clear_line, erase_to_end, erase_to_start, hide_cursor, show_cursor.

Text layout and indicators: wrap_text, truncate, pad, center, progress_bar, spinner_frames.

Metadata

Release files for te-rbs 0.1.0

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

Source distribution (sdist)

Source distribution for te-rbs 0.1.0
File Size Uploaded
te_rbs-0.1.0.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for te-rbs 0.1.0
File Interpreter ABI Platform
te_rbs-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.2 kB

Release files / te_rbs-0.1.0.tar.gz

Download URL te_rbs-0.1.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
473d54f33a2577f71b045749b65b9891662773f8d8bffe0516bb6b0f691548ba
BLAKE2b-256 checksum
How to use checksums
013355f7df5c3d2492c0b8551c1b738688fff673e91691e2d6a7c48422761179
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":"20261004.0.606936","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / te_rbs-0.1.0-py3-none-any.whl

Download URL te_rbs-0.1.0-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
64fa6c7f174f366cea8c6c81b985e6fa636d80894a13917086ae8724d521ac4b
BLAKE2b-256 checksum
How to use checksums
e6682fe91c02d9e973b7c10bc98c5938fca01b3f81c724aff186a08b53a962c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":"20261004.0.606936","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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