{"id":37639091,"url":"https://github.com/dbono711/cisco-nso-restconf","last_synced_at":"2026-01-16T11:14:14.406Z","repository":{"id":266182837,"uuid":"851884749","full_name":"dbono711/cisco-nso-restconf","owner":"dbono711","description":"Python library for interacting with the Cisco Network Services Orchestrator (NSO) RESTCONF API","archived":false,"fork":false,"pushed_at":"2025-04-19T18:03:26.000Z","size":149,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-16T09:18:31.434Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/dbono711.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}},"created_at":"2024-09-03T21:19:49.000Z","updated_at":"2025-04-19T18:03:27.000Z","dependencies_parsed_at":"2024-12-03T09:51:26.287Z","dependency_job_id":null,"html_url":"https://github.com/dbono711/cisco-nso-restconf","commit_stats":null,"previous_names":["dbono711/cisco-nso-restconf"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dbono711/cisco-nso-restconf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbono711%2Fcisco-nso-restconf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbono711%2Fcisco-nso-restconf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbono711%2Fcisco-nso-restconf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbono711%2Fcisco-nso-restconf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbono711","download_url":"https://codeload.github.com/dbono711/cisco-nso-restconf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbono711%2Fcisco-nso-restconf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: 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":[],"created_at":"2026-01-16T11:14:14.348Z","updated_at":"2026-01-16T11:14:14.398Z","avatar_url":"https://github.com/dbono711.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cisco-nso-restconf\n\n## Overview\n\nThis Python library provides an interface for interacting with the Cisco Network Services Orchestrator (NSO) RESTCONF API.\n\n## Features\n\n* **RESTCONF API Access:** Use the [NSORestconfClient](cisco_nso_restconf/client.py) class to make raw GET, POST, \u0026 DELETE requests to any RESTCONF ```/data``` resource.\n* **Utility Classes:** Use pre-built helper classes, such as the [Devices](cisco_nso_restconf/devices.py) class, or [Query](cisco_nso_restconf/query.py) class, to simplify common operations, like fetching all device NED ID's.\n\n## Requirements\n\n* NSO RESTCONF Configuration\n  * To use this library, RESTCONF must be enabled in NSO. Please refer to the documentation specific to the NSO version being used to determine how to enable RESTCONF in NSO.\n\n## Installation\n\nYou can install the library using pip:\n\n```bash\npip install cisco-nso-restconf\n```\n\n## Client Class\n\nUse the [NSORestconfClient](cisco_nso_restconf/client.py) class to interact with the NSO RESTCONF API ```/data``` resource\n\n### Methods Supported\n\n* GET, POST, DELETE\n\n## Utility Classes\n\nTo make the process easier, the library also provides utility classes for specific tasks. For example, the [Devices](cisco_nso_restconf/devices.py) class simplifies interaction with ```tailf-ncs:devices``` RESTCONF resources.\n\n### Available Utility Classes\n\n| Class   | Description                                            |\n|---------|--------------------------------------------------------|\n| Devices | Interact with the NSO ```tailf-ncs:devices``` resource |\n| Query   | Interact with the NSO ```tailf-ncs:query``` resource   |\n\n### Closing Sessions\n\nWhen using the NSORestconfClient, it’s important to close the session when you’re done to free up resources. You can do this using the close() method, as shown in the examples above.\n\n## Examples\n\nThere are a number of [examples](examples) provided for utilizing the Client classes and various Helper classes, such as the ```Devices``` class. The examples are intended to showcase basic use cases/workflows for achieving a specific function in NSO, such as retrieving NED ID's, device groups, life cycle of a VLAN resource, life cycle of a service, and so on.\n\n### Running Examples\n\nTo run the examples, you'll need to install the development dependencies which include the `rich` library for enhanced terminal output. Use [UV](https://docs.astral.sh/uv/) to install these dependencies:\n\n```shell\nuv sync\n```\n\nThis will install all required dependencies, including those needed for the examples. Without installing the development dependencies, the examples that use the `rich` library for output formatting will not work.\n\n## Contributing\n\nWe welcome contributions! Feel free to open issues or submit pull requests. For development, we recommend using [UV](https://docs.astral.sh/uv/) to manage dependencies and packaging.\n\n```shell\nuv sync\n```\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbono711%2Fcisco-nso-restconf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbono711%2Fcisco-nso-restconf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbono711%2Fcisco-nso-restconf/lists"}