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

Uploaded Python 2Python 3Windows x86-64

bearlibterminal-0.15.0-py2.py3-none-win32.whl (673.1 kB view details)

Uploaded Python 2Python 3Windows x86

bearlibterminal-0.15.0-py2.py3-none-manylinux1_x86_64.whl (437.1 kB view details)

Uploaded Python 2Python 3

bearlibterminal-0.15.0-py2.py3-none-manylinux1_i686.whl (429.7 kB view details)

Uploaded Python 2Python 3

bearlibterminal-0.15.0-py2.py3-none-macosx_10_9_universal.whl (376.8 kB view details)

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

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.0-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 7c2d131451d788a6c80831c72b3b18a892246870e8b785a2f51aed0338713122
MD5 9aeaba7cd8baa7c67c33e9ad9386b804
BLAKE2b-256 4a3a55a52427c20dd2356197eac7862c65459553dab5b68eb514326280fb7a46

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.0-py2.py3-none-win32.whl
Algorithm Hash digest
SHA256 26da310b2991d20202d5acc41a9e9d5b155f92ef812b5c68be1ebbfc2e975020
MD5 e1da4c68419f1e087e0b3327464d9165
BLAKE2b-256 a9139b7830614ce66b96e5caf89b8aaaf99e62109442b5c04a7d1948ebdfba27

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.0-py2.py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e3a0379cdd15a9044cbec9a73371a2a154750647047d187b20b01ebcd0121a10
MD5 e0465a3511742fecf92a1eec8c5ddc7e
BLAKE2b-256 78246856902097ed2cb99d515d71d92310873095304f496e3c7253b8d31c6eb9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.0-py2.py3-none-manylinux1_i686.whl
Algorithm Hash digest
SHA256 a8b87b8756c63355a9e97331cd9be27cea8b701f28ae0a9238eab93ebfffe541
MD5 13fc0e7770afc613472f7eee3fc19be5
BLAKE2b-256 eb993a4837625660893fa0edf409850cdab5615509d9d3e5f8d67629630c5420

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.0-py2.py3-none-macosx_10_9_universal.whl
Algorithm Hash digest
SHA256 ebc7fc67473c8326c3261b9b2c9d79a8c68f2ba38a11327495780210f99e2f90
MD5 7cf5ab69e2ed32387381e3885a06a0e0
BLAKE2b-256 2e90a39426d25c77a75be2c87fc6cb919c607f40ca5a4a923e822be3a761ba95

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