We have not yet written a guide to using our SPI libraries, but a number of people have spotted that our quick2wire-python-api library on github has SPI support and includes some example scripts.
Several have encountered the problem that the raspbian kernel sets ownership of the two spi channels to root, and that changing the ownership or group memebership only lasts to the nrext reboot.
We suggest the following approach to accessing SPI devices from user accounts:
sudo groupadd -f --system spi sudo adduser pi spi # assuming the pi account is the one that will access SPI
Now, as root, place a file called 90-spi.rules in your /etc/udev/rules.d/ directory with the following contents:
On this and each subsequent reboot /dev/spidev0.0 and /dev/spidev0.1 will have group set to
and mode set to