python-nornir-rich
Port variant v13
Summary Pretty display functions for nornir (3.13)
BROKEN
Package version 0.2.0
Homepage https://github.com/InfrastructureAsCode-ch/nornir_rich
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v12
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 15 NOV 2024, 16:08:50 UTC
Port created 08 JAN 2023, 04:18:24 UTC
Subpackage Descriptions
single # nornir_rich ## Install ```bash pip install nornir-rich ``` ## Usage Features - Print functions - `print_result` - `print_failed_hosts` - `print_inventory` - Processors - `progressbar` ### Print example ```python from nornir_rich.functions import print_result results = nr.run( task=hello_world ) print_result(results) print_result(results, vars=["diff", "result", "name", "exception", "severity_level"]) ``` ### Progress bar example ```python from time import sleep from nornir_rich.progress_bar import RichProgressBar def random_sleep(task: Task) -> Result: delay = randrange(10) sleep(delay) return Result(host=task.host, result=f"{delay} seconds delay") nr_with_processors = nr.with_processors([RichProgressBar()]) result = nr_with_processors.run(task=random_sleep) ``` ## Images ### Print Inventory ![Print inventory] ### Print Result ![Print Result] ### Progress Bar ![Progress Bar] More [examples]
Configuration Switches (platform-specific settings discarded)
PY312 OFF Build using Python 3.12 PY313 ON Build using Python 3.13
Package Dependencies by Type
Build (only) python313:dev:std
python-pip:single:v13
autoselect-python:single:std
Build and Runtime python313:primary:std
Runtime (only) python-nornir:single:v13
python-rich:single:v13
Download groups
main mirror://PYPIWHL/f6/41/343c6e5c59921d14f656ca5aca5c700dcd7ab40e4b9c9cf24f8aa349adfd
Distribution File Information
19c48ec3c8ea0cb47c84a1bcb65a4a380f814265cbaec809dfd064c220e68b07 5656 python-src/nornir_rich-0.2.0-py3-none-any.whl
Ports that require python-nornir-rich:v13
python-netbox-network-importer:v13 Tool to import network into Netbox (3.13)