Skip to main content

Python (and MicroPython) APDS-9960 Library

Python library for the APDS-9960 gesture sensor developed while I was looking to get the APDS-9960 to work with a Raspberry Pi to build a user interface feeling like in Minority Report.

This library is a port of the APDS-9960 Raspberry Pi Library of Justin Woodman. Sadly his library is coded in C++ and seems not to be maintained any more.

This library has been tested with SparkFun RGB and Gesture Sensor - APDS-9960 but should work with any other APDS-9960 based I²C device, too.

Installation

This library is available from PyPi. You may want to setup a virtualenv before installing the library using:

pip install apds9960

Features of the APDS-9960

  • operational voltage: 3.3V
  • ambient light & RGB color sensing
  • proximity sensing
  • gesture detection
  • operating range: 10 - 20cm
  • I²C interface (hard wired I²C address: 0x39)

Documentation & Examples

Metadata

Release files for apds9960 0.3.0

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

Source distribution (sdist)

Source distribution for apds9960 0.3.0
File Size Uploaded
apds9960-0.3.0.tar.gz 24.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for apds9960 0.3.0
File Interpreter ABI Platform
apds9960-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 46.5 kB

Release files / apds9960-0.3.0.tar.gz

Download URL apds9960-0.3.0.tar.gz
Size 24.2 kB
Tags Source
SHA-256 checksum
How to use checksums
110a7cd101a0f09333f031710b3d4a3a9dd1b3511154041b57a7cfdaf1dbac57
BLAKE2b-256 checksum
How to use checksums
99df0d41975f34cc49361c246d5b22e0c97a1380b8e61b0d788bdf2ea5ed1d7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / apds9960-0.3.0-py3-none-any.whl

Download URL apds9960-0.3.0-py3-none-any.whl
Size 22.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9d825b700f1d2488b6624a55b4d5398f0d11587a9b9a277c4721b8e2056788bc
BLAKE2b-256 checksum
How to use checksums
13c284d2e0a117a504b538e82a45cdaa8b3f5bff466a2dd3f17c9caa0736d5a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2

1 release file

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