My favorites | Sign in
Project Home Downloads
Search
for
YetAnotherPythonIPModule  
Yet Another Python IP Module.
Updated Jul 12, 2009 by drk...@gmail.com

Y.A.P.I.M. - Yet Another Python IP Module

Well, it seems every sysadmin using Python has to create his or her own IP address module somewhere along their journey towards nirvana. It would appear to be a vertiable rite of passage ;-)

Here is a list I'm compiling over time of all the modules I've encountered that provide a subset of the functionality available in netaddr :-

Created Project Python Package Index Homepage
2000-03-17 ipaddr n/a (previously on Vaults of Parnassus) ftp://ftp.ingate.com/pub/ipaddr/
(circa) 2002-03-11 IPy http://pypi.python.org/pypi/IPy/ http://software.inl.fr/trac/trac.cgi/wiki/IPy
2006-01-29 NetCIDR http://pypi.python.org/pypi/NetCIDR/ deprecated, see http://netaddr.googlecode.com/
unknown IPv4_Utils http://pypi.python.org/pypi/IPv4_Utils/ http://users.forthnet.gr/ath/chrisgeorgiou/python/
2005-10-17 iplib http://pypi.python.org/pypi/iplib/ http://erlug.linux.it/~da/soft/iplib/
2007-07-27 pynet http://pypi.python.org/pypi/pynet/ http://www.pennington.net/py/pynet/
2008-01-28 ipcalc http://pypi.python.org/pypi/ipcalc/ http://tehmaze.com/code/python/ipcalc/
2008-07-07 netaddr http://pypi.python.org/pypi/netaddr/ http://netaddr.googlecode.com/
2008-09-24 ipaddr-py http://pypi.python.org/pypi/ipaddr/ http://ipaddr-py.googlecode.com/
2008-11-16 python-iptools n/a http://code.google.com/p/python-iptools/
2009-02-23 IPV4 (uppercase 'V') http://pypi.python.org/pypi/IPV4/ http://www.albar.fr/IPV4_html/index.html
2009-05-23 wadofstuff-ip (requires IPy) http://pypi.python.org/pypi/wadofstuff-ip/1.0.0 http://code.google.com/p/wadofstuff/

There are also some interesting recipes in the Python Cookbook on ASPN that are worth a look :-

  • Recipe 466298: "IPv4 address set type" by Heiko Wundram
  • Recipe 66517: "IP address conversion functions with the builtin socket module" by Alex Martelli (pay attention to comments about endian bug!)

Other projects I've come across re-inventing our infamous wheel :-


Sign in to add a comment
Powered by Google Project Hosting