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

Uploaded Python 2Python 3Windows x86-64

bearlibterminal-0.15.7-py2.py3-none-win32.whl (674.6 kB view details)

Uploaded Python 2Python 3Windows x86

bearlibterminal-0.15.7-py2.py3-none-manylinux1_x86_64.whl (442.9 kB view details)

Uploaded Python 2Python 3

bearlibterminal-0.15.7-py2.py3-none-manylinux1_i686.whl (436.1 kB view details)

Uploaded Python 2Python 3

bearlibterminal-0.15.7-py2.py3-none-macosx_10_9_universal.whl (379.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.7-py2.py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for bearlibterminal-0.15.7-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 8c48d0d046d6efcac3bbdd6db736f5896695d462a883af4a40a460e306f08fc5
MD5 a9770ad9f01c5baed28050f93e44afe3
BLAKE2b-256 35f774b4202b80dbd84a30627ab5e279cd757a9423c50b21d541bdc43ae0d642

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.7-py2.py3-none-win32.whl
Algorithm Hash digest
SHA256 f1ccb6e374cb030f3605120a4d648ffe48084b6f8173a17a6f3696efd489791a
MD5 815ba12044bb2cce2e0363593eb0a75a
BLAKE2b-256 7f09e8525514715f76bada4dc4de181f3cd4f8a08f3a659cbc1cd715b64d7dce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.7-py2.py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ad95ef42ea7d733dda43b64213676e39cd3e0b311fd72034e509fd036fa82f41
MD5 b67e2637ceded992694984a546242bff
BLAKE2b-256 72bca69c6089d4410bbcd7e2fea7fc8eae905c9ec45c72a48bd32cfa9372a2a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.7-py2.py3-none-manylinux1_i686.whl
Algorithm Hash digest
SHA256 c6cde8992148364b8d7142c885dce0eac704d7a222af80c4b23d10e167efc9ef
MD5 90455543771aa1bbff07c6ccd0fa5eb6
BLAKE2b-256 effc49c29e33123644ac59f136fdc07f6a536808383aab94b3f38fc81edf02ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.7-py2.py3-none-macosx_10_9_universal.whl
Algorithm Hash digest
SHA256 b89b347c5e9f5327ccd23832c6df1f8a163b4762b654c28ceb7207f5e3f4f411
MD5 b45d43a035ae38a3aa29b392b518222c
BLAKE2b-256 a4884cf992e816a14a868e81cde776fcb7e1760fb7c475cfe7ca540ce504a8bd

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