This is a simple Python script to make use of a OceanOptics USB spectrometer. Quick and dirty, no bells and whistles, no portability to other devices as a design goal right now.
For python-seabreeze, see https://github.com/ap--/python-seabreeze.