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.
Metadata
Release files for bearlibterminal 0.15.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| bearlibterminal-0.15.8-py2.py3-none-win_amd64.whl | Python 2, Python 3 | none | Windows x86-64 | Details |
| bearlibterminal-0.15.8-py2.py3-none-win32.whl | Python 3, Python 2 | none | Windows x86-32 | Details |
| bearlibterminal-0.15.8-py2.py3-none-manylinux2010_x86_64.whl | Python 3, Python 2 | none | Linux glibc 2.12+ x86-64 | Details |
| bearlibterminal-0.15.8-py2.py3-none-manylinux2010_i686.whl | Python 3, Python 2 | none | Linux glibc 2.12+ x86-32 | Details |
| bearlibterminal-0.15.8-py2.py3-none-macosx_10_9_universal.whl | Python 2, Python 3 | none | macOS 10.9+ universal (x86-64, i386, PPC64, PPC) | Details |
Total release size: 2.7 MB
Release files / bearlibterminal-0.15.8-py2.py3-none-win_amd64.whl
| Download URL | bearlibterminal-0.15.8-py2.py3-none-win_amd64.whl |
|---|---|
| Size | 702.8 kB |
| Tags | Python 2 Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
bb205a060c02e125439c94769ab3126a0375b0c140051b77a4d8b8c89d9697e5
|
|
BLAKE2b-256 checksum How to use checksums |
de4fd6c633157a66ecfaac69137c41b8139af35834ee7b382943d7a9140274b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.13 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9
|
Release files / bearlibterminal-0.15.8-py2.py3-none-win32.whl
| Download URL | bearlibterminal-0.15.8-py2.py3-none-win32.whl |
|---|---|
| Size | 698.8 kB |
| Tags | Python 2 Python 3 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
bf6f5fbc16d50acab65c9daebbdfbb90df975cfd506ca09f97c8fac413c26523
|
|
BLAKE2b-256 checksum How to use checksums |
545ba369f2729bce188ad78600c247dafe9f84e902bc255eecbe9307d8f11bed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.13 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9
|
Release files / bearlibterminal-0.15.8-py2.py3-none-manylinux2010_x86_64.whl
| Download URL | bearlibterminal-0.15.8-py2.py3-none-manylinux2010_x86_64.whl |
|---|---|
| Size | 449.7 kB |
| Tags | Linux glibc 2.12+ x86-64 Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
89f1183118fab4fa0bcc2a4031aa60fad89920ddd36c94dea2ada360c1ebb402
|
|
BLAKE2b-256 checksum How to use checksums |
f3689250061bf46a3411fabb60446617aa58a093a933a75d90651efa6c0a5ae8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.13 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9
|
Release files / bearlibterminal-0.15.8-py2.py3-none-manylinux2010_i686.whl
| Download URL | bearlibterminal-0.15.8-py2.py3-none-manylinux2010_i686.whl |
|---|---|
| Size | 477.6 kB |
| Tags | Linux glibc 2.12+ x86-32 Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
f28d24cb1265ea030c2164d57e7ed270b53dd41aab02b99df9267b00fe50d89c
|
|
BLAKE2b-256 checksum How to use checksums |
d3ad17170ece734c8da6b1473fa80e12f04850c407adb3fa90cf14ffa58da035
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.13 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9
|
Release files / bearlibterminal-0.15.8-py2.py3-none-macosx_10_9_universal.whl
| Download URL | bearlibterminal-0.15.8-py2.py3-none-macosx_10_9_universal.whl |
|---|---|
| Size | 392.1 kB |
| Tags | Python 2 Python 3 macOS 10.9+ universal (x86-64, i386, PPC64, PPC) |
|
SHA-256 checksum How to use checksums |
ddf5168219ba72de3af97f50d3b2757c9a0e762d095bc0da0ca79c4bb94850cd
|
|
BLAKE2b-256 checksum How to use checksums |
50f4ad3b12dde68667c590935420e15d0a220e91dfe5cce61c8a1d6625bad72b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.13 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9
|