ethtool
Deprecated Python bindings for the ethtool kernel interface
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.4%) to scientific vocabulary
Keywords from Contributors
Repository
Deprecated Python bindings for the ethtool kernel interface
Basic Info
Statistics
- Stars: 16
- Watchers: 10
- Forks: 13
- Open Issues: 4
- Releases: 15
Metadata Files
README.rst
Python ethtool module
=====================
*Python bindings for the ethtool kernel interface*
The Python ``ethtool`` module allows querying and partially controlling network
interfaces, driver, and hardware settings.
.. warning::
This is the new upstream for python-ethtool maintained by Fedora's
Python SIG. We ported it to Python 3 and only maintain it for the current
tools to keep working. **No new development is happening. This is a
deprecated package.** If you are considering to start using this, please
don't. We recommend `netifaces `_ instead. Another alternative is `ethtool parsers `_ from `insights-core `_.
Installation
------------
The easiest way to install ``ethtool`` is to use your distribution packages
repositories. For example:
**Fedora**: ``sudo dnf install python3-ethtool`` or ``sudo dnf install python2-ethtool``
**Ubuntu**: ``sudo apt install python-ethtool``
In order to install ``ethtool`` from source or PyPI install its dependencies first:
**Fedora**: ``sudo dnf install libnl3-devel gcc redhat-rpm-config python3-devel``
**Ubuntu**: ``sudo apt install python3 python3-setuptools libpython3.6-dev libnl-route-3-dev``
And then install ``ethtool``:
**from PyPI**: ``pip3 install ethtool``
**from source**: ``python3 setup.py install``
Usage
-----
``ethtool`` may be used as a Python library::
>>> import ethtool
>>> ethtool.get_active_devices()
['lo', 'enp0s31f6', 'wlp4s0', 'virbr0', 'docker0', 'virbr1', 'eth0', 'tun0']
>>> ethtool.get_ipaddr('lo')
'127.0.0.1'
The ``ethtool`` package also provides the ``pethtool`` and ``pifconfig`` utilities. More example usage may be gathered from their sources,
`pethtool.py `_
and
`pifconfig.py `_.
``pethtool`` mimics behavior of the ``ethtool`` utility, but does not
support all options.
e.g., to get driver information on the ``eth0`` interface::
$ pethtool -i eth0
driver: cdc_ether
bus-info: usb-0000:00:14.0-4.1.3
Analogically, ``pifconfig`` mimics ``ifconfig`` in usage. It may be
used to view information on an interface::
$ pifconfig lo
lo
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope: host
UP LOOPBACK RUNNING
Further usage information may be found in the respective manpages for
`pethtool `_
and
`pifconfig `_.
Tests
-----
Tests may be run by ``tox``.
Authors
-------
* Andy Grover
* Antoni S. Puimedon
* Arnaldo Carvalho de Melo
* Bohuslav Kabrda
* Braňo Náter
* Dave Malcolm
* David S. Miller
* David Sommerseth
* Harald Hoyer
* Charalampos Stratakis
* Jeff Garzik
* Lumir Balhar
* Miro Hrončok
* Miroslav Suchý
* Ruben Kerkhof
* Sanqui
* Yaakov Selkowitz
Current maintainers
-------------------
* Lumír Balhar
* Miro Hrončok
* Charalampos Stratakis
Contributing
------------
Feel free to help us with improving test coverage, porting to Python 3
or anything else.
Issues and PRs `on GitHub `_
are welcome.
License
-------
The Python ``ethtool`` project is free software distributed under the terms of
the GNU General Public License v2.0, see
`COPYING `_.
Owner
- Name: Fedora Python SIG
- Login: fedora-python
- Kind: organization
- Email: python-devel@lists.fedoraproject.org
- Website: https://fedoralovespython.org/
- Repositories: 60
- Profile: https://github.com/fedora-python
Special Interest Group for Python in Fedora
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| David Sommerseth | d****s@r****m | 79 |
| Lumir Balhar | l****r@r****m | 43 |
| Miro Hrončok | m****o@h****z | 37 |
| Arnaldo Carvalho de Melo | a****e@r****m | 28 |
| Andy Grover | a****r@r****m | 13 |
| David Malcolm | d****m@r****m | 13 |
| Sanqui | g****y@g****m | 11 |
| PEP 7 | p****7 | 4 |
| PEP 8 | p****8 | 3 |
| Antoni S. Puimedon | a****p@r****m | 2 |
| Andrew Shark | a****k@l****u | 2 |
| Robert Schütz | m****l@d****e | 2 |
| Miroslav Suchy | m****v@s****z | 2 |
| Remy Delion | r****n@a****r | 2 |
| Bohuslav Kabrda | b****a@r****m | 1 |
| Charalampos Stratakis | c****k@r****m | 1 |
| Georgy Yakovlev | g****v@g****g | 1 |
| Ruben Kerkhof | r****n@r****m | 1 |
| Yaakov Selkowitz | y****i@r****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 27
- Total pull requests: 34
- Average time to close issues: 3 months
- Average time to close pull requests: 17 days
- Total issue authors: 13
- Total pull request authors: 8
- Average comments per issue: 2.7
- Average comments per pull request: 2.41
- Merged pull requests: 28
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: about 1 month
- Issue authors: 1
- Pull request authors: 1
- Average comments per issue: 1.0
- Average comments per pull request: 3.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- hroncok (14)
- frenzymadness (2)
- RemyDelion (1)
- dvzrv (1)
- The-Judge (1)
- bewing (1)
- IamSierraCharlie (1)
- Sanqui (1)
- stratakis (1)
- jinwanqiashaokao (1)
- sshajiya (1)
- Ashark (1)
- briancline (1)
Pull Request Authors
- frenzymadness (12)
- hroncok (12)
- Sanqui (5)
- RemyDelion (1)
- dotlambda (1)
- gyakovlev (1)
- Ashark (1)
- Russell-Jones-OxPhys (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 31
-
Total downloads:
- pypi 16,600 last-month
- Total docker downloads: 735,295,412
-
Total dependent packages: 10
(may contain duplicates) -
Total dependent repositories: 76
(may contain duplicates) - Total versions: 35
- Total maintainers: 4
pypi.org: ethtool
Python module to interface with ethtool
- Homepage: https://github.com/fedora-python/python-ethtool
- Documentation: https://ethtool.readthedocs.io/
- License: GPL-2.0
-
Latest release: 0.15
published almost 5 years ago
Rankings
Maintainers (3)
alpine-v3.10: py3-ethtool
Python library for the ethtool kernel interface (for python3)
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.14-r2
published about 7 years ago
Rankings
Maintainers (1)
alpine-v3.14: py3-ethtool
Python3 library for the ethtool kernel interface
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.14-r5
published over 5 years ago
Rankings
Maintainers (1)
alpine-v3.13: py3-ethtool
Python3 library for the ethtool kernel interface
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.14-r4
published over 6 years ago
Rankings
Maintainers (1)
alpine-v3.10: py-ethtool
Python library for the ethtool kernel interface
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.14-r2
published about 7 years ago
Rankings
Maintainers (1)
alpine-v3.12: py3-ethtool
Python3 library for the ethtool kernel interface
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.14-r4
published over 6 years ago
Rankings
Maintainers (1)
alpine-v3.12: py3-ethtool-doc
Python3 library for the ethtool kernel interface (documentation)
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.14-r4
published over 6 years ago
Rankings
Maintainers (1)
alpine-v3.11: py3-ethtool-doc
Python3 library for the ethtool kernel interface (documentation)
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.14-r4
published over 6 years ago
Rankings
Maintainers (1)
alpine-v3.11: py3-ethtool
Python3 library for the ethtool kernel interface
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.14-r4
published over 6 years ago
Rankings
Maintainers (1)
alpine-v3.16: py3-ethtool
Python3 library for the ethtool kernel interface
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.14-r6
published over 4 years ago
Rankings
Maintainers (1)
alpine-v3.18: py3-ethtool
Python3 library for the ethtool kernel interface
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.15-r1
published over 3 years ago
Rankings
Maintainers (1)
alpine-v3.18: py3-ethtool-doc
Python3 library for the ethtool kernel interface (documentation)
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.15-r1
published over 3 years ago
Rankings
Maintainers (1)
alpine-v3.13: py3-ethtool-doc
Python3 library for the ethtool kernel interface (documentation)
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.14-r4
published over 6 years ago
Rankings
Maintainers (1)
alpine-v3.14: py3-ethtool-doc
Python3 library for the ethtool kernel interface (documentation)
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.14-r5
published over 5 years ago
Rankings
Maintainers (1)
alpine-v3.10: py2-ethtool
Python library for the ethtool kernel interface (for python2)
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.14-r2
published about 7 years ago
Rankings
Maintainers (1)
alpine-v3.10: py-ethtool-doc
Python library for the ethtool kernel interface (documentation)
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.14-r2
published about 7 years ago
Rankings
Maintainers (1)
alpine-v3.15: py3-ethtool-doc
Python3 library for the ethtool kernel interface (documentation)
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.14-r5
published over 5 years ago
Rankings
Maintainers (1)
alpine-v3.15: py3-ethtool
Python3 library for the ethtool kernel interface
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.14-r5
published over 5 years ago
Rankings
Maintainers (1)
alpine-v3.17: py3-ethtool
Python3 library for the ethtool kernel interface
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.15-r0
published over 3 years ago
Rankings
Maintainers (1)
alpine-v3.16: py3-ethtool-doc
Python3 library for the ethtool kernel interface (documentation)
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.14-r6
published over 4 years ago
Rankings
Maintainers (1)
alpine-edge: py3-ethtool
Python3 library for the ethtool kernel interface
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.15-r2
published over 2 years ago
Rankings
Maintainers (1)
alpine-edge: py3-ethtool-doc
Python3 library for the ethtool kernel interface (documentation)
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.15-r2
published over 2 years ago
Rankings
Maintainers (1)
alpine-v3.17: py3-ethtool-doc
Python3 library for the ethtool kernel interface (documentation)
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.15-r0
published over 3 years ago
Rankings
Maintainers (1)
alpine-v3.22: py3-ethtool-doc
Python3 library for the ethtool kernel interface (documentation)
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.15-r2
published over 2 years ago
Rankings
Maintainers (1)
alpine-v3.20: py3-ethtool
Python3 library for the ethtool kernel interface
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.15-r2
published over 2 years ago
Rankings
Maintainers (1)
alpine-v3.19: py3-ethtool
Python3 library for the ethtool kernel interface
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.15-r1
published over 3 years ago
Rankings
alpine-v3.22: py3-ethtool
Python3 library for the ethtool kernel interface
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.15-r2
published over 2 years ago
Rankings
Maintainers (1)
alpine-v3.20: py3-ethtool-doc
Python3 library for the ethtool kernel interface (documentation)
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.15-r2
published over 2 years ago
Rankings
Maintainers (1)
alpine-v3.21: py3-ethtool
Python3 library for the ethtool kernel interface
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.15-r2
published over 2 years ago
Rankings
Maintainers (1)
alpine-v3.21: py3-ethtool-doc
Python3 library for the ethtool kernel interface (documentation)
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.15-r2
published over 2 years ago
Rankings
Maintainers (1)
alpine-v3.19: py3-ethtool-doc
Python3 library for the ethtool kernel interface (documentation)
- Homepage: https://github.com/fedora-python/python-ethtool
- License: GPL-2.0-only
-
Latest release: 0.15-r1
published over 3 years ago