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

Uploaded Python 2Python 3Windows x86-64

bearlibterminal-0.15.1-py2.py3-none-win32.whl (673.2 kB view details)

Uploaded Python 2Python 3Windows x86

bearlibterminal-0.15.1-py2.py3-none-manylinux1_x86_64.whl (437.5 kB view details)

Uploaded Python 2Python 3

bearlibterminal-0.15.1-py2.py3-none-manylinux1_i686.whl (430.1 kB view details)

Uploaded Python 2Python 3

bearlibterminal-0.15.1-py2.py3-none-macosx_10_9_universal.whl (377.1 kB view details)

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

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 544f16c1967c6b4769c926752163c469987b9a2ada005c1de06e729c31352da1
MD5 769b5ad27f6f1da3049a64889ac5ca84
BLAKE2b-256 fc89c80a3563ac0931abc3ba802a56c03fc7b56744232cfcb6a54df6b7deaab8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.1-py2.py3-none-win32.whl
Algorithm Hash digest
SHA256 419d568537d3ddb056367a94d2d5f52a23c4cec4ed68ebf960104e4c339f41ed
MD5 f569fed0a9dde5b6af28f983f6040b5c
BLAKE2b-256 f2f44f4ac915d95e37f77154476af9f54572e65ce8e1e551da1d4b0873171159

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.1-py2.py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f026d10aab76220ce26936bad376bf57913ead1200d7e8fecc352516be7766d7
MD5 675b9f183606c4d6a0900c1995a0c508
BLAKE2b-256 35f20f35ba4e90d577d7d9589c1d6535236456670eaac4e348e20e9b15493643

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.1-py2.py3-none-manylinux1_i686.whl
Algorithm Hash digest
SHA256 4f25dfac80f15c11ab37d57671550e18da92ed6d5eafd6d6c4805269526a4dc4
MD5 371034da0f3cc7900ede4afc9aa7c7b5
BLAKE2b-256 0dd9267924594b83b37bf48642fb847d181d53317144f60ddcd6c71b844d622d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.1-py2.py3-none-macosx_10_9_universal.whl
Algorithm Hash digest
SHA256 4cf232ca2459246555fee611dd6e7057cb68d485e7bdde6e83c39c7a3642d6ef
MD5 1aa556fa973691167dd4a4c690db2c82
BLAKE2b-256 b3bbab86d241916d740cebde6293b3ed080cc28e94df9d5c30c6741e75221647

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