
A simple Python package and CLI tool for easily creating logos with ASCII art.
Installation#
pip install laudanum
Usage#
To mimic laudanum’s logo.
from laudanum import Logo
logo = Logo(
text="laudanum",
font="colossal",
font_size=13,
font_color=(245, 40, 145, 255),
)
logo.create()
To keep things simple.
logo = Logo("laudanum")
logo.create()
Prefer the termianl? No problem.
laudanum --text laudanum --font colossal --fontsize 13 --fontcolor 245 40 145 255
Technical Docs#
Check the CLI documentation here.
Check the Python documentation here.
Good to Know#
Only PNG images can be created with laudanum. Transparent backgrounds FTW.
The size of the resultant logo is relative to the size of the rendered ASCII art. Resizing cannot be accomplished with laudanum for right now. Resize yourself in the meantime with another tool.
Every font in the art font gallery is available through laudanum.
The default character font file can be found in the fonts/ submodule of this package. Use the
font_path
parameter forlaudanum.logo.Logo
if you prefer something else.