#996563 ITP: ifcfg -- Python cross-platform network interface discovery (ifconfig/ipconfig/ip)

Package:
wnpp
Source:
wnpp
Submitter:
Jose Luis Rivero
Date:
2025-11-29 16:49:36 UTC
Severity:
wishlist
#996563#5
Date:
2021-10-15 14:36:37 UTC
From:
To:
* Package name    : ifcfg
  Version         : 0.22
  Upstream Author : BJ Dierkes
* URL             : https://github.com/ftao/python-ifcfg
* License         : BSD
  Programming Lang: Python
  Description     : Python cross-platform network interface discovery (ifconfig/ipconfig/ip)

Ifcfg is a cross-platform library for parsing ifconfig and ipconfig output in
Python. It is useful for pulling information such as IP, Netmask, MAC Address,
Hostname, etc.

Maintainership ideally would be shared with python team

#996563#10
Date:
2021-12-21 08:36:48 UTC
From:
To:
Hi Jose,

* Jose Luis Rivero <jrivero@osrfoundation.org> [2021-10-15 14:36]:

I'm not sure this should be part of Debian. Parsing command line tools
is known to be brittle and ifconfig is a well known example for this.
There is `ip -json` to provide a more machine readable output but it
does not seem to be used by ifcfg.

Also there is already python3-psutil and python3-netifaces in Debian,
providing the same information.

Cheers Jochen

#996563#15
Date:
2022-01-04 17:16:28 UTC
From:
To:
We were specifically looking into the features related to the interface
flags which were
not implemented in the psutil or netifaces at the time of writing.

We changed the approach and find some dedicated time for trying to
implement these
missing features in psutils. https://github.com/giampaolo/psutil/pull/2037