Nornir Nuts Plugin
This repository contains Nornir plugins designed for use with Nuts.
CachedThreaded Runner
The CachedThreadedRunner is an extension of the threaded runner from Nornir. Task results are cached in a class variable, and if the cache contains the task result, the cached result is returned. Be aware of the limitations: significant memory consumption is possible, and the results are shared. Therefore, modifying a Result object can lead to side effects.
pip install nornir-nuts
InitNornir(
runner={
"plugin": "cachedThreaded",
"options": {
"num_workers": 100,
},
},
inventory={
"plugin": "SimpleInventory",
"options": {
"host_file": "tests/demo_inventory/hosts.yaml",
"group_file": "tests/demo_inventory/groups.yaml",
},
},
)
Metadata
Release files for nornir-nuts 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nornir_nuts-0.1.0.tar.gz | 2.0 kB | Without provenance | Details for nornir_nuts-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nornir_nuts-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for nornir_nuts-0.1.0-py3-none-any.whl |
Total release size: 4.6 kB
Release files / nornir_nuts-0.1.0.tar.gz
| Download URL | nornir_nuts-0.1.0.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26a7270ef0e9940fec827867a5beb951e740dc8803385a5d688a2254bdc617ae
|
|
BLAKE2b-256 checksum How to use checksums |
038184e9b6dffb2a2d4d34a8dea06204bf6615629ca64d0a06506431ec5656f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / nornir_nuts-0.1.0-py3-none-any.whl
| Download URL | nornir_nuts-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6a6caa4416720ea34852bd4b4b094e8d003f9904be73fa37c7df9fcc08b01e72
|
|
BLAKE2b-256 checksum How to use checksums |
99bd88edf334170ba6671740296e28c48b1e9ef21d3a05f4c59a96c8db7693d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Security for nornir-nuts 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.