Skip to main content

BearLibTerminal is a pseudoterminal window library

Project description

About

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: http://foo.wyrd.name/en:bearlibterminal:reference

Source code and issue tracker: https://bitbucket.org/cfyzium/bearlibterminal

Discussion forum: http://forums.roguetemple.com/index.php?topic=3896.0

Installation

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.open()
terminal.printf(2, 1, "Hello, world!")
terminal.refresh()
while terminal.read() != terminal.TK_CLOSE:
    pass
terminal.close()

Requirements

Python 2.7+ or 3.x

License

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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

bearlibterminal-0.14.12-py2.py3-none-win_amd64.whl (705.5 kB view details)

Uploaded Python 2Python 3Windows x86-64

bearlibterminal-0.14.12-py2.py3-none-win32.whl (707.1 kB view details)

Uploaded Python 2Python 3Windows x86

bearlibterminal-0.14.12-py2.py3-none-manylinux1_x86_64.whl (446.7 kB view details)

Uploaded Python 2Python 3

bearlibterminal-0.14.12-py2.py3-none-manylinux1_i686.whl (437.4 kB view details)

Uploaded Python 2Python 3

bearlibterminal-0.14.12-py2.py3-none-macosx_10_9_universal.whl (744.1 kB view details)

Uploaded Python 2Python 3macOS 10.9+ universal (x86-64, i386, PPC64, PPC)

File details

Details for the file bearlibterminal-0.14.12-py2.py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for bearlibterminal-0.14.12-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 f976fca62466c9820f00ae1046f9e608f2c23edbae3670f91375ea2563ccfd97
MD5 9c0889cb4cbaf0d4aa642242f4cb1c3d
BLAKE2b-256 422d58e2d49783343c310104c998db5a1811b28973e72bd999d07a78214e09f6

See more details on using hashes here.

File details

Details for the file bearlibterminal-0.14.12-py2.py3-none-win32.whl.

File metadata

File hashes

Hashes for bearlibterminal-0.14.12-py2.py3-none-win32.whl
Algorithm Hash digest
SHA256 bfe9f4487f2f77fefc0864c56688efbb924954056a1b20664ea8cc88f602940c
MD5 bc86ce7b7405073a2915e0efeb2a1769
BLAKE2b-256 a65059827746c8f204e0b7a904c9046485d8a61479152c1f5df8e34f6260c7df

See more details on using hashes here.

File details

Details for the file bearlibterminal-0.14.12-py2.py3-none-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for bearlibterminal-0.14.12-py2.py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ca586b9ff645ef941b4750849ed3b3a3e75e4bd76a5b24cb696da8c68ae5549b
MD5 325dacae31905101fb8db77259946fb0
BLAKE2b-256 76ad2c1eda5fe93f95b2526a563f302688fe57a667eb679d05f6f52354b9c460

See more details on using hashes here.

File details

Details for the file bearlibterminal-0.14.12-py2.py3-none-manylinux1_i686.whl.

File metadata

File hashes

Hashes for bearlibterminal-0.14.12-py2.py3-none-manylinux1_i686.whl
Algorithm Hash digest
SHA256 e3ef94c057486ec3a0f006af8d080aab5f08f02247ff08d2b5d6e193a028f078
MD5 9db84d7b07f67f115f0c6fad6e96c671
BLAKE2b-256 519dc5c83c60df48a02788e827d23980cb67ddfdad1c90ab75c1b5a2213b5e1d

See more details on using hashes here.

File details

Details for the file bearlibterminal-0.14.12-py2.py3-none-macosx_10_9_universal.whl.

File metadata

File hashes

Hashes for bearlibterminal-0.14.12-py2.py3-none-macosx_10_9_universal.whl
Algorithm Hash digest
SHA256 196dde0f89177aa7682a9880b6f358fa70d35deb69b8e6f30de9f87ebceb7b02
MD5 ba73ef16f8aec9bea77900cec56468c7
BLAKE2b-256 26c6d5261a57cb6c9fc63a09502f34392c6b3afa941289b63a807023e861c530

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page