Collection of plugins and functions for nornir that don't require external dependencies
Project description
nornir_utils
Collection of simple plugins for nornir
Installation
pip install nornir_utils
Plugins
Inventory
YAMLInventory - Create an inventory from yaml files
load_credentials - Transform function to load credentials from venv
Functions
print_result - Formats nicely and prints results on stdout.
print_title - Formats nicely a title and prints it on stdout.
Processors
PrintResult - Formats nicely and prints results on stdout as soon as they are made available.
Tasks
Data:
echo_data - Dummy task that echoes the data passed to it.
load_json - Load a JSON file.
load_yaml - Load a YAML file.
Files:
write_file - Writes content to files
Networking:
tcp_ping - Tests connection to a tcp port.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nornir_utils-0.3.0.tar.gz.
File metadata
- Download URL: nornir_utils-0.3.0.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2519efec3b794ad0d21e6dda65890a9e3304090046c445a65447b72ed4637d50
|
|
| MD5 |
3984144035449f29a67ae5e094581d80
|
|
| BLAKE2b-256 |
540758255fceb997c8093253b38a4d1ab90368eefb408c35f61be131e24fe3e9
|
File details
Details for the file nornir_utils-0.3.0-py3-none-any.whl.
File metadata
- Download URL: nornir_utils-0.3.0-py3-none-any.whl
- Upload date:
- Size: 17.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
483a0702a0ca989d4bac18e0f4213d6451ea7a967ae033f4141cfc2ee82b3659
|
|
| MD5 |
ae0dc52bf6797d2778dd90a3bf5bde3f
|
|
| BLAKE2b-256 |
a9b2d2f0c26ce1af32f9f689def9071efa3e2c0fa1b61093b4b1bfeb893bea12
|