{ "info": { "author": "Christian Giese", "author_email": "cgiese@juniper.net", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.5" ], "description": ".. image:: https://travis-ci.org/GIC-de/PyANCP.svg?branch=master\n :target: https://travis-ci.org/GIC-de/PyANCP\n.. image:: https://coveralls.io/repos/github/GIC-de/PyANCP/badge.svg?branch=master\n :target: https://coveralls.io/github/GIC-de/PyANCP?branch=master\n.. image:: https://readthedocs.org/projects/pyancp/badge/?version=latest\n :target: http://pyancp.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n\nPyANCP\n======\n\nPython ANCP (RFC 6320) client and library.\nPyANCP requires Python 2.7 or later, or Python 3.2 or later.\n\nState: **BETA**\n\nANCP Library Example\n--------------------\n\n.. code-block:: python\n\n from ancp.client import Client\n from ancp.subscriber import Subscriber\n\n # setup ancp session\n client = Client(address=\"1.2.3.4\")\n if client.connect():\n # create ancp subscribers\n S1 = Subscriber(aci=\"0.0.0.0 eth 1\", up=1024, down=16000)\n S2 = Subscriber(aci=\"0.0.0.0 eth 2\", up=2048, down=32000)\n # send port-up for ancp subscribers\n client.port_up([S1, S2])\n # keep session active\n try:\n while client.established.is_set():\n time.sleep(1)\n except KeyboardInterrupt:\n # send port-down for ancp subscribers\n client.port_down([S1, S2])\n client.disconnect()\n\n\nAuthor: Christian Giese and Wolfgang Beck\n\nContributors:\n- Istvan Ruzman\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/GIC-de/PyANCP", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "PyANCP", "package_url": "https://pypi.org/project/PyANCP/", "platform": "", "project_url": "https://pypi.org/project/PyANCP/", "project_urls": { "Homepage": "https://github.com/GIC-de/PyANCP" }, "release_url": "https://pypi.org/project/PyANCP/0.1.6/", "requires_dist": [ "future" ], "requires_python": "", "summary": "Python ANCP (RFC 6320) Client and Library", "version": "0.1.6" }, "last_serial": 2811728, "releases": { "0.1.4": [ { "comment_text": "", "digests": { "md5": "b1ebfbffd645166d9c43ede31c34b670", "sha256": "4b67d5f0839834d3260f27abd41e53366815941594ea026ccb22c2f60b12499f" }, "downloads": -1, "filename": "PyANCP-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b1ebfbffd645166d9c43ede31c34b670", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9059, "upload_time": "2017-03-31T09:40:15", "url": "https://files.pythonhosted.org/packages/c7/78/e90d4be5ba7cd67657bdd8d1c147ca364467f05ca71ddcbca370339ce273/PyANCP-0.1.4-py2.py3-none-any.whl" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "dbb1f8a298f905b7b5b85f4c2a658850", "sha256": "0e2b36c4a7cd50669f79c8e116a90d5c4b6913b144caab02784ce3aefe342461" }, "downloads": -1, "filename": "PyANCP-0.1.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dbb1f8a298f905b7b5b85f4c2a658850", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9408, "upload_time": "2017-03-31T13:11:34", "url": "https://files.pythonhosted.org/packages/74/02/da41ded1b0c669ba4a7952e4977ba633b805b389452a44d9130959875447/PyANCP-0.1.5-py2.py3-none-any.whl" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "cdb5fbae36d3e9d440b0348745c398d9", "sha256": "b4faeada6af3cd65f98742b3f8fb0b6980c3f847bf2c5efed53e07d40e2686e4" }, "downloads": -1, "filename": "PyANCP-0.1.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "cdb5fbae36d3e9d440b0348745c398d9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9546, "upload_time": "2017-04-18T17:47:45", "url": "https://files.pythonhosted.org/packages/69/2d/7d4004ff486835f0a414997b5da210d6755a1c357be437a73564ccbe76b4/PyANCP-0.1.6-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cdb5fbae36d3e9d440b0348745c398d9", "sha256": "b4faeada6af3cd65f98742b3f8fb0b6980c3f847bf2c5efed53e07d40e2686e4" }, "downloads": -1, "filename": "PyANCP-0.1.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "cdb5fbae36d3e9d440b0348745c398d9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9546, "upload_time": "2017-04-18T17:47:45", "url": "https://files.pythonhosted.org/packages/69/2d/7d4004ff486835f0a414997b5da210d6755a1c357be437a73564ccbe76b4/PyANCP-0.1.6-py2.py3-none-any.whl" } ] }