ethtool

Deprecated Python bindings for the ethtool kernel interface

https://github.com/fedora-python/python-ethtool

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

init services system systemd
Last synced: 10 months ago · JSON representation

Repository

Deprecated Python bindings for the ethtool kernel interface

Basic Info
  • Host: GitHub
  • Owner: fedora-python
  • License: gpl-2.0
  • Language: C
  • Default Branch: master
  • Homepage:
  • Size: 281 KB
Statistics
  • Stars: 16
  • Watchers: 10
  • Forks: 13
  • Open Issues: 4
  • Releases: 15
Created over 9 years ago · Last pushed almost 2 years ago
Metadata Files
Readme Changelog License

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

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

All Time
  • Total Commits: 246
  • Total Committers: 19
  • Avg Commits per committer: 12.947
  • Development Distribution Score (DDS): 0.679
Past Year
  • Commits: 2
  • Committers: 1
  • Avg Commits per committer: 2.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email 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
enhancement (8) easyfix (6) bug (4) help wanted (3) invalid (2) question (2) discussion (1) release (1) docs (1)
Pull Request Labels
docs (3) enhancement (1) release (1)

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

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 76
  • Downloads: 16,600 Last month
  • Docker Downloads: 735,295,412
Rankings
Docker downloads count: 0.3%
Dependent repos count: 1.7%
Downloads: 2.7%
Average: 6.6%
Forks count: 9.9%
Dependent packages count: 10.0%
Stargazers count: 14.8%
Maintainers (3)
Last synced: 11 months ago
alpine-v3.10: py3-ethtool

Python library for the ethtool kernel interface (for python3)

  • Versions: 1
  • Dependent Packages: 3
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Average: 9.1%
Forks count: 11.8%
Dependent packages count: 11.8%
Stargazers count: 12.9%
Maintainers (1)
Last synced: 11 months ago
alpine-v3.14: py3-ethtool

Python3 library for the ethtool kernel interface

  • Versions: 1
  • Dependent Packages: 2
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 7.6%
Average: 9.8%
Forks count: 14.9%
Stargazers count: 16.6%
Maintainers (1)
Last synced: 11 months ago
alpine-v3.13: py3-ethtool

Python3 library for the ethtool kernel interface

  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 9.4%
Average: 9.9%
Forks count: 14.4%
Stargazers count: 15.9%
Maintainers (1)
Last synced: 11 months ago
alpine-v3.10: py-ethtool

Python library for the ethtool kernel interface

  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Average: 11.5%
Forks count: 11.8%
Stargazers count: 12.9%
Dependent packages count: 21.5%
Maintainers (1)
Last synced: 11 months ago
alpine-v3.12: py3-ethtool

Python3 library for the ethtool kernel interface

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Average: 12.0%
Forks count: 12.5%
Stargazers count: 13.9%
Dependent packages count: 21.5%
Maintainers (1)
Last synced: 11 months ago
alpine-v3.12: py3-ethtool-doc

Python3 library for the ethtool kernel interface (documentation)

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Average: 12.0%
Forks count: 12.5%
Stargazers count: 13.9%
Dependent packages count: 21.5%
Maintainers (1)
Last synced: 11 months ago
alpine-v3.11: py3-ethtool-doc

Python3 library for the ethtool kernel interface (documentation)

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Average: 12.0%
Forks count: 12.1%
Stargazers count: 13.4%
Dependent packages count: 22.6%
Maintainers (1)
Last synced: 11 months ago
alpine-v3.11: py3-ethtool

Python3 library for the ethtool kernel interface

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Average: 12.0%
Forks count: 12.1%
Stargazers count: 13.4%
Dependent packages count: 22.6%
Maintainers (1)
Last synced: 11 months ago
alpine-v3.16: py3-ethtool

Python3 library for the ethtool kernel interface

  • Versions: 1
  • Dependent Packages: 2
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 12.0%
Average: 12.4%
Forks count: 17.7%
Stargazers count: 19.9%
Maintainers (1)
Last synced: 11 months ago
alpine-v3.18: py3-ethtool

Python3 library for the ethtool kernel interface

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 12.4%
Forks count: 23.6%
Stargazers count: 26.1%
Maintainers (1)
Last synced: 11 months ago
alpine-v3.18: py3-ethtool-doc

Python3 library for the ethtool kernel interface (documentation)

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 12.4%
Forks count: 23.6%
Stargazers count: 26.1%
Maintainers (1)
Last synced: 11 months ago
alpine-v3.13: py3-ethtool-doc

Python3 library for the ethtool kernel interface (documentation)

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Average: 12.5%
Forks count: 14.4%
Stargazers count: 15.9%
Dependent packages count: 19.5%
Maintainers (1)
Last synced: 11 months ago
alpine-v3.14: py3-ethtool-doc

Python3 library for the ethtool kernel interface (documentation)

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Average: 13.3%
Forks count: 14.9%
Stargazers count: 16.6%
Dependent packages count: 21.7%
Maintainers (1)
Last synced: 11 months ago
alpine-v3.10: py2-ethtool

Python library for the ethtool kernel interface (for python2)

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 11.8%
Stargazers count: 12.9%
Average: 13.5%
Dependent packages count: 29.6%
Maintainers (1)
Last synced: 11 months ago
alpine-v3.10: py-ethtool-doc

Python library for the ethtool kernel interface (documentation)

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 11.8%
Stargazers count: 12.9%
Average: 13.5%
Dependent packages count: 29.6%
Maintainers (1)
Last synced: 11 months ago
alpine-v3.15: py3-ethtool-doc

Python3 library for the ethtool kernel interface (documentation)

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Average: 15.0%
Forks count: 16.3%
Stargazers count: 18.0%
Dependent packages count: 25.6%
Maintainers (1)
Last synced: 11 months ago
alpine-v3.15: py3-ethtool

Python3 library for the ethtool kernel interface

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Average: 15.0%
Forks count: 16.3%
Stargazers count: 18.0%
Dependent packages count: 25.6%
Maintainers (1)
Last synced: 11 months ago
alpine-v3.17: py3-ethtool

Python3 library for the ethtool kernel interface

  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Average: 15.9%
Dependent packages count: 19.0%
Forks count: 21.0%
Stargazers count: 23.7%
Maintainers (1)
Last synced: 11 months ago
alpine-v3.16: py3-ethtool-doc

Python3 library for the ethtool kernel interface (documentation)

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Average: 16.2%
Forks count: 17.7%
Stargazers count: 19.9%
Dependent packages count: 27.3%
Maintainers (1)
Last synced: 11 months ago
alpine-edge: py3-ethtool

Python3 library for the ethtool kernel interface

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 14.6%
Average: 16.7%
Forks count: 24.4%
Stargazers count: 27.9%
Maintainers (1)
Last synced: 11 months ago
alpine-edge: py3-ethtool-doc

Python3 library for the ethtool kernel interface (documentation)

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 14.6%
Average: 16.7%
Forks count: 24.4%
Stargazers count: 27.9%
Maintainers (1)
Last synced: 11 months ago
alpine-v3.17: py3-ethtool-doc

Python3 library for the ethtool kernel interface (documentation)

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Average: 18.0%
Forks count: 21.0%
Stargazers count: 23.7%
Dependent packages count: 27.3%
Maintainers (1)
Last synced: 11 months ago
alpine-v3.22: py3-ethtool-doc

Python3 library for the ethtool kernel interface (documentation)

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 11 months ago
alpine-v3.20: py3-ethtool

Python3 library for the ethtool kernel interface

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 11 months ago
alpine-v3.19: py3-ethtool

Python3 library for the ethtool kernel interface

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Last synced: 11 months ago
alpine-v3.22: py3-ethtool

Python3 library for the ethtool kernel interface

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 11 months ago
alpine-v3.20: py3-ethtool-doc

Python3 library for the ethtool kernel interface (documentation)

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 11 months ago
alpine-v3.21: py3-ethtool

Python3 library for the ethtool kernel interface

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 11 months ago
alpine-v3.21: py3-ethtool-doc

Python3 library for the ethtool kernel interface (documentation)

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 11 months ago
alpine-v3.19: py3-ethtool-doc

Python3 library for the ethtool kernel interface (documentation)

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 11 months ago

Dependencies

setup.py pypi