A simple module to access ambient light sensors samples on Mac OS X
Project description
Ambient Light Sensor (ALS) Package
Copyright (C) 2019 Jean-Jacques Puig
This module implements a trivial interface to access ambient light sensors available on some Apple computers (iMac...).
Usage is very simple; the 'als' module exports only one module method, getSensorReadings(), which returns raw samples values as a list of two (Long) integers.
import als print(als.getSensorReadings())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file alsmodule-pkg-0.0.1.tar.gz.
File metadata
- Download URL: alsmodule-pkg-0.0.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
509e9279a377617f1c71d4e3f0fb9b5cb3ff93744e1ea215f3f582eccbb0d10c
|
|
| MD5 |
944874231613b3044813e5825180201c
|
|
| BLAKE2b-256 |
ed934576d290ba2678c6f5f9edc03dd78e7c69916d068859d54b60b733bdaf81
|
File details
Details for the file alsmodule_pkg-0.0.1-cp37-cp37m-macosx_10_7_x86_64.whl.
File metadata
- Download URL: alsmodule_pkg-0.0.1-cp37-cp37m-macosx_10_7_x86_64.whl
- Upload date:
- Size: 15.5 kB
- Tags: CPython 3.7m, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38780912a89bc83a8028b143af88fcfc1f3abc1f8932517aec622eb2db77565a
|
|
| MD5 |
0cce175c4117a248620644dc088919ea
|
|
| BLAKE2b-256 |
89bd8dcd1981f528e39c2619ea2d53c43c9eba28fa70c956dc1c2db9b6f2babd
|