Skip to main content

Build Status Ruff Coverage Status

Nornir

logo

Nornir is a pure Python automation framework intented to be used directly from Python. While most automation frameworks use their own Domain Specific Language (DSL) which you use to describe what you want to have done, Nornir lets you control everything from Python.

One of the benefits we want to highlight with this approach is the ease of troubleshooting, if something goes wrong you can just use your existing debug tools directly from Python (just add a line of import pdb & pdb.set_trace() and you're good to go). Doing the same using a DSL can be quite time consuming.

What Nornir brings to the table is that it takes care of dealing with your inventory and manages the job of dispatching the tasks you want to run against your nodes and devices. The framework provides a very simple way to write plugins if you aren't happy with the ones we ship. Of course if you have written a plugin you think can be useful to others, please send us your code and test cases as a pull request.

Install

Install Nornir with pip.

pip install nornir

Plugins

Since version 3.0.0 nornir doesn't ship with plugins, instead you can rely on pip to install them for you. You can find a non-exhaustive list of plugins here: https://nornir.readthedocs.io/en/latest/community/plugin_list.html

If you wrote a plugin and want to add it to the list don't hesitate to add it yourself

Development version

If you want to clone the repo and install it from there you will need to use uv.

Documentation

Read the Nornir documentation online or review its code here

External Resources

Below you can find links to talks, blog posts, podcasts and other resources:

Bugs & New features

If you think you have bug or would like to request a new feature, please register a GitHub account and open an issue.

Contact & Support

Official channel for communicating issues is via GitHub issues and you can use GitHub discussions for general discussions around nornir.

In addition, you can join the community in our #nornir channel in the OpsMill Discord server.

There's also a Slack channel in the networktoCode Slack team that's being monitored.

Contributing to Nornir

If you want to help the project, the Contribution Guidelines is the best place to start.

Metadata

Release files for nornir 3.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nornir 3.6.1
File Size Uploaded Provenance Actions
nornir-3.6.1.tar.gz 34.6 kB Without provenance Details for nornir-3.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nornir 3.6.1
File Interpreter ABI Platform Actions
nornir-3.6.1-py3-none-any.whl Python 3 none any Details for nornir-3.6.1-py3-none-any.whl

Total release size: 72.2 kB

Release files / nornir-3.6.1.tar.gz

Download URL nornir-3.6.1.tar.gz
Size 34.6 kB
Tags Source
SHA-256 checksum
How to use checksums
89d052e507c92a6a804afa90bb98c965db94e0fd34705a2cd45a6a6e2e519f7a
BLAKE2b-256 checksum
How to use checksums
e5c46d18a40f4ef42481ebf75cd37d2ea26488fb60a45e8c03e20346c24372b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","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}

Release files / nornir-3.6.1-py3-none-any.whl

Download URL nornir-3.6.1-py3-none-any.whl
Size 37.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a611d2ee7d9f9bfd4fbc701706ffe0661736ae0ea20d6a589dda5ee053d8622f
BLAKE2b-256 checksum
How to use checksums
c4e3472c340ff95c7a3ef1f809e5ed17bfb950f263368c55cc7404972d995ca3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","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}

Security for nornir 3.6.1

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.

Release history Release notifications | RSS feed

This release

3.6.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page