Skip to main content

BearLibTerminal is a pseudoterminal window library

Project description


BearLibTerminal is a library that creates a terminal-like window facilitating flexible textual output and uncomplicated input processing.

A lot of roguelike games intentionally use asketic textual or pseudographic visual style. However, native output via the command line interface ususally have a few annoying shortcomings like low speed or palette and font restrictions. Using an extended character set (several languages at once or complicated pseudographics) may also be tricky. BearLibTerminal solves that by providing it’s own window with a grid of character cells and simple yet powerful API for configuration and textual output.

Online documentation:

Source code and issue tracker:

Discussion forum:


Use pip:

pip install bearlibterminal

This will install everything necessary to use BearLibTerminal from Python, both the wrapper and the library binary.

from bearlibterminal import terminal
terminal.printf(2, 1, "Hello, world!")
while != terminal.TK_CLOSE:


Python 2.7+ or 3.x


BearLibTerminal is distributed under the MIT license.

Project details

Download files

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

Files for bearlibterminal, version 0.15.7
Filename, size & hash File type Python version Upload date
bearlibterminal-0.15.7-py2.py3-none-macosx_10_9_universal.whl (379.3 kB) View hashes Wheel py2.py3
bearlibterminal-0.15.7-py2.py3-none-manylinux1_i686.whl (436.1 kB) View hashes Wheel py2.py3
bearlibterminal-0.15.7-py2.py3-none-manylinux1_x86_64.whl (442.9 kB) View hashes Wheel py2.py3
bearlibterminal-0.15.7-py2.py3-none-win32.whl (674.6 kB) View hashes Wheel py2.py3
bearlibterminal-0.15.7-py2.py3-none-win_amd64.whl (679.3 kB) View hashes Wheel py2.py3

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page