Skip to main content

Python library for the LSM303d accelerometer and magnetometer

Project description

lsm303d Accelerometer And Compass

Build Status Coverage Status PyPi Package Python Versions

Installing

If you've already set up a Python virtual environment, you can also install the stable library manually from PyPi:

pip install lsm303d

Otherwise our install script will set one up for you.

Stable library from GitHub:

git clone https://github.com/pimoroni/lsm303d-python
cd lsm303d-python
./install.sh

Latest/development library from GitHub:

git clone https://github.com/pimoroni/lsm303d-python
cd lsm303d-python
./install.sh --unstable

Note Libraries will be installed in the "pimoroni" virtual environment, you will need to activate it to run examples:

1.0.0

  • Port to hatch/pyproject.toml
  • Require i2cdevice>=1.0.0
  • Fix typo in CLICK register "threshold" option

0.0.5

  • Require i2cdevice>=0.0.6

0.0.4

  • Port to i2cdevice>=0.0.6 set/get API

0.0.3

  • BugFix: Fix for compatibility with i2cdevice>=0.0.6

0.0.2

  • Bumped i2cdevice dependency to >=0.0.4

0.0.1

  • 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

lsm303d-1.0.0.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

lsm303d-1.0.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file lsm303d-1.0.0.tar.gz.

File metadata

  • Download URL: lsm303d-1.0.0.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.2

File hashes

Hashes for lsm303d-1.0.0.tar.gz
Algorithm Hash digest
SHA256 26809268aa4ee9fc5a566877672aec7de045ce2b76379f30487c3ab4a1fc7206
MD5 eae0b09cf5a7a0683c0f2e9a7f243a0d
BLAKE2b-256 202cf77b8e232d3c668046e750c979822ae5d2ba2eedf9811af48894bcbcf942

See more details on using hashes here.

File details

Details for the file lsm303d-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: lsm303d-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.2

File hashes

Hashes for lsm303d-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 83b0bee15115875343872fbbcb90c0cb0950da5a84b1415b2a5b4074551b7cce
MD5 7eca5db7d5ce7f052b38e6a11a33b127
BLAKE2b-256 6e12deb96b958611b1cfc3c8168d3d93789ae6cdd83ee20e0d4b0971e4497576

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page