Tags: rich*

0 bookmark(s) - Sort by: Date ↓ / Title /

  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. A list of Python libraries that helped the author improve their automation scripts and turn duct-tape code into something trustworthy.

    * **pathlib:** Simplifies file path manipulation, making it cross-platform compatible and more readable.
    * **tenacity:** Provides a decorator for automatically retrying failed operations (like API calls) with configurable settings.
    * **rich:** Enhances logging with features like progress bars, colored output, and detailed tracebacks for better observability.
    * **schedule:** A more readable alternative to cron for scheduling tasks in Python.
    * **pydantic:** Enforces data validation, ensuring inputs conform to expected types and structures.
    * **python-dotenv:** Manages environment variables, keeping sensitive information (like API keys) separate from code.
    * **loguru:** A streamlined logging library that requires minimal configuration.
    * **watchdog:** Monitors filesystem changes and triggers actions based on those changes (event-driven automation).
    * **typer:** Creates command-line interfaces (CLIs) for Python scripts, making them more user-friendly as tools.
  3. A list of 10 Python libraries that can improve your workflow and make coding easier.

    1. **boltons:** Collection of useful Python utilities, filling gaps in the standard library.
    2. **tenacity:** Elegant retrying mechanism for functions that might fail.
    3. **diskcache:** Persistent caching system backed by a disk (SQLite).
    4. **glom:** Toolkit for easily accessing nested data structures (like JSON).
    5. **tqdm.contrib.concurrent:** Multi-threaded progress bars using `tqdm`.
    6. **anyio:** Compatibility layer for asynchronous Python code across different libraries.
    7. **deepdiff:** Detects differences between Python objects (dicts, lists, etc.).
    8. **pyrsistent:** Immutable data structures for functional programming.
    9. **structlog:** Library for creating structured, parseable logs.
    10. **pyinstrument:** Python profiler that generates flamegraphs for performance analysis.
    2025-07-18 Tags: , , , , , by klotz
  4. This article explores ten underrated Python libraries that can help automate tasks, debug faster, and improve coding efficiency.

    - **Rich**: Terminal beautification
    - **PyWhatKit**: Automation tasks
    - **Pydantic**: Data validation
    - **Black**: Code formatting
    - **HTTPie**: API testing
    - **Typer**: Building CLI applications
    - **IceCream**: Debugging
    - **Poetry**: Package management
    - **Faker**: Generating fake data
    - **Pyppeteer**: Browser automation
  5. Generate terminal UIs (TUIs) with simple text prompts using AI.
    2024-12-31 Tags: , , , , , , , , by klotz

Top of the page

First / Previous / Next / Last / Page 1 of 0 SemanticScuttle - klotz.me: tagged with "rich"

About - Propulsed by SemanticScuttle