{"id":20588877,"url":"https://github.com/ciscodevnet/uniq","last_synced_at":"2025-04-14T22:03:57.858Z","repository":{"id":79736068,"uuid":"59696477","full_name":"CiscoDevNet/uniq","owner":"CiscoDevNet","description":"A Python API client library for Cisco's Application Policy Infrastructure Controller Enterprise Module (APIC-EM) Northbound APIs.","archived":false,"fork":false,"pushed_at":"2017-06-14T20:08:13.000Z","size":749,"stargazers_count":45,"open_issues_count":2,"forks_count":15,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-04-14T22:03:43.497Z","etag":null,"topics":["apic-em","iwan","pnp","python","python-3","rest","rest-api","uniq"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CiscoDevNet.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":"2016-05-25T20:46:46.000Z","updated_at":"2024-02-04T11:31:36.000Z","dependencies_parsed_at":"2023-05-16T08:15:34.074Z","dependency_job_id":null,"html_url":"https://github.com/CiscoDevNet/uniq","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CiscoDevNet%2Funiq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CiscoDevNet%2Funiq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CiscoDevNet%2Funiq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CiscoDevNet%2Funiq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CiscoDevNet","download_url":"https://codeload.github.com/CiscoDevNet/uniq/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248968737,"owners_count":21191159,"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","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":["apic-em","iwan","pnp","python","python-3","rest","rest-api","uniq"],"created_at":"2024-11-16T07:26:55.897Z","updated_at":"2025-04-14T22:03:57.851Z","avatar_url":"https://github.com/CiscoDevNet.png","language":"Python","readme":"![uniq](uniq.png?raw=true \"uniq\")\n\n[![PyPI version](https://badge.fury.io/py/uniq.svg)](https://badge.fury.io/py/uniq)\n\nuniq is a Python API client library for Cisco's Application Policy Infrastructure Controller Enterprise Module (APIC-EM) Northbound APIs.\n\n# Description\n\nThe APIC-EM Northbound Interface is the only API that you will need to control your network programmatically. The API is function rich and provides you with an easy-to-use, programmatic control of your network elements, interfaces, and hosts.\n\nThe APIC-EM API provides you with the ability to think about your network at a higher policy level rather than how to implement that policy. When you use the APIC-EM API, your applications will make network policy decisions, which will then be implemented by the APIC-EM Controller through its Southbound Interfaces. Thus you tell the network what you want (i.e., the policy) and the controller figures out how to implement that policy for you.\n\nThe APIC-EM API is REST based and thus you will discover and control your network using HTTP protocol with HTTP verbs (i.e., GET, POST, PUT, and DELETE) with JSON syntax.\n\nThis package provides a handle to this rich API library in an easy to consume fashion.\n\n# Getting Started\n\n### Install\nTo install uniq, simply\n\n``` bash\npip install uniq\n```\n\n### Use\nImport the package and make an API call.\n\n``` python\nfrom uniq.apis.nb.client_manager import NbClientManager\n\nclient = NbClientManager(\n    server=\"1.1.1.1\",\n    username=\"username\",\n    password=\"password\",\n    connect=True)\n\n# NorthBound API call to get all users\nuser_list_result = client.user.getUsers()\n\n# Serialize the model object to a python dictionary\nusers = client.serialize(user_list_result)\n\nprint(users)\n```\n\n### Running Tests\n\nThe tests are located in the [tests](tests/) directory.\nAfter installing the package, they can be run by executing the below command:\n\n```\npython setup.py test\n```\n\n### Sample Scripts\n\nFor sample scripts check out the [sample_scripts](sample_scripts/) directory.\n\n# Python\n\nThis project has been tested and working on Python 3.0+\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fciscodevnet%2Funiq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fciscodevnet%2Funiq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fciscodevnet%2Funiq/lists"}