Skip to main content

Python library for the LTR559 light and proximity

Project description

LTR559 Proximity/Presence/Light Sensor

Build Status Coverage Status PyPi Package Python Versions

Suitable for detecting proximity of an object at close range the LTR-559 is great for approach detection and ambient light compensation. The range is useful to around 5cm, and this is the type of sensor you might find in a smartphone to determine if you're holding it against your head.


Stable library from PyPi:

  • Just run sudo pip3 install ltr559

Latest/development library from GitHub:

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


  • Breaking API change to class for CircuitPython compatibility
  • Port to new i2cdevice set/get API


  • Removed rogue print() of reset status


  • Fix PyPi readme formatting


  • Added default light-sensor options
  • Fixed bugs & linted


  • 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.

Source Distribution

ltr559-0.1.1.tar.gz (8.8 kB view hashes)

Uploaded source

Built Distributions

ltr559-0.1.1-py3-none-any.whl (8.2 kB view hashes)

Uploaded py3

ltr559-0.1.1-py2-none-any.whl (8.2 kB view hashes)

Uploaded py2

Supported by

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