Skip to main content

Collection of plugins and functions for nornir that don't require external dependencies

Project description

Documentation test_nornir_utils

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nornir_utils-0.3.0.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nornir_utils-0.3.0-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

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

Hashes for nornir_utils-0.3.0.tar.gz
Algorithm Hash digest
SHA256 2519efec3b794ad0d21e6dda65890a9e3304090046c445a65447b72ed4637d50
MD5 3984144035449f29a67ae5e094581d80
BLAKE2b-256 540758255fceb997c8093253b38a4d1ab90368eefb408c35f61be131e24fe3e9

See more details on using hashes here.

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

Hashes for nornir_utils-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 483a0702a0ca989d4bac18e0f4213d6451ea7a967ae033f4141cfc2ee82b3659
MD5 ae0dc52bf6797d2778dd90a3bf5bde3f
BLAKE2b-256 a9b2d2f0c26ce1af32f9f689def9071efa3e2c0fa1b61093b4b1bfeb893bea12

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page