Skip to main content

Cerbose Logo

Language: Python Version: 2.0.0.post1 License: LGPLv3 License: MIT
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.


Test Preview Image

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 cprint in 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.

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:

jasperredis

Release files for cerbose 2.0.0.post2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cerbose 2.0.0.post2
File Size Uploaded
cerbose-2.0.0.post2.tar.gz 21.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cerbose 2.0.0.post2
File Interpreter ABI Platform
cerbose-2.0.0.post2-py3-none-any.whl Python 3 none any Details

Total release size: 44.0 kB

Release files / cerbose-2.0.0.post2.tar.gz

Download URL cerbose-2.0.0.post2.tar.gz
Size 21.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fa6d4faa501e1c408f5a2a2e25a8c393649e048f9c20d3cda9261176875a379f
BLAKE2b-256 checksum
How to use checksums
d126fa2cb64bd0c2f626792d359d794731d3ae631371b38c98c3d6d035b46d5e
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.0.post2-py3-none-any.whl

Download URL cerbose-2.0.0.post2-py3-none-any.whl
Size 22.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f6a9b858187a2d93cea607420e81d9f97a5561a74983470248cff1c32331f002
BLAKE2b-256 checksum
How to use checksums
2b16263570f8f6d674a1412fae51dcd10ff9171d3d9cd155a12ba8b8a29037d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

2.0.1

2 release files

This release

2.0.0.post2 This release

2 release files

2.0.0

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page