The script is f**n slow, but he track byte-to-byte structure of raw dumps of bitcoin blockchain.
It is a pseudocode script that can parse whole raw dumps of blockchain.
For users that are not familiar with the details of your python implementation (like me), I think it would be useful if you explained a little bit about how to use they script. Is it enough just to run the provided python code, like this:
python blockchain-parser.py
or you have to provide something as an input to the script?