Skip to main content

Ocean Insight spectrometers for ONE-PIX

ONE-PIX plugin for Ocean Insight (formerly Ocean Optics) USB spectrometers, built on python-seabreeze. Installing it follows the python-seabreeze installation instructions: the Python packages, then the operating-system setup.

1. Install the plugin

From the ONE-PIX Plugins page, or with pip:

pip install onepix-oceaninsight-spectrometer

This installs seabreeze[pyseabreeze]: seabreeze with its two backends, the compiled one (cseabreeze, used by default) and the pure-Python one (pyseabreeze, which needs pyusb, installed by the same extra). If the compiled backend cannot be loaded, the plugin falls back to pyseabreeze.

2. Set up the operating system (once per computer)

pip cannot do this step: run it yourself, with the same Python environment as ONE-PIX.

seabreeze_os_setup
  • Linux / Raspberry Pi: installs the udev rules (/etc/udev/rules.d/10-oceanoptics.rules) so that a normal user can open the spectrometer. It asks for confirmation and uses sudo. Use seabreeze_os_setup --overwrite-existing to replace an older rules file.
  • Windows: installs the USB drivers (run it from an administrator terminal).
  • macOS: nothing to do.

Then unplug and replug the spectrometer.

On Linux, libusb must be installed too:

sudo apt-get install libusb-0.1-4

(On a Raspberry Pi with an older image, the build dependencies listed in the python-seabreeze documentation may also be needed: build-essential libusb-dev.)

3. Check

seabreeze_os_setup   # shows "udev rules already newest version" once everything is in place
python -c "from seabreeze.spectrometers import list_devices; print(list_devices())"

The second command must list your spectrometer. If it lists nothing, or if ONE-PIX reports No Ocean Insight device was detected, check the USB cable, repeat step 2 and replug the device.

OceanInsight/10-oceanoptics.rules is kept as an offline copy of the rules file: seabreeze_os_setup path/to/10-oceanoptics.rules installs it without downloading anything.

Metadata

Release files for onepix-oceaninsight-spectrometer 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for onepix-oceaninsight-spectrometer 0.1.2
File Size Uploaded Provenance Actions
onepix_oceaninsight_spectrometer-0.1.2.tar.gz 9.6 kB Without provenance Details for onepix_oceaninsight_spectrometer-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for onepix-oceaninsight-spectrometer 0.1.2
File Interpreter ABI Platform Actions
onepix_oceaninsight_spectrometer-0.1.2-py3-none-any.whl Python 3 none any Details for onepix_oceaninsight_spectrometer-0.1.2-py3-none-any.whl

Total release size: 24.5 kB

Release files / onepix_oceaninsight_spectrometer-0.1.2.tar.gz

Download URL onepix_oceaninsight_spectrometer-0.1.2.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bfb8fe7d8d4c0356f3b489c08c4c042dd5bd294c7bcdc90915073432252829b1
BLAKE2b-256 checksum
How to use checksums
4bc6a930363b9f7b6476edf8f524dcd1bd770596cbc5275435dc9eab2c0a2fcd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.22

Release files / onepix_oceaninsight_spectrometer-0.1.2-py3-none-any.whl

Download URL onepix_oceaninsight_spectrometer-0.1.2-py3-none-any.whl
Size 14.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be51e23b7368f9586e2be8b3971983557a377284881945c1d7c994a3c9cb285a
BLAKE2b-256 checksum
How to use checksums
f20de9f27c60781136845841dd9ea10860ff10c4ddd3b26aa36b62872667b9ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.22

Security for onepix-oceaninsight-spectrometer 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page