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.15.3-py2.py3-none-win_amd64.whl (679.0 kB view details)

Uploaded Python 2Python 3Windows x86-64

bearlibterminal-0.15.3-py2.py3-none-win32.whl (674.1 kB view details)

Uploaded Python 2Python 3Windows x86

bearlibterminal-0.15.3-py2.py3-none-manylinux1_x86_64.whl (441.8 kB view details)

Uploaded Python 2Python 3

bearlibterminal-0.15.3-py2.py3-none-manylinux1_i686.whl (434.8 kB view details)

Uploaded Python 2Python 3

bearlibterminal-0.15.3-py2.py3-none-macosx_10_9_universal.whl (378.3 kB view details)

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

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.3-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 d0e2f5f9500b889bced4658b2db52b6bf04e0d8ff19b90eafa28c6972cb16f81
MD5 7b116d3712b5caa8979f166cd2367dbe
BLAKE2b-256 012408dda741c38e4b51e6006f8598b9db54418f778c791a604c3d7ad9a90ac0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.3-py2.py3-none-win32.whl
Algorithm Hash digest
SHA256 71248ca174f99bb2ee64209ff0f344161ceef5171999439d4310a131dba403ee
MD5 37540f68220ebe052884819324d93103
BLAKE2b-256 e40d0f7bcbad91021e94650d630bf33837529bfa812ea366e03deb9a1c902432

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.3-py2.py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5dc9343fa1cf4d5640d6b86b2f96042d98cb634a56b49ab28e2b2e1cae7f2721
MD5 dbf7ad818072562096c2beb8582cee24
BLAKE2b-256 925318a877003e72ff3be85b5a284275affbe5c3e23ccc7868bfc1593c441f7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.3-py2.py3-none-manylinux1_i686.whl
Algorithm Hash digest
SHA256 d20bc744f49a9f5428ce692d66b8655d9e68fa0e46c0db14ad055b45e2e2e462
MD5 345f611f0f33f4ea7fc4e595e39961cd
BLAKE2b-256 2944ddaaafa2237b6e9f616ed4d358a7cea3f150b8b6a5c2c65177ae32b8e36e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.3-py2.py3-none-macosx_10_9_universal.whl
Algorithm Hash digest
SHA256 b36ad6766a2f2ad1fe911f72b825ceb6c88c0b52b1f7dd579fa252508cac45dd
MD5 e1c4a98472a00a1ad9abf56b436adec1
BLAKE2b-256 165ee8d8f78101ac7fa7ec3fb15c8a48cf3b67c62da9b38a927bdea3a61f2b59

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