{ "info": { "author": "Richard Strnad", "author_email": "cisco-cdp-parser@strnad.ch", "bugtrack_url": null, "classifiers": [], "description": "========================================================\nJedha - Easy Cisco CDP Parse\n========================================================\n\n.. image:: https://img.shields.io/travis/richardstrnad/jedha/master.svg?style=flat-square\n :target: https://travis-ci.org/richardstrnad/jedha\n :alt: Travis CI Status\n\n.. image:: https://img.shields.io/pypi/v/jedha.svg?style=flat-square\n :target: https://pypi.python.org/pypi/jedha/\n :alt: Version\n\n.. image:: https://img.shields.io/github/tag/richardstrnad/jedha.svg?style=flat-square \n :target: https://github.com/richardstrnad/jedha\n :alt: GitHub Version\n\n.. image:: http://img.shields.io/badge/license-GPLv3-blue.svg?style=flat-square\n :target: https://www.gnu.org/copyleft/gpl.html\n :alt: License\n\n.. image:: https://img.shields.io/github/issues/richardstrnad/jedha.svg?style=flat-square\n :target: https://github.com/richardstrnad/jedha/issues\n :alt: Issues\n\n.. image:: https://img.shields.io/github/stars/richardstrnad/jedha.svg?style=flat-square\n :target: https://github.com/richardstrnad/jedha/stargazers\n :alt: Stars\n\n.. image:: https://img.shields.io/badge/Richard-Strnad-blue.svg?style=flat-square\n :alt: RichardStrnad\n\n.. contents:: Table of Contents\n\n.. _introduction:\n\nIntroduction: What is jedha?\n=====================================\n\njedha is a Python_ library, which parses through Cisco CDP output and generates \npython objects out of it.\n\n\nUsage\n====\n\njedha takes the output of :code:`show cdp neighbors detail` as input.\n\n.. code:: python\n\n cdp_input = '''MYSwitch01#show cdp neighbors detail\n -------------------------\n Device ID: NETS999999.domain.local\n Entry address(es):\n IP address: 192.168.1.19\n Platform: WS-C3560-48PS, Capabilities: Switch IGMP\n Interface: GigabitEthernet2/0/23, Port ID (outgoing port): GigabitEthernet0/1\n Holdtime : 124 sec\n\n Version :\n Cisco IOS Software, C3560 Software (C3560-IPBASEK9-M), Version 12.2(52)SE, RELEASE SOFTWARE (fc3)\n Copyright (c) 1986-2009 by Cisco Systems, Inc.\n Compiled Fri 25-Sep-09 08:13 by sasyamal\n\n advertisement version: 2\n Protocol Hello: OUI=0x00000C, Protocol ID=0x0112; payload len=27, value=RandVal\n VTP Management Domain: ''\n Native VLAN: 1\n Duplex: full\n Management address(es):\n IP address: 192.168.1.19\n '''\n\n from jedha.cdp import *\n\n dev = Device(cdp_input)\n \nThis device object provides a various of methods.\n\n\n- The Docs follow soon...\n- jedha tutorial follow soon...\n\n.. _Pre-Requisites:\n\nPre-requisites\n==============\n\njedha_ requires Python versions 3.4+; the OS should not\nmatter. If you want to run it under a Python virtualenv_, it's been heavily \ntested in that environment as well.\n\n.. _Installation:\n\nInstallation and Downloads\n==========================\n\nThe best way to get jedha is with or pip_. \n::\n\n pip install --upgrade jedha\n\n\nOtherwise `download it from PyPi `_, extract it and run the ``setup.py`` script:\n\n::\n\n python setup.py install\n\nIf you're interested in the source, you can always pull from the `github repo`_:\n\n\n- From github_:\n\n::\n\n git clone https://github.com/richardstrnad/jedha.git\n\n.. _Samples:\n\nSamples\n=======\n\n::\n\n python samples/sample_script.py samples/sample_input.txt\n python samples/sample_script_ciscocmd.py samples/sample_input_ciscocmd.txt\n\n\n.. _Unit-Tests:\n\nUnit-Tests\n==========\n\n`Travis CI project `_ tests jedha on Python versions 3.4 through 3.7-dev\n\nClick the image below for details; the current build status is:\n\n.. image:: https://img.shields.io/travis/richardstrnad/jedha/master.svg?style=flat-square\n :target: https://travis-ci.org/richardstrnad/jedha\n :alt: Travis CI Status\n\n.. _`License and Copyright`:\n\nLicense and Copyright\n=====================\n\njedha_ is licensed GPLv3_; \n2016.\n\n\n.. _Author:\n\nAuthor and Thanks\n=================\n\njedha_ was developed by Richard Strnad\n\n.. _jedha: https://pypi.python.org/pypi/jedha\n\n.. _Python: http://python.org/\n\n.. _setuptools: https://pypi.python.org/pypi/setuptools\n\n.. _pip: https://pypi.python.org/pypi/pip\n\n.. _virtualenv: https://pypi.python.org/pypi/virtualenv\n\n.. _`github repo`: https://github.com/richardstrnad/jedha\n\n.. _github: https://github.com/richardstrnad/jedha\n\n.. _`GPLv3`: http://www.gnu.org/licenses/gpl-3.0.html", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "jedha", "package_url": "https://pypi.org/project/jedha/", "platform": "", "project_url": "https://pypi.org/project/jedha/", "project_urls": null, "release_url": "https://pypi.org/project/jedha/0.1.5/", "requires_dist": null, "requires_python": "", "summary": "jedha - Easy Cisco CDP Parser", "version": "0.1.5" }, "last_serial": 4874101, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "12893fbba103d728463a75d0597017d8", "sha256": "74c227deec992ff83f5fae66d164eb7f5a43f33ebd46d40a6a06bdc6bf923790" }, "downloads": -1, "filename": "jedha-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "12893fbba103d728463a75d0597017d8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4443, "upload_time": "2016-12-19T11:40:05", "url": "https://files.pythonhosted.org/packages/8b/85/4147b833efbb47fbd3abaa94951e15871c3696dd125db824fd989b9020dd/jedha-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ea8a56ed90ee1b7d9d840e184df92bfe", "sha256": "582ae0bab43c33a1a374fc05271b88b5ce10bd0759a0cf2f70939a484cc49256" }, "downloads": -1, "filename": "jedha-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ea8a56ed90ee1b7d9d840e184df92bfe", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4438, "upload_time": "2016-12-19T11:37:40", "url": "https://files.pythonhosted.org/packages/a6/5d/353673dad3514ff0bd071652ea4ea43f5e06004df65dde770821bfac6acf/jedha-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1f9bd2b32345e161844364f66d10fc1e", "sha256": "e3e1c344098c0b4899c157844327737fa719b555d39e039d939bf95155dc04c0" }, "downloads": -1, "filename": "jedha-0.1.0.tar.gz", "has_sig": false, "md5_digest": "1f9bd2b32345e161844364f66d10fc1e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4179, "upload_time": "2016-12-19T11:36:39", "url": "https://files.pythonhosted.org/packages/7d/9e/d8ffad49ece30b28993f587cd4c5371c5691c3767de5f0db4e6a543a7efe/jedha-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "ff5ee1887a96e9b588324cef582e33cc", "sha256": "73cc4919b6593d6b83492ab40ffb6f6d770cebd2d80f4fc6292524d6e59a39dc" }, "downloads": -1, "filename": "jedha-0.1.1.tar.gz", "has_sig": false, "md5_digest": "ff5ee1887a96e9b588324cef582e33cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17223, "upload_time": "2016-12-29T14:16:35", "url": "https://files.pythonhosted.org/packages/96/52/267e56f7d30a150b9136011ba7a0eaad5610533f175ea55f9d53d9a8a811/jedha-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "99c597f66eae10d8c8f1cbdcd2d78c09", "sha256": "ca8c7168425ad36bca5cc4f7601eab6229572cf2752b2669b86927c90ddd5b50" }, "downloads": -1, "filename": "jedha-0.1.2.tar.gz", "has_sig": false, "md5_digest": "99c597f66eae10d8c8f1cbdcd2d78c09", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17134, "upload_time": "2018-04-09T15:18:02", "url": "https://files.pythonhosted.org/packages/36/79/fd6e9bc2862f54ceb7be625071eb5d50f36f202890e14044c7f2116f4a61/jedha-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "990c5adb69ff3b745ee301d1da6f70bf", "sha256": "7f57e48d1bb475ae7a1a5ff102b64d89d3e37d809b432fa25f156ee7d59287f8" }, "downloads": -1, "filename": "jedha-0.1.3.tar.gz", "has_sig": false, "md5_digest": "990c5adb69ff3b745ee301d1da6f70bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17171, "upload_time": "2018-04-09T15:39:29", "url": "https://files.pythonhosted.org/packages/8c/47/a1763f0b361b7e5af4f39ccffdaaa7def77747b9498cdee2233d1f3d169c/jedha-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "c49eeafa0c17860e885da9ad53c6d787", "sha256": "e5a3f1e249e973d4f4ebf9d40b12342e2a1fc6c89395d42b206d637842b4ee02" }, "downloads": -1, "filename": "jedha-0.1.4.tar.gz", "has_sig": false, "md5_digest": "c49eeafa0c17860e885da9ad53c6d787", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17264, "upload_time": "2018-04-12T06:42:33", "url": "https://files.pythonhosted.org/packages/b5/e3/ea485d9c929c404dd23d72f4b13ff94d8ee2a04aa6edafa876ec517dab37/jedha-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "b115f0347da78585b4ec8d94d2cfceac", "sha256": "c23ead8a15461967c01bac5755e0f55e2958b340c45705e2410eb2ca8281c94d" }, "downloads": -1, "filename": "jedha-0.1.5.tar.gz", "has_sig": false, "md5_digest": "b115f0347da78585b4ec8d94d2cfceac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16686, "upload_time": "2019-02-27T13:09:06", "url": "https://files.pythonhosted.org/packages/9b/55/a7dce63203b3344282cccd85b9b8e72758436533bb7183a89b5d3a35c9b5/jedha-0.1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b115f0347da78585b4ec8d94d2cfceac", "sha256": "c23ead8a15461967c01bac5755e0f55e2958b340c45705e2410eb2ca8281c94d" }, "downloads": -1, "filename": "jedha-0.1.5.tar.gz", "has_sig": false, "md5_digest": "b115f0347da78585b4ec8d94d2cfceac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16686, "upload_time": "2019-02-27T13:09:06", "url": "https://files.pythonhosted.org/packages/9b/55/a7dce63203b3344282cccd85b9b8e72758436533bb7183a89b5d3a35c9b5/jedha-0.1.5.tar.gz" } ] }