klotz: formatting*

0 bookmark(s) - Sort by: Date ↓ / Title / - Bookmarks from other users for this tag

  1. Rich is a Python library that adds colors, tables, progress bars, markdown rendering, and syntax highlighting to terminal output, making CLI tools and REPL sessions significantly more readable and visually polished across Linux, macOS, and Windows.
    - Its `print` is a drop-in replacement for the built-in, so you can swap it in with only an import change and embed markup like ` bold magenta » ` directly in strings
    - Can be installed into the Python REPL to automatically pretty-print any data structure you inspect
    - Supports true color and emoji on modern Windows Terminal, falling back to 16 colors on classic terminals
    - Requires Python 3.8+
    2026-08-24 Tags: , , , , , , , by klotz
  2. Gum is a utility that can enhance bash script input and output with minimal effort. It offers commands for prompting for input (lines, lists, yes/no), file picking, and displaying formatted output (markdown, tables, colors, etc.). The article details its features, installation, and provides a practical example using a number guessing game.
  3. $$logloss(theta) = - {1 over m} sum_{i=1}^m (y_i ln(hat p(y_i=1)) + (1-y_i) ln(1-hat p(y_i=1)))$$

Top of the page

First / Previous / Next / Last / Page 1 of 0 SemanticScuttle - klotz.me: Tags: formatting

About - Propulsed by SemanticScuttle