alsmodule-pkg-0.0.1
توضیحات
A simple module to access ambient light sensors samples on Mac OS X
| ویژگی | مقدار |
|---|---|
| سیستم عامل | MacOS :: MacOS X |
| نام فایل | alsmodule-pkg-0.0.1 |
| نام | alsmodule-pkg |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Jean-Jacques Puig |
| ایمیل نویسنده | jjp-pypi@espci.fr |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/alsmodule-pkg/ |
| مجوز | - |
# 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())
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl alsmodule-pkg-0.0.1:
pip install alsmodule-pkg-0.0.1.whl
نصب پکیج tar.gz alsmodule-pkg-0.0.1:
pip install alsmodule-pkg-0.0.1.tar.gz