Skip to main content

bittty

A pure Python terminal emulator.

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.

Recent changes

  • 🏃 more performance
  • 🏗️ rewrite architecture
  • 🐛 scroll region: scroll up in vim corrupts outside scroll region
  • 🏃 squeeze another 15% performance out of it
  • ✀ fix utf8 and escape code splitting across buffer boundaries
  • 🪟 tests run on Windows runner
  • 📉 added parser benchmarking and tui graphs
  • 🐌 use regex for parsing to speed things up a tad (~2x faster)
  • 📚 document half a billion DEC private modes we don't support
  • 🔙 DECLM - allow \n to act like \r\n so we don't have to rely on cooked input on the pty when using as a library.
  • 🖼️ DEC Special Graphics
  • 🐌 Faster colour/style parser
  • ⛓️‍💥 Split out from textual-tty into separate package

Known limitations

  • Resizing is not atomic with concurrent PTY output.
  • There is no scrollback buffer or reflow on resize.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bittty-0.1.3.tar.gz (86.4 kB view details)

Uploaded Source

Built Distribution

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

bittty-0.1.3-py3-none-any.whl (101.7 kB view details)

Uploaded Python 3

File details

Details for the file bittty-0.1.3.tar.gz.

File metadata

  • Download URL: bittty-0.1.3.tar.gz
  • Upload date:
  • Size: 86.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.20

File hashes

Hashes for bittty-0.1.3.tar.gz
Algorithm Hash digest
SHA256 ffbc178dc0ac061af402150bc3842638b8fea11d960be6763ec87950cf86fd0a
MD5 ded8930303c81b5032550dec73471d7a
BLAKE2b-256 4399165f5c73590b5b2a991e2583ad4669e66faa170d6a7d9f4359102531c661

See more details on using hashes here.

File details

Details for the file bittty-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: bittty-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 101.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.20

File hashes

Hashes for bittty-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 57af26fa72050a9aa5385ca6072f61f551499bd3e22c7a520b6d5faec889d4b3
MD5 1ba361864868218c73c1b7cd82e21f6f
BLAKE2b-256 e4374651a0e6eedcafcd1b9997e5b46d94d4ec3e6fae5e160829de09c92ed271

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