Skip to main content

bittty

A pure Python terminal emulator library. Board is an embeddable, headless emulator core; the demo and textual-tty provide terminal frontends.

It was written as an alternative to pyte, and currently does not have a graphical front-end.

Demo

Run the standalone demo:

python ./demo/terminal.py

Or use the textual demo to see it in a TUI:

uvx textual-tty

Links

License

WTFPL with one additional clause

  1. Don't blame me

Do wtf you want, but don't blame me when it rips a hole in your trousers.

Known limitations

  • Resizing is not atomic with concurrent PTY output.
  • There is no scrollback buffer or reflow on resize.
  • Printer pages retain DEC PPL and IBM PPDS text, packed bit images, downloaded glyphs, forms, reports, status, and untimed mechanical events; DEC graphics and real-time mechanism simulation remain unsupported.

Release files for bittty 0.2.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 bittty 0.2.0
File Size Uploaded
bittty-0.2.0.tar.gz 141.3 kB Details

Built distribution (wheel)

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

Total release size: 307.7 kB

Release files / bittty-0.2.0.tar.gz

Download URL bittty-0.2.0.tar.gz
Size 141.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a44454c4719ea18ea2cbb0077a48a990e78050c03a5ae97e2034d0b95d72e681
BLAKE2b-256 checksum
How to use checksums
513df0b39d7c21913070242be6a8c0a3eeadea3a7e9167a45468a8ef98c5f64f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.21

Release files / bittty-0.2.0-py3-none-any.whl

Download URL bittty-0.2.0-py3-none-any.whl
Size 166.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
73d7dba96e7852d4a036ba5e62772531d7a572e42867923d0204861856e5b038
BLAKE2b-256 checksum
How to use checksums
ed97c0cf6241ccf5acaa5e6919b8103094d67b5e59707c3fa83e95b04aef0b9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.21

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

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