python-seabreeze is the easy way to access your Ocean Optics spectrometers from python. It wraps the SeaBreeze library provided by Ocean Optics to communicate with the spectrometer. If SeaBreeze is not available it can fallback to a pyUSB based reimplementation.


This software is not associated with Ocean Optics. Use it at your own risk.

It’s recommended to read the Installing python-seabreeze section, the Quickstart Guide and the API documentation. Also check out the Contributing Guide if you want to learn how to contribute to the project. A changelog is available here.


python-seabreeze module structure

python-seabreeze in the wild

python-seabreeze is used in many labs around the world. One of the cool examples was a student project measuring fluorescence spectra (#17) with a Spark spectrometer controlled by a raspberry pi zero, which was sent to the International Space Station on the SpaceX CRS-14 resupply mission. (space proof softwareTM)


If you use python-seabreeze in your project let me know about it and I’ll add it here :)