Skip to content

Figlet/Toilet like CLI tool with braille characters

License

Notifications You must be signed in to change notification settings

tribela/tbraille

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

Stars

Watchers

Forks

Packages

No packages published

Languages