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

Uploaded Python 2Python 3Windows x86-64

bearlibterminal-0.15.5-py2.py3-none-win32.whl (674.2 kB view details)

Uploaded Python 2Python 3Windows x86

bearlibterminal-0.15.5-py2.py3-none-manylinux1_x86_64.whl (442.2 kB view details)

Uploaded Python 2Python 3

bearlibterminal-0.15.5-py2.py3-none-manylinux1_i686.whl (435.2 kB view details)

Uploaded Python 2Python 3

bearlibterminal-0.15.5-py2.py3-none-macosx_10_9_universal.whl (378.6 kB view details)

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

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.5-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 f8a12de3c50db2887688267804b64cff21cb7cf913455dfbe5aff12c3b037211
MD5 14c58e0c9534304fa7433e837b0f2a6a
BLAKE2b-256 e8e32459851b7e38a7f40dba3c33b44630002c5627245e6cb6a7f0535dafae82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.5-py2.py3-none-win32.whl
Algorithm Hash digest
SHA256 cecf7641d8cd6cdfda48e04f57c831943a559f944aae9373c01ffda68966ce66
MD5 9551da3d91a65a2bdee28b433d5c0a60
BLAKE2b-256 64dc096b671eb48cc0eb89ea75b1d51a94bc5996b38e6f23f53d22508d6a660c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.5-py2.py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6b8673f91b7125a3af80588c6f12fb395d1b213cff5f5b9afe9898f737e5986d
MD5 68a23cc0646aeb49b59d30fb7cc9e15c
BLAKE2b-256 077ecad0216335ad21481342d3bcc312c877b0769f3c53517d9857f4b595c2d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.5-py2.py3-none-manylinux1_i686.whl
Algorithm Hash digest
SHA256 44f59c855d12926dd7f2171b8587918addb183d6c2a143982d343bf138ce428f
MD5 688a12a3225018fa3dcd1f59286a63ea
BLAKE2b-256 f528175e99bda15f773f6a86024763e2e09691d9928614be42b4e48e4bdd11e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.5-py2.py3-none-macosx_10_9_universal.whl
Algorithm Hash digest
SHA256 53071cb9ca9db7222bb20683918ce92b5f7a63f0a4c6f5ad13f692aec6788ecd
MD5 ad82d3869d4e561ad52f5d559caeb305
BLAKE2b-256 fc0f408379c008f99be6d70ff14d0e8e4bac1261c41e6cf69f6e43e84514a675

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