Home Updates/Blog Projects
Projects:
Cerbose Lifeline.PYR Bakhroshungz (conlang) Worm (joke)
External linkss:
Codeberg GitHub (old, see 2026-08-10 post) DeviantArt Mastodon (furry.engineer)
Current version: v2.0.1
Cerbose is a simple, highly customisable, cross-platform Python logging
library that allows for fancy terminal text output, log message tagging,
file logging, and additional console-related features, such as
cerbar, an ASCII progress bar generator, and more.
Note: This text is directly copied from the old Cerbose website,
which was licensed under the MIT License.
Although this is now licensed under the
CC-BY-SA 4.0
as of 2026-08-2, any versions prior were licensed under the MIT License.
Additionally: I did not proofread this, I only copy-pasted it, because I was
a bit too lazy. Sorry.
Presented to you is an image of a test script, showcasing the following functions in Cerbose:
cprint — Tagged text, such as the [OK]: text preceding messages.cerbar — A simple progress bar function, like the [############--------]
in the message with the [STAT] tag.cquery — A simple function to take ✨stylish✨ user input in the terminal,
such as the [WARN][INFO]: Give feedback on the frogs.: with an input spot.cprint is Cerbose's main function; it outputs highly configurable, tagged text to the terminal.
cprint has the following options in each call:
type: The tag the output uses.text: The actual text in the output.log_file: Logs the output to a specified file.text_colour: Changes the colour of the text.subtag: Adds a second tag to the output.timestamp: Adds a timestamp preceding the tags in the output.as_string: Returns a value containing the output instead of printing it.mprint is essentially the same function as cprint, except it supports multiline output.
cerbar is a function that can easily make ASCII progress bars to output in the terminal.
cerbar has the following options in each call:
length: How many characters long the bar is (not including borders).total: The total value the bar represents (unshaded and shaded).fill: How much of the total is filled in (NOT A PERCENTAGE).percent: Adds the percentage filled either before or after the progress bar.count: Adds a counter (fill/total) either before or after the progress bar.cquery (formerly cin)
is a function to take stylised user input. It returns what the user inputted. cquery has the following options in each call:
textis the same as in cprint and tag is the same as type in cprint.options: The possible options that can be inputted (or '*' for any input).log_file, text_colour, subtag, and timestamp are the same as in cprint.lower: Recieves user input in lowercase.show_opts: If False, hides options from 'o'/'opt' mode..cyn function, which uses this function to make a y/n prompt.
Cerbose has other functions, however these are the main, meaningful functions.
Cerbose's config variables allow the following to be configured:
Cerbose is made in Python and uses the colorama library.