{"id":22220914,"url":"https://github.com/nokia/pygnmi","last_synced_at":"2025-09-12T20:40:21.928Z","repository":{"id":152002277,"uuid":"93176687","full_name":"nokia/pygnmi","owner":"nokia","description":"Python tools for gNMI","archived":false,"fork":false,"pushed_at":"2020-08-03T15:09:54.000Z","size":12,"stargazers_count":28,"open_issues_count":7,"forks_count":7,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-07-15T22:11:39.317Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/nokia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-06-02T15:00:15.000Z","updated_at":"2024-02-04T10:55:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4cf3e2f-e42b-4d03-870d-99d220f27e7b","html_url":"https://github.com/nokia/pygnmi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nokia/pygnmi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nokia%2Fpygnmi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nokia%2Fpygnmi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nokia%2Fpygnmi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nokia%2Fpygnmi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nokia","download_url":"https://codeload.github.com/nokia/pygnmi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nokia%2Fpygnmi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274873613,"owners_count":25365824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-12T02:00:09.324Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-12-02T23:10:55.686Z","updated_at":"2025-09-12T20:40:21.921Z","avatar_url":"https://github.com/nokia.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pygnmi\nPython tools for gNMI\n\n## Installation\nPython tools for gNMI can be used with Python 2.7 and Python3.\nPlease follow gRPC Installation Guide from:\nhttps://github.com/grpc/grpc/blob/master/INSTALL.md\n\n```\n$ pip install --upgrade pip\n$ pip install grpcio\n$ curl -O https://raw.githubusercontent.com/openconfig/gnmi/c5b444cd3ab8af669d0b8934f47a41ed6a985cdc/proto/gnmi/gnmi_pb2.py\n$ python gNMI_Subscribe.py --help\n```\n\n## Usage Example:\n\n```\n$ python gNMI_Subscribe.py  --server 192.168.33.2:57400 --username grpc --password Nokia4gnmi --cert CAcert.pem --ciphers AES128 /state/port[port-id=1/1/1]/ethernet/statistics/out-utilization\n17/12/04 16:02:43,160 Sending SubscribeRequest\nsubscribe {\n  subscription {\n    path {\n      elem {\n        name: \"state\"\n      }\n      elem {\n        name: \"port\"\n        key {\n          key: \"port-id\"\n          value: \"1/1/1\"\n        }\n      }\n      elem {\n        name: \"ethernet\"\n      }\n      elem {\n        name: \"statistics\"\n      }\n      elem {\n        name: \"out-utilization\"\n      }\n    }\n    mode: SAMPLE\n    sample_interval: 10000000000\n  }\n}\n\n17/12/04 16:02:54,532 Update received\nupdate {\n  timestamp: 1512399461394858020\n  prefix {\n    elem {\n      name: \"state\"\n    }\n    elem {\n      name: \"port\"\n      key {\n        key: \"port-id\"\n        value: \"1/1/1\"\n      }\n    }\n    elem {\n      name: \"ethernet\"\n    }\n    elem {\n      name: \"statistics\"\n    }\n  }\n  update {\n    path {\n      elem {\n        name: \"out-utilization\"\n      }\n    }\n    val {\n      json_val: \"0\"\n    }\n  }\n}\n\n\n^C\n17/12/04 16:03:04,511 gNMI_Subscribe stopped by user\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnokia%2Fpygnmi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnokia%2Fpygnmi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnokia%2Fpygnmi/lists"}