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
- RPi - connect and configure the APDS-9960 on Raspberry Pi
- Example scripts:
- simple ambient light level demo: rpi, micropython
- simple gesture detection demo: rpi, micropython
- simple proximity level demo: rpi, micropython
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| apds9960-0.3.0.tar.gz | 24.2 kB | Without provenance | Details for apds9960-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| apds9960-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for apds9960-0.3.0-py3-none-any.whl |
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
|
Security for apds9960 0.3.0
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.