Make summarize.py pip installable

I've assumed BSD license, happy to change to another if you'd like (per #2).

If you're happy with this, I'll be happy to write a few simple tests too.