close
The Wayback Machine - https://web.archive.org/web/20201117135358/https://github.com/Kjwon15/tbraille
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.rst

⣀⣀⣀⣀⣀⣀⢠⣤⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⣶⡆⠀⢠⣤⣤⡄⠀⠀⢠⣤⣤⡄
⠉⠉⣿⣿⠉⠉⢸⣿⣤⣤⣤⡀⠀⣤⣄⣤⣤⡄⢀⣤⣤⣤⣤⠀⢠⣤⣤⣤⡄⠀⠀⠀⣿⡇⠀⠀⠀⠀⣿⡇⠀⠀⠀⣠⣤⣤⣤⡀
⠀⠀⣿⣿⠀⠀⢸⣿⠋⠉⣿⡇⠀⣿⡿⠉⠉⠁⢀⣩⣭⣽⣿⡇⠀⠀⢸⣿⡇⠀⠀⠀⣿⡇⠀⠀⠀⠀⣿⡇⠀⠀⢸⣿⣭⣭⣿⡇
⠀⠀⣿⣿⠀⠀⢸⣿⣷⣶⣿⠇⠀⣿⡇⠀⠀⠀⠸⣿⣿⣿⣿⡇⠀⠀⢸⣿⡇⠀⠀⠀⢿⣷⣶⡆⠀⠀⢿⣷⣶⡆⠘⢿⣶⣶⣶⠆

tbraille — Toilet/Figlet-like CLI tool

Installation and Usage

$ pip install tbraille
$ tbraille -f NotoMono-Regular -s 20 "¡Apagando las luces!"

⠀⠀⠀⠀⠀⠀⠀⠀⣶⣶⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠛⢻⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠛⢻⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢶⡶
⠀⠀⠿⠿⠀⠀⠀⣸⡟⢿⣇⠀⢸⣿⠟⠻⣿⡄⠀⠿⠛⠻⣿⡀⢠⣿⠛⢻⣿⠃⠀⠿⠛⠻⣿⡀⢸⣿⠟⠛⣿⡄⢠⣿⠟⠻⣿⡇⢠⣾⠟⠻⣷⡄⠀⠀⠀⠀⠀⠀⠀⠀⢸⡇⠀⠀⠀⠿⠛⠻⣿⡀⠀⣾⡟⠛⠿⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⡇⠀⠀⢸⣿⠀⠀⣿⡇⢀⣾⠟⠛⠻⠃⢠⣾⠟⠛⣿⡆⠀⣾⡟⠛⠿⠀⠀⠀⢸⡇
⠀⠀⢰⡆⠀⠀⢠⣿⠷⠾⣿⡄⢸⣿⠀⠀⣿⡇⢰⣿⠛⢛⣿⡇⠈⣿⡶⠾⠟⠀⢰⣿⠛⢛⣿⡇⢸⣿⠀⠀⣿⡇⢸⣿⠀⠀⣿⡇⢸⣯⠀⠀⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⢸⡇⠀⠀⢰⣿⠛⢛⣿⡇⠀⠙⠻⢿⣶⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⡇⠀⠀⢸⣿⠀⠀⣿⡇⢸⣿⡀⠀⠀⠀⢸⣿⠛⠛⠛⠃⠀⠙⠻⢿⣶⠀⠀⠀⠸⠇
⠀⠀⢸⡇⠀⠀⠾⠏⠀⠀⠹⠷⢸⣿⠷⠾⠿⠁⠘⠿⠶⠾⠿⠇⢠⣿⠿⠶⣶⡆⠘⠿⠶⠾⠿⠇⠸⠿⠀⠀⠿⠇⠈⠿⠷⠾⠿⠇⠈⠻⠷⠾⠟⠁⠀⠀⠀⠀⠀⠀⠰⠶⠾⠷⠶⠆⠘⠿⠶⠾⠿⠇⠸⠷⠶⠾⠟⠀⠀⠀⠀⠀⠀⠀⠰⠶⠾⠷⠶⠆⠘⠿⠶⠾⠿⠇⠀⠻⠷⠶⠾⠇⠈⠻⠷⠶⠾⠇⠸⠷⠶⠾⠟⠀⠀⠀⠿⠿
⠀⠀⠾⠷⠀⠀⠀⠀⠀⠀⠀⠀⠸⠿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠸⠷⠤⠤⠾⠇

Use as library

>>> from tbraille.board import Board
>>> board = Board(10, 10)
>>> for i in range(10):
...     board[i, i] = 1
...
>>> print(str(board))
⠑⢄
⠀⠀⠑⢄
⠀⠀⠀⠀⠑

About

Figlet/Toilet like CLI tool with braille characters

Topics

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.