Re:New features you can't use unless you are in Python 3
by jsmthrowaway on Wednesday June 14, 2017 @07:23PM
(#14556804)
Anybody who likes that will like subnettree, too, which offers a C-based Patricia tree for IP addresses. In the past, I've gotten a lot of mileage out of this library:
https://pypi.python.org/pypi/pysubnettree
Last time I played with it, it didn't like Python 3 or ipaddress, though. I see a recent upload, so maybe they addressed that.