Closed jeff-cai closed 7 years ago
I would encourage the direct use of /sys/ and /proc/ over requiring binaries, both for performance and compatibility.
One of the (hitherto unstated) stretch goals for this project is to have no binary blob dependencies (with the exception of units like PY3NVGPU which monitor a proprietary subsystem).
Further development will migrate towards reading from /sys/ and /proc/. In it's current form I think of it as a placeholder unit that returns the intended outcome (mostly for my own uses) that I thought was stable enough to merge to master despite requiring dependencies.
The arch wiki also seems to suggest that these packages are the standard for managing wireless networks, so from a compatibility side I think it would be safe. Though it does mention:
wireless_tools - currently deprecated, but still widely supported.
Perhaps updating to depend on iw
would be better future-proofing.
Please separate the get_chunk
method into read
and format
, as per the new API.
4
Preliminary wireless unit. Future development on displaying ip to be considered.