Python parser for ripple.txt