Hello,
Perhaps someone here has experience using ipaddr.py with Google Refine?
I have some tables with columns containing IP addresses in Decimal format, and would like to convert them to a more user friendly, human readable Dotted Quad format. I was unable to accomplish this using Google Refine itself(although I imagine it is possible providing one knows what they are doing, i.e.- not me). So, another Refine user suggested I try ipaddr.py, and I did. I downloaded ipaddr.py and placed it into my google Refine.app folder(Contents > Resources > webapp > extensions > jython > module > MOD-INF > lib > jython), restarted Google Refine, and then attempted to use ipaddr.py by creating a Custom text facet and selecting Jython as the language flavor, and then added the following expression:
import ipaddr
return ipaddr.IPv4Interface
But no dice... did not work. If anyone could offer some advice... it would be much appreciated.
Thank you,
Eric Jarvies