{ "info": { "author": "Lars Liedtke", "author_email": "LarsLiedtke@gmx.de", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "py-ip-command\n======\nWrapping the Linux `ip` command in Python.\n\nFind me on pypi: https://pypi.org/project/py-ip-command/\n\non GitHub: https://github.com/Corvan/py-ip-command\n\nor install me:\n```bash\npip install py-ip-command\n```\n```bash\npipenv install py-ip-command\n```\n\nNote\n-----\nThis is still work in progess, but you can already use it. Help is very welcome!\n\nUsage\n-----\nAt the moment only two commands of `ip` are implemented.\n\nJust use \n```python\nfrom ip_command.ip import IP\n ```\nand then you can issue commands like \n ```bash\n ip addr show\n ``` \n with\n ```python\nIP.addr.show()\n```\nor \n```bash \nip neigh show\n```\nwith\n```python\nIP.neigh.show()\n```\nThe return of both is \n* An object oriented representation of the data reurned by both commands\n* a dict (addr) or a list of dicts (neigh) consisting of all the information the commands return but split \ninto single elements, if you pass `as_dict=True` to `show()` or simply call `show(True)`", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Corvan/py-ip-command", "keywords": "", "license": "LGPL v. 3.0", "maintainer": "", "maintainer_email": "", "name": "py-ip-command", "package_url": "https://pypi.org/project/py-ip-command/", "platform": "", "project_url": "https://pypi.org/project/py-ip-command/", "project_urls": { "Homepage": "https://github.com/Corvan/py-ip-command" }, "release_url": "https://pypi.org/project/py-ip-command/0.0.4/", "requires_dist": null, "requires_python": "", "summary": "A wrapper around the linux `ip` command", "version": "0.0.4" }, "last_serial": 5468136, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "f0ecf48206b9bf83217249232e11ae25", "sha256": "ffada2ebd0fa6cda50c222be965ae9b3b558d7c8b14c9467ce79629518d33e9f" }, "downloads": -1, "filename": "py_ip_command-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "f0ecf48206b9bf83217249232e11ae25", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8300, "upload_time": "2019-06-30T14:59:40", "url": "https://files.pythonhosted.org/packages/94/6e/c4788f9e4a8aa0ee8dcfc5c0be1350b0d631d69f16a3150207dd0a4dc376/py_ip_command-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1a58c55d3afe72203f5d73d1913ddeba", "sha256": "c46312d566e9f25159a69e8b3c4b4b1a3d42e8f90fe67e01d9760cf12f7bd7da" }, "downloads": -1, "filename": "py-ip-command-0.0.3.tar.gz", "has_sig": false, "md5_digest": "1a58c55d3afe72203f5d73d1913ddeba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3648, "upload_time": "2019-06-30T14:59:43", "url": "https://files.pythonhosted.org/packages/7c/b6/54d0aca6038e5251344f7f7597ba456d12f29e5df6b9ad1df321fde0f7ac/py-ip-command-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "9894358c658568576829555362c402a2", "sha256": "dd0a3f2582b5faf3095d02a85e28a37cc64ef9a3787822a8aea5dbab78db5a26" }, "downloads": -1, "filename": "py-ip-command-0.0.4.tar.gz", "has_sig": false, "md5_digest": "9894358c658568576829555362c402a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3741, "upload_time": "2019-06-30T15:09:38", "url": "https://files.pythonhosted.org/packages/90/82/b5e5143896f7c89e72eb36811bf8c28ad581f961c69bb02d901f96ee9973/py-ip-command-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9894358c658568576829555362c402a2", "sha256": "dd0a3f2582b5faf3095d02a85e28a37cc64ef9a3787822a8aea5dbab78db5a26" }, "downloads": -1, "filename": "py-ip-command-0.0.4.tar.gz", "has_sig": false, "md5_digest": "9894358c658568576829555362c402a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3741, "upload_time": "2019-06-30T15:09:38", "url": "https://files.pythonhosted.org/packages/90/82/b5e5143896f7c89e72eb36811bf8c28ad581f961c69bb02d901f96ee9973/py-ip-command-0.0.4.tar.gz" } ] }