audiohacked has started a python library for the Bus Pirate. So far, it’s been tested as an EEPROM dumper:

I have started writing a python library for the bus pirate. It’s ugly and messy, but I was able to use it to dump the firmware from an SPI chip… You can contact me if you need more information.

The source code is available here.