Cerbose is a simple, cross-platform Python library, mainly for making tagged, colourful console output along with additional features.
Website |
PyPI |
jasperredis |
Cerbose |
GitHub mirror
Made by jasperredis [o]:
It is highly reccomended to check the website.
Note!
This repository was recently (as of 2026-08-10) migrated from GitHub to Codeberg. The GitHub repository is a mirror, and the Codeberg repository can be found here. To see the mirror, go here.
This wasn't done in a codeblock because they can't display colours.
- For contributing, see CONTRIBUTING.md on the Codeberg repo.
- For the changelog, see CHANGELOG.md on the Codeberg repo.
Functions
cprint
This is the highlight function of Cerbose. It outputs highly configurable tagged text to the console, and you can configure the following:
- Tag (obviously)
- Text (obviously)
- Logging (enabled, file, and optional feedback)
- Text colour
- Dual tags
- Timestamp (enabled?)
- And more through configuration.
It also has a "as_string" mode where it returns the suppposed output instead of printing it.
More info in the documentation.
mprint
The same as cprint, except it has multiline support.
cerbar
Returns an ASCII progress bar. You can configure the following:
- Length in characters
- Value being represented (obviously) in regular integers, not percentages.
- Optionally add the percentage represented be before/after the progress bar.
- Optionally add the amount represented (fill/total) before/after the progress bar.
- And more through configuration files.
More info in the documentation.
cquery
Takes user input and returns the input. You can configure the following:
- Prompt (obviously)
- All options for
cprintin the prompt. - 'i' and 'o' mode. 'i' allows any text input (remember to set options to 'any'!), and 'o' has a strict set of options.
- Recieving user input as lowercase (enabled?)
More info in the documentation.
Configuration
Cerbose can be more highly configured via config variables/functions. As always, the documentation has the best information on this, but here is roughly what you can configure with these:
- Tag colours
- Tag text
- Symbols (brackets, cerbar contents, etc.)
- Timestamp format
- Space repeat tolerance (check documentation)
Licensing
Always, for more information related to licenses in Cerbose, check the LICENSE file in the project root and the files it refers to.
- Cerbose, the Python script itself, is licensed under the GNU Lesser General Public License v3.0 or later. What constitutes as the script itself is any file in the src/ directory of this repository.
- See the LICENSE-LGPL file for more info.
- The LGPLv3 is an extension of the GNU General Public License v3. See the LICENSE-GPL file for more info.
- All other files (e.g., docs, examples), with reasonable exception of license-related files are under the MIT License.
- See the LICENSE-MIT file for more info.
REMINDER: The best source of licensing information in Cerbose (and most other projects you will encounter) is the LICENSE file at the project root.
Primarily made by:
Release files for cerbose 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cerbose-2.0.1.tar.gz | 21.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cerbose-2.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 44.2 kB
Release files / cerbose-2.0.1.tar.gz
| Download URL | cerbose-2.0.1.tar.gz |
|---|---|
| Size | 21.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a0d411dfb8ada8c2130dbb785c0799b4aacd8e909c4fd139b517830188a488a
|
|
BLAKE2b-256 checksum How to use checksums |
db2b8e1228906d862bfc8912255f4baf8a4f2340b2d1ec1c3ffc21839d3734dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / cerbose-2.0.1-py3-none-any.whl
| Download URL | cerbose-2.0.1-py3-none-any.whl |
|---|---|
| Size | 22.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d2e5324d7ee9b3eed26391fa3772012c0a62bcdaec1929ddf62ad40b06b9c76
|
|
BLAKE2b-256 checksum How to use checksums |
da3a61418b8705f5b94175245c5beb4091609ec3f064476ad92b85c5d6528c22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|