{ "info": { "author": "Harald Hoyer, Arnaldo Carvalho de Melo, David Sommerseth", "author_email": "davids@redhat.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 7 - Inactive", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Libraries", "Topic :: System :: Networking" ], "description": "Python ethtool module\n=====================\n\n*Python bindings for the ethtool kernel interface*\n\nThe Python ``ethtool`` module allows querying and partially controlling network\ninterfaces, driver, and hardware settings.\n\n.. warning::\n This is the new upstream for python-ethtool maintained by Fedora's\n Python SIG. We ported it to Python 3 and only maintain it for the current\n tools to keep working. **No new development is happening. This is a\n deprecated package.** If you are considering to start using this, please\n don't. We recommend `netifaces `_ instead.\n\nInstallation\n------------\n\nThe easiest way to install ``ethtool`` is to use your distribution packages\nrepositories. For example:\n\n**Fedora**: ``sudo dnf install python3-ethtool`` or ``sudo dnf install python2-ethtool``\n\n**Ubuntu**: ``sudo apt install python-ethtool``\n\nIn order to install ``ethtool`` from source or PyPI install its dependencies first:\n\n**Fedora**: ``sudo dnf install libnl3-devel gcc redhat-rpm-config python3-devel``\n\n**Ubuntu**: ``sudo apt install python3 python3-setuptools libpython3.6-dev libnl-route-3-dev``\n\nAnd then install ``ethtool``:\n\n**from PyPI**: ``pip3 install ethtool``\n\n**from source**: ``python3 setup.py install``\n\n\nUsage\n-----\n\n``ethtool`` may be used as a Python library::\n\n >>> import ethtool\n >>> ethtool.get_active_devices()\n ['lo', 'enp0s31f6', 'wlp4s0', 'virbr0', 'docker0', 'virbr1', 'eth0', 'tun0']\n >>> ethtool.get_ipaddr('lo')\n '127.0.0.1'\n\nThe ``ethtool`` package also provides the ``pethtool`` and ``pifconfig`` utilities. More example usage may be gathered from their sources,\n`pethtool.py `_\nand\n`pifconfig.py `_.\n\n\n``pethtool`` mimics behavior of the ``ethtool`` utility, but does not\nsupport all options.\n\ne.g., to get driver information on the ``eth0`` interface::\n\n $ pethtool -i eth0\n driver: cdc_ether\n bus-info: usb-0000:00:14.0-4.1.3\n\nAnalogically, ``pifconfig`` mimics ``ifconfig`` in usage. It may be\nused to view information on an interface::\n\n $ pifconfig lo\n lo \n inet addr:127.0.0.1 Mask:255.0.0.0\n\t inet6 addr: ::1/128 Scope: host\n\t UP LOOPBACK RUNNING\n\n\nFurther usage information may be found in the respective manpages for\n`pethtool `_\nand\n`pifconfig `_.\n\nTests\n-----\n\nTests may be run by ``tox``.\n\nAuthors\n-------\n\n* Andy Grover\n* Antoni S. Puimedon\n* Arnaldo Carvalho de Melo\n* Bohuslav Kabrda\n* Bra\u0148o N\u00e1ter\n* Dave Malcolm\n* David S. Miller\n* David Sommerseth\n* Harald Hoyer\n* Charalampos Stratakis\n* Jeff Garzik\n* Lumir Balhar\n* Miro Hron\u010dok\n* Miroslav Such\u00fd\n* Ruben Kerkhof\n* Sanqui\n* Yaakov Selkowitz\n\nCurrent maintainers\n-------------------\n\n* Lum\u00edr Balhar \n* Miro Hron\u010dok \n* Charalampos Stratakis \n* Sanqui \n\nContributing\n------------\n\nFeel free to help us with improving test coverage, porting to Python 3\nor anything else.\nIssues and PRs `on GitHub `_\nare welcome.\n\nLicense\n-------\n\nThe Python ``ethtool`` project is free software distributed under the terms of\nthe GNU General Public License v2.0, see\n`COPYING `_.\n\n\n\nChangelog\n=========\n\n0.14\n----\nWed Sep 12 2018 Miro Hron\u010dok \n\n- Declared project as bugfix only from now on\n- Support Python 3.7\n- Fix important issues reported by static analysis\n- Fix installation on non-UTF-8 locales on Python 3.5 and 3.6\n- Added set_gso(), get_gro() and set_gro() functions\n- Added installation instructions\n\n0.13\n----\nTue Jun 13 2017 Miro Hron\u010dok \n\n- First release on PyPI\n- Supports both Python 2.7 and 3.5+\n- Dropped support for Python 2.6\n- Upstream URL changed to https://github.com/fedora-python/python-ethtool\n- Introduced a basic README file\n- PEP7 and PEP8 (code style) improvements\n- Fix compilation errors on modern Fedoras\n\n0.12\n----\nTue Mar 21 2017 Charalampos Stratakis \n\n- First attempt at python3 support\n\n0.11\n----\nThu May 8 2014 David Sommerseth \n\n- Improved error handling several places\n- Ensure that we get a valid libnl NETLINK connection when connecting\n- URL updates to SPEC file\n\n0.10\n----\nFri Jan 10 2014 David Sommerseth \n\n- Not really a full release, but a preliminary release to get more wide testing\n- FSF Copyright updates\n- Build fixes\n- Mostly code cleanup\n\n0.9\n---\nWed Dec 11 2013 David Sommerseth \n\n- Fixed get_active_devices() for IPv6 only interfaces\n- Moved from libnl1 to libnl3\n- Refactor PyNetlink*Address implementation\n\n0.8\n---\nTue Feb 19 2013 David Malcolm \n\n- Enable IPv6 in pifethtool example\n- Code cleanup, fixing buffer overflows, memory leaks, etc\n\n0.7\n---\nMon Apr 11 2011 David Sommerseth \n\n- Fixed several memory leaks (commit aa2c20e697af, abc7f912f66d)\n- Improved error checking towards NULL values(commit 4e928d62a8e3)\n- Fixed typo in pethtool --help (commit 710766dc722)\n- Only open a NETLINK connection when needed (commit 508ffffbb3c)\n- Added man page for pifconfig and pethtool (commit 9f0d17aa532, rhbz#638475)\n- Force NETLINK socket to close on fork() using FD_CLOEXEC (commit 1680cbeb40e)\n\n0.6\n---\nWed Jan 19 2011 David Sommerseth \n\n- Don't segfault if we don't receive any address from rtnl_link_get_addr()\n- Remove errornous file from MANIFEST\n- Added ethtool.version string constant\n- Avoid duplicating IPv6 address information\n- import sys module in setup.py (Miroslav Suchy)\n\n0.5\n---\nMon Aug 9 2010 David Sommerseth \n\n- Fixed double free issue (commit c52ed2cbdc5b851ebc7b)\n\n0.4\n---\nWed Apr 28 2010 David Sommerseth \n\n- David Sommerseth is now taking over the maintenance of python-ethtool\n- New URLs for upstream source code\n- Added new API: ethtool.get_interfaces_info() - returns list of etherinfo objects\n- Added support retrieving for IPv6 address, using etherinfo::get_ipv6_addresses()\n\n0.3\n---\nTue Aug 26 2008 Arnaldo Carvalho de Melo \n\n- Add get_flags method from the first python-ethtool contributor, yay\n- Add pifconfig command, that mimics the ifconfig tool using the\n bindings available\n\n0.2\n---\nWed Aug 20 2008 Arnaldo Carvalho de Melo \n\n- Expand description and summary fields, as part of the fedora\n review process.\n\n0.1\n---\nTue Dec 18 2007 Arnaldo Carvalho de Melo \n\n- Get ethtool code from rhpl 0.212", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/fedora-python/python-ethtool", "keywords": "network networking ethernet tool ethtool", "license": "GPL-2.0", "maintainer": "Lum\u00edr Balhar, Miro Hron\u010dok, Charalampos Stratakis, Sanqui", "maintainer_email": "python-maint@redhat.com", "name": "ethtool", "package_url": "https://pypi.org/project/ethtool/", "platform": "", "project_url": "https://pypi.org/project/ethtool/", "project_urls": { "Homepage": "https://github.com/fedora-python/python-ethtool" }, "release_url": "https://pypi.org/project/ethtool/0.14/", "requires_dist": null, "requires_python": "", "summary": "Python module to interface with ethtool", "version": "0.14" }, "last_serial": 5351913, "releases": { "0.13": [ { "comment_text": "", "digests": { "md5": "2c2ce3051ed5d6785c0cfa43f91f573c", "sha256": "31234eed156f1fcbb311f56e32c9abe42de62d3766411046d362bf45eae017fe" }, "downloads": -1, "filename": "ethtool-0.13.tar.gz", "has_sig": false, "md5_digest": "2c2ce3051ed5d6785c0cfa43f91f573c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 44282, "upload_time": "2017-06-13T15:23:38", "url": "https://files.pythonhosted.org/packages/5e/b5/8af4daccd6ac8f548d8a1c96d5697fc0d424e47c7f5c76183107b8af6bd0/ethtool-0.13.tar.gz" } ], "0.14": [ { "comment_text": "", "digests": { "md5": "a14f970f44c660c5d5c1cc3e59607235", "sha256": "46565daa5c4de3ef6c5908d062a8646278086cd29c62e43e0e04e49e5e34768b" }, "downloads": -1, "filename": "ethtool-0.14.tar.gz", "has_sig": false, "md5_digest": "a14f970f44c660c5d5c1cc3e59607235", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43204, "upload_time": "2018-09-13T09:23:25", "url": "https://files.pythonhosted.org/packages/81/41/e6cb9026374771e3bdb4c0fe8ac0c51c693a14b4f72f26275da15f7a4d8b/ethtool-0.14.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a14f970f44c660c5d5c1cc3e59607235", "sha256": "46565daa5c4de3ef6c5908d062a8646278086cd29c62e43e0e04e49e5e34768b" }, "downloads": -1, "filename": "ethtool-0.14.tar.gz", "has_sig": false, "md5_digest": "a14f970f44c660c5d5c1cc3e59607235", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43204, "upload_time": "2018-09-13T09:23:25", "url": "https://files.pythonhosted.org/packages/81/41/e6cb9026374771e3bdb4c0fe8ac0c51c693a14b4f72f26275da15f7a4d8b/ethtool-0.14.tar.gz" } ] }