Skip to main content

Python library for the spectral sensor

Project description

AS7262 Spectral Sensor

Build Status Coverage Status PyPi Package Python Versions

Suitable for detecting the properties of ambient light, light passing through a liquid or light reflected from an object the AS7262 spectral sensor has 6 spectral channels at 450 (violet), 500 (blue), 550 (green), 570 (yellow), 600 (orange) and 650nm (red).


Stable library from PyPi:

  • Just run sudo pip install as7262

Latest/development library from GitHub:

  • git clone
  • cd as7262-python
  • sudo ./


  • Port to new i2cdevice API
  • Breaking change from singleton module to AS7262 class


  • Extended reset delay to avoid IO Errors


  • Initial Release

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for as7262, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size as7262-0.1.0-py2-none-any.whl (5.9 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size as7262-0.1.0-py3-none-any.whl (5.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size as7262-0.1.0.tar.gz (5.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page