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

Uploaded Python 2Python 3Windows x86-64

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

Uploaded Python 2Python 3Windows x86

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

Uploaded Python 2Python 3

bearlibterminal-0.15.4-py2.py3-none-manylinux1_i686.whl (435.1 kB view details)

Uploaded Python 2Python 3

bearlibterminal-0.15.4-py2.py3-none-macosx_10_9_universal.whl (378.5 kB view details)

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

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.4-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 88bb03778000c806fb3b013a4eb88d7c65a11746b7f13dc27c5640ea7cccc3d3
MD5 60623d49f3706ac61e4ed5c8a34f3826
BLAKE2b-256 aca9d3dc37ceb679672c6d61f96c40c01f9f1c2d52477584d00b61836a5125ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.4-py2.py3-none-win32.whl
Algorithm Hash digest
SHA256 2c394c5eb46fc65ddc0b83454147fc33fbf7db671890af4f77d57dc46579ea91
MD5 e27ceaa45e1942dd6911d171b8c2ed0b
BLAKE2b-256 979c6cde948145afa62b202f6fbf9b9722e868e1a50a81427830e86623c8f5e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.4-py2.py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 fc5de3b68866e0deef0d4a783a7570e8b680cc297baa309e93b19becc2115ce0
MD5 bde38480adb431cdf26db12c8f6e7606
BLAKE2b-256 aa6f1105caa8dbc8d4838eee0f03be68ca1f30acecc5af9282a096a334c8aa0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.4-py2.py3-none-manylinux1_i686.whl
Algorithm Hash digest
SHA256 beee986774c31b35b2332a3eb6dee2ea21efe96b0785f90de78d36b9e78e47f1
MD5 6a67dc15c0e3c651bb173ff34fcb646a
BLAKE2b-256 0001ed952145ce73064d4fff71568d479f630b729ce2275cf290659d41bd0048

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bearlibterminal-0.15.4-py2.py3-none-macosx_10_9_universal.whl
Algorithm Hash digest
SHA256 fb00d7a1f5f0bfebccb4aad07bd9e4effed9ff71251d0c4fdf714923a23ef5a5
MD5 f9c84474f8229d384decd081305c1bc3
BLAKE2b-256 840a9401034e44165616e54133ec4d7316b0fbcca4f31c2c4c553819826d440e

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