This tutorial demonstrates how to control bi-polar stepper motors on a Raspberry Pi in Python using a DRV-8825 stepper motor driver.
Notes, schematics, code, updates and other resources are available on my website: http://www.rototron.info/raspberry-pi-stepper-motor-tutorial/