Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

30 views
Skip to first unread message

Jose Luis Rivero

unread,
Oct 15, 2021, 10:40:04 AM10/15/21
to
Package: wnpp
Severity: wishlist
Owner: Jose Luis Rivero <jri...@osrfoundation.org>
X-Debbugs-Cc: debian...@lists.debian.org

* 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

Jochen Sprickerhof

unread,
Dec 21, 2021, 3:40:03 AM12/21/21
to
Hi Jose,

* Jose Luis Rivero <jri...@osrfoundation.org> [2021-10-15 14:36]:
>* 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.

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
signature.asc

Jose Luis Rivero

unread,
Jan 4, 2022, 12:30:03 PM1/4/22
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


0 new messages