Skip to main content

CircuitPython Driver for the Kionix KX132 Accelerometer

Project description

Introduction

Documentation Status latest version on PyPI Total PyPI downloads Build Status Code Style: Black

CircuitPython Driver for the Kionix KX132 Accelerometer

Dependencies

This driver depends on:

Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Community Bundle library and driver bundle or individual libraries can be installed using circup.

Installing from PyPI

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:

pip3 install circuitpython-kx132

To install system-wide (this may be required in some cases):

sudo pip3 install circuitpython-kx132

To install in a virtual environment in your current project:

mkdir project-name && cd project-name
python3 -m venv .venv
source .env/bin/activate
pip3 install circuitpython-kx132

Installing to a Connected CircuitPython Device with Circup

Make sure that you have circup installed in your Python environment. Install it with the following command if necessary:

pip3 install circup

With circup installed and your CircuitPython device connected use the following command to install:

circup install kx132

Or the following command to update an existing version:

circup update

Usage Example

Take a look at the examples directory

Documentation

API documentation for this library can be found on Read the Docs.

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

circuitpython-kx132-0.2.0.tar.gz (23.4 kB view details)

Uploaded Source

Built Distribution

circuitpython_kx132-0.2.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file circuitpython-kx132-0.2.0.tar.gz.

File metadata

  • Download URL: circuitpython-kx132-0.2.0.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for circuitpython-kx132-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3f9a7855734d4feca6170ee36a1ae801851204f03b6efb0f6dce84ade4a112e0
MD5 ea35d838737031722ad3865334fc4702
BLAKE2b-256 599379c7390b80a31a636ccb71d3ba8641a42893b40c4786fad643c7fd4d3011

See more details on using hashes here.

File details

Details for the file circuitpython_kx132-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for circuitpython_kx132-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2c9595c8ddacb4d130d1672074709d9e6086208ac572b8756ed0bfdf4274d629
MD5 6cc3e7844d0b79a4fea36ccc99652e02
BLAKE2b-256 0157fb37a64eabfa9f5768b5e0604e43fa1b0b9bc111be4c51e825dffd2d568b

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