netifaces-plus
Portable network interface information (Supports Python 3.6 and higher)
Decision gist · record as of 2026-08-14
Yes, if you need portable network interface querying and are comfortable with C extension compilation. The MIT license and zero runtime dependencies make it low-risk. However, consider the aging maintenance status (286 days since last release) and the maintainer's own recommendation of ifaddr for new projects. Install if you're maintaining existing code using netifaces or need direct low-level interface access; otherwise evaluate ifaddr first.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires C compiler and development headers for your platform to build the extension during installation, unless a pre-built wheel is available for your Python version and OS.
- Medium install friction due to C extension compilation required on all platforms.
- Package is aging (286 days since last release) but repository is active and not archived.
License · maintenance · safety
MIT License (permissive) — MIT License (permissive) places no restrictions on commercial or private use, modification, or redistribution.
last release 2025-11-01 (286 days) · last repo commit 2025-11-01 · 14 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 119,520 downloads/mo, #12,070 on PyPI
Alternatives
Verify before relying
pip install netifaces-plus
import netifaces
# List all network interfaces
print(netifaces.interfaces())
# Get addresses for a specific interface
addrs = netifaces.ifaddresses('eth0')
print(addrs[netifaces.AF_INET]) # IPv4 addresses
# Get gateway information
gws = netifaces.gateways()
print(gws['default'][netifaces.AF_INET])- Whether the maintainer actively backports security fixes or only applies merged pull requests from the archived upstream.
- Performance characteristics when querying interfaces on systems with many network adapters.
- Compatibility with modern Python 3.13 and 3.14 in practice (classifiers list support but package is aging).
What it is and what it does
netifaces-plus is a maintained fork of the archived netifaces library that provides a cross-platform way to query network interface information from Python. It wraps low-level OS networking APIs (getifaddrs on Unix-like systems, Windows API on Windows) so you don't have to write platform-specific code. The library returns dictionaries keyed by address family (AF_INET for IPv4, AF_INET6 for IPv6, AF_LINK for hardware addresses), allowing you to retrieve all addresses, netmasks, broadcast addresses, MAC addresses, and gateway information for each interface.
The fork modernizes the original package with type hints, support for Python 3.9 and higher, and GitHub Actions-based wheel builds. It has no runtime dependencies and compiles to a C extension. The maintainer recommends ifaddr as a more modern pure-Python alternative, but netifaces-plus remains useful for projects already using the netifaces API or requiring direct access to low-level interface details.
Use it for
- Retrieve the local IPv4 or IPv6 address of a machine for logging, configuration, or service discovery.
- Get MAC addresses for network interfaces to identify hardware or enforce network policies.
- Query default gateway information for routing decisions or network diagnostics.
- List all active network interfaces on a system to detect connectivity or enumerate available adapters.
- Build cross-platform network utilities that need interface details without writing OS-specific code.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need portable network interface querying and are comfortable with C extension compilation.
The MIT license and zero runtime dependencies make it low-risk. However, consider the aging maintenance status (286 days since last release) and the maintainer's own recommendation of ifaddr for new projects. Install if you're maintaining existing code using netifaces or need direct low-level interface access; otherwise evaluate ifaddr first.
Install
netifaces-plus on PyPI
Before you install
Medium install friction due to C extension compilation required on all platforms. Package is aging (286 days since last release) but repository is active and not archived. Wheels are provided for Python 3.10–3.12 across major platforms (macOS, Linux, Windows), reducing compilation burden on supported versions.
Requires C compiler and development headers for your platform to build the extension during installation, unless a pre-built wheel is available for your Python version and OS.
License in practice
MIT License (permissive) places no restrictions on commercial or private use, modification, or redistribution.
Quickstart
pip install netifaces-plus
import netifaces
# List all network interfaces
print(netifaces.interfaces())
# Get addresses for a specific interface
addrs = netifaces.ifaddresses('eth0')
print(addrs[netifaces.AF_INET]) # IPv4 addresses
# Get gateway information
gws = netifaces.gateways()
print(gws['default'][netifaces.AF_INET])
Verify before relying
- Whether the maintainer actively backports security fixes or only applies merged pull requests from the archived upstream.
- Performance characteristics when querying interfaces on systems with many network adapters.
- Compatibility with modern Python 3.13 and 3.14 in practice (classifiers list support but package is aging).
Package facts
| License | MIT License permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Aging 286 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 119,520 / month, #12,070 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: System :: Networking |
Evidence: netifaces_plus-0.12.5-cp310-cp310-macosx_10_9_universal2.whl; netifaces_plus-0.12.5-cp310-cp310-macosx_10_9_x86_64.whl; netifaces_plus-0.12.5-cp310-cp310-macosx_11_0_arm64.whl; netifaces_plus-0.12.5-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl; netifaces_plus-0.12.5-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; netifaces_plus-0.12.5-cp310-cp310-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl; netifaces_plus-0.12.5-cp310-cp310-win32.whl; netifaces_plus-0.12.5-cp310-cp310-win_amd64.whl; netifaces_plus-0.12.5-cp310-cp310-win_arm64.whl; netifaces_plus-0.12.5-cp311-cp311-macosx_10_9_universal2.whl; netifaces_plus-0.12.5-cp311-cp311-macosx_10_9_x86_64.whl; netifaces_plus-0.12.5-cp311-cp311-macosx_11_0_arm64.whl; netifaces_plus-0.12.5-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl; netifaces_plus-0.12.5-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; netifaces_plus-0.12.5-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl; netifaces_plus-0.12.5-cp311-cp311-win32.whl; netifaces_plus-0.12.5-cp311-cp311-win_amd64.whl; netifaces_plus-0.12.5-cp311-cp311-win_arm64.whl; netifaces_plus-0.12.5-cp312-cp312-macosx_10_13_universal2.whl; netifaces_plus-0.12.5-cp312-cp312-macosx_10_13_x86_64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “portable network info”
- netifaces-plusRetrieves network interface information (addresses, gateways, MAC…
- netifacesProvides portable access to network interface information (addresses,…
- netifaces2Retrieves network interface information (addresses, gateways,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Networking packages
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
psutil retrieves real-time information about running processes and system resources (CPU, memory, disks, network, sensors) across multiple operating systems, enabling system monitoring, process profiling, and resource management.
pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.
uvloop is a drop-in replacement for Python's built-in asyncio event loop, implemented in Cython and using libuv, that accelerates async I/O operations.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
PyZMQ provides Python bindings for ZeroMQ (ØMQ), a lightweight messaging library that enables fast, asynchronous communication between distributed processes and applications.
See also getmac · ifaddr · ifcfg · netifaces · netifaces2 · netaddr · multiaddr · django-netfields · ipaddress · IP2Location