nornir-infrahub


Namenornir-infrahub JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttps://opsmill.com
SummaryNornir plugin for Infrahub
upload_time2025-01-10 16:16:19
maintainerNone
docs_urlNone
authorOpsMill
requires_python<3.13,>=3.9
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <!-- markdownlint-disable -->
![Infrahub Logo](https://assets-global.website-files.com/657aff4a26dd8afbab24944b/657b0e0678f7fd35ce130776_Logo%20INFRAHUB.svg)
<!-- markdownlint-restore -->

# Nornir plugin for Infrahub

[Infrahub](https://github.com/opsmill/infrahub) by [OpsMill](https://opsmill.com) 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.

## Introduction

A [Nornir](https://github.com/nornir-automation/nornir) plugin for Infrahub. Infrahub can be used as an inventory source for Nornir.

## Installation

```bash
pip install nornir_infrahub
```

## Usage

An example of this can be found in [./examples/nornir_inventory.py](https://github.com/opsmill/nornir-infrahub/blob/stable/examples/nornir_inventory.py)

## Infrahub artifact tasks

A set of tasks are provided to operate on Infrahub Artifacts:

- `generate_artifacts`: generates the Artifacts for a Artifact Definition
- `regenerate_artifact`: re-generates an Artifact for a Nornir Host
- `get_artifact`: retrieve an Artifact for a Nornir Host

An example of this can be found in [./examples/nornir_tasks.py](https://github.com/opsmill/nornir-infrahub/blob/stable/examples/nornir_tasks.py)

            

Raw data

            {
    "_id": null,
    "home_page": "https://opsmill.com",
    "name": "nornir-infrahub",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.13,>=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "OpsMill",
    "author_email": "info@opsmill.com",
    "download_url": "https://files.pythonhosted.org/packages/8b/17/90f24d137aeaec4e0f6688d25726a27ac3c3cf0338734534ab942dd0fc72/nornir_infrahub-1.0.2.tar.gz",
    "platform": null,
    "description": "<!-- markdownlint-disable -->\n![Infrahub Logo](https://assets-global.website-files.com/657aff4a26dd8afbab24944b/657b0e0678f7fd35ce130776_Logo%20INFRAHUB.svg)\n<!-- markdownlint-restore -->\n\n# Nornir plugin for Infrahub\n\n[Infrahub](https://github.com/opsmill/infrahub) by [OpsMill](https://opsmill.com) 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:\n\n- **A Flexible Schema**: A model of the infrastructure and the relation between the objects in the model, that's easily extensible.\n- **Version Control**: Natively integrated into the graph database which opens up some new capabilities like branching, diffing, and merging data directly in the database.\n- **Unified Storage**: By combining a graph database and git, Infrahub stores data and code needed to manage the infrastructure.\n\n## Introduction\n\nA [Nornir](https://github.com/nornir-automation/nornir) plugin for Infrahub. Infrahub can be used as an inventory source for Nornir.\n\n## Installation\n\n```bash\npip install nornir_infrahub\n```\n\n## Usage\n\nAn example of this can be found in [./examples/nornir_inventory.py](https://github.com/opsmill/nornir-infrahub/blob/stable/examples/nornir_inventory.py)\n\n## Infrahub artifact tasks\n\nA set of tasks are provided to operate on Infrahub Artifacts:\n\n- `generate_artifacts`: generates the Artifacts for a Artifact Definition\n- `regenerate_artifact`: re-generates an Artifact for a Nornir Host\n- `get_artifact`: retrieve an Artifact for a Nornir Host\n\nAn example of this can be found in [./examples/nornir_tasks.py](https://github.com/opsmill/nornir-infrahub/blob/stable/examples/nornir_tasks.py)\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Nornir plugin for Infrahub",
    "version": "1.0.2",
    "project_urls": {
        "Documentation": "https://docs.infrahub.app/",
        "Homepage": "https://opsmill.com",
        "Repository": "https://github.com/opsmill/nornir-infrahub"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3b5c3ebc4329f2f4bc00d6fd9ba9c85f9aa49140cb8adcdbba29d3f7c257966e",
                "md5": "8a1f3fb6e9e7a8fa57fcc0c6d2de306d",
                "sha256": "c6dea541e4296b371dda2a0cca1b22148a4b4f194b48c5d8d36962924b3dce11"
            },
            "downloads": -1,
            "filename": "nornir_infrahub-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8a1f3fb6e9e7a8fa57fcc0c6d2de306d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.13,>=3.9",
            "size": 10391,
            "upload_time": "2025-01-10T16:16:17",
            "upload_time_iso_8601": "2025-01-10T16:16:17.967373Z",
            "url": "https://files.pythonhosted.org/packages/3b/5c/3ebc4329f2f4bc00d6fd9ba9c85f9aa49140cb8adcdbba29d3f7c257966e/nornir_infrahub-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8b1790f24d137aeaec4e0f6688d25726a27ac3c3cf0338734534ab942dd0fc72",
                "md5": "66c3ac2fe09f523dbb9069539ec9e15e",
                "sha256": "925e8131c79054b728504fcb44dbfc79ae92e4f7117e89c5a040af7cbb005135"
            },
            "downloads": -1,
            "filename": "nornir_infrahub-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "66c3ac2fe09f523dbb9069539ec9e15e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.13,>=3.9",
            "size": 9200,
            "upload_time": "2025-01-10T16:16:19",
            "upload_time_iso_8601": "2025-01-10T16:16:19.332680Z",
            "url": "https://files.pythonhosted.org/packages/8b/17/90f24d137aeaec4e0f6688d25726a27ac3c3cf0338734534ab942dd0fc72/nornir_infrahub-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-10 16:16:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "opsmill",
    "github_project": "nornir-infrahub",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "nornir-infrahub"
}
        
Elapsed time: 0.93648s