{"id":28486013,"url":"https://github.com/annetutil/annet","last_synced_at":"2026-04-24T14:05:49.572Z","repository":{"id":217904986,"uuid":"707865680","full_name":"annetutil/annet","owner":"annetutil","description":"Configuration generation and deploying utility for network equipment","archived":false,"fork":false,"pushed_at":"2026-03-26T17:01:01.000Z","size":2351,"stargazers_count":174,"open_issues_count":21,"forks_count":56,"subscribers_count":11,"default_branch":"main","last_synced_at":"2026-03-27T06:55:00.566Z","etag":null,"topics":["automation","network-automation"],"latest_commit_sha":null,"homepage":"https://annetutil.github.io/annet/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/annetutil.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-10-20T20:56:09.000Z","updated_at":"2026-03-26T17:00:23.000Z","dependencies_parsed_at":"2025-12-15T15:10:27.602Z","dependency_job_id":null,"html_url":"https://github.com/annetutil/annet","commit_stats":null,"previous_names":["annetutil/annet"],"tags_count":173,"template":false,"template_full_name":null,"purl":"pkg:github/annetutil/annet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/annetutil%2Fannet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/annetutil%2Fannet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/annetutil%2Fannet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/annetutil%2Fannet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/annetutil","download_url":"https://codeload.github.com/annetutil/annet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/annetutil%2Fannet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31554109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","network-automation"],"created_at":"2025-06-08T01:09:43.417Z","updated_at":"2026-04-08T12:01:12.408Z","avatar_url":"https://github.com/annetutil.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Annet - configuration generation and deploying utility for network equipment\n\n[![Telegram](https://img.shields.io/badge/💬-Telegram-blue)](https://t.me/annet_sup)\n[![PyPI version](https://badge.fury.io/py/annet.svg)](https://pypi.python.org/pypi/annet)\n[![Downloads](https://img.shields.io/pypi/dm/annet.svg)](https://pypistats.org/packages/annet)\n[![License](https://img.shields.io/github/license/annetutil/annet)](https://github.com/annetutil/annet/blob/master/LICENSE)\n[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/annetutil/annet/setup.yml)](https://github.com/annetutil/annet/actions)\n[![Doc](https://img.shields.io/github/actions/workflow/status/annetutil/annet/docs.yaml?label=docs)](https://annetutil.github.io/annet)\n\n\nAnnet is a configuration generator that can translate differences between old and new configurations into sequence of commands. This feature is vital for CLI-based devices, such as Huawei, Cisco IOS, Cisco NX-OS, Juniper. Devices configured via separate config files, Linux, FreeBSD and Cumulus are also supported.\n\nIt works this way. Annet `gen`erates configuration for a device by running Python code, which usually goes to the Network Source of Truth, like NetBox. Annet then gets the `diff`erence by getting the configuration from the device and comparing it. Finally, Annet translates the difference into a sequence of commands, called a `patch`. After `deploy`ing these commands, the diff will be empty.\n\nAnnet has a number of modes (subcommands):\n\n- ```annet gen``` - generates the entire config for the specified devices or specified parts of it\n- ```annet diff``` - first does gen and then builds diff with current config version\n- ```annet patch``` - first does diff and then generates a list of commands to apply diff on the device\n- ```annet deploy``` - first does patch and then deploys it to the device\n\nUsage help can be obtained by calling ```annet -h``` or for a specific command, such as ```annet gen -h```.\n\n\u003cimg src=\"https://github.com/annetutil/annet/blob/main/docs/_static/annet_demo.gif?raw=true\" width=\"800\" /\u003e\n\n## Configuration\n\nThe path to the configuration file is searched in following order:\n- `ANN_CONTEXT_CONFIG_PATH` env.\n- `~/.annet/context.yml`.\n- `annet/configs/context.yml`.\n\nConfig example:\n\n```yaml\ngenerators:\n  default:\n    - my_annet_generators.example\n\nstorage:\n  default:\n    adapter: annet.adapters.file.provider\n    params:\n      path: /path/to/file\n\ncontext:\n  default:\n    generators: default\n    storage: default\n\nselected_context: default\n```\n\nEnvironment variable `ANN_SELECTED_CONTEXT` can be used to override `selected_context` parameter.\n\n## Installation\n\nInstall from PyPI:\n```shell\npip install annet\n```\n\nOr install from source:\n```shell\ngit clone https://github.com/annetutil/annet\ncd annet\npip install -e .\n```\n\n## Building doc\n1. Install dependencies:\n```shell\npip install -r requirements-doc.txt\n```\n2. Build\n```shell\nsphinx-build -M html docs docs-build\n```\n3. Open rendered html in browser\n```shell\nopen docs-build/html/index.html  # macOS\nxdg-open docs-build/html/index.html  # Linux\nstart docs-build/html/index.html  # Windows\n```\n\n## Links\n\n* [Online Documentation](https://annetutil.github.io/annet/)\n* [Tutorial](https://annetutil.github.io/annet/main/usage/tutorial.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fannetutil%2Fannet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fannetutil%2Fannet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fannetutil%2Fannet/lists"}