Nornir plugin for Infrahub
Infrahub by OpsMill acts as a central hub to manage the data, templates and playbooks that powers your infrastructure. At its heart, Infrahub is built on 3 fundamental pillars:
- A Flexible Schema: A model of the infrastructure and the relation between the objects in the model, that's easily extensible.
- Version Control: Natively integrated into the graph database which opens up some new capabilities like branching, diffing, and merging data directly in the database.
- Unified Storage: By combining a graph database and git, Infrahub stores data and code needed to manage the infrastructure.
Nornir
A Nornir plugin for Infrahub. Infrahub can be used as an inventory source for Nornir.
Installation
pip install nornir-infrahub
Documentation
Documentation for using Nornir is available in the Nornir-Infrahub documentation.
Development
Setup
uv sync
Linting and Formatting
invoke lint # Run all linters (yaml, ruff, pylint, ty)
invoke format # Auto-format code with ruff
Documentation
invoke docs-install # Install npm dependencies for docs
invoke docs-serve # Start dev server at http://localhost:3000
invoke docs-build # Build production documentation
invoke generate-docs # Generate plugin reference docs from docstrings
Testing
pytest # Run all tests
Metadata
Release files for nornir-infrahub 1.2.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 | |
|---|---|---|---|
| nornir_infrahub-1.2.0.tar.gz | 625.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nornir_infrahub-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 642.9 kB
Release files / nornir_infrahub-1.2.0.tar.gz
| Download URL | nornir_infrahub-1.2.0.tar.gz |
|---|---|
| Size | 625.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e21d4c0e1126ca2f6bbd062d2fa77ddc80bf44cfe366162c73c1e1a21a4d9889
|
|
BLAKE2b-256 checksum How to use checksums |
4ff37d084f6666885e2cddd1c60419096457d002e68132050d592bccd51dc7f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / nornir_infrahub-1.2.0-py3-none-any.whl
| Download URL | nornir_infrahub-1.2.0-py3-none-any.whl |
|---|---|
| Size | 17.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
498e15256cfeacb31aa79bf7e6bb4e73e77835e7b64a424168c6d865a15766e3
|
|
BLAKE2b-256 checksum How to use checksums |
d12dc9538099901ac8d3ae7ef3c1c94e6dbdbc5ee481bc098bda4de3c4387772
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|