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.1.0.tar.gz (20.8 kB view details)

Uploaded Source

Built Distribution

circuitpython_kx132-0.1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: circuitpython-kx132-0.1.0.tar.gz
  • Upload date:
  • Size: 20.8 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.1.0.tar.gz
Algorithm Hash digest
SHA256 f9ef1181741abd82a8399a858d385caee1cb556f82102dcad9f95430b493d8f8
MD5 ce8fa2b9623e39f441b90db519606b50
BLAKE2b-256 4f196adc46807761353e85ea057851174076b0069e51cdd059a21f00f2213c61

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for circuitpython_kx132-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 71848f0ef332e1e47102aef2de034e8d85b9406aa9fee5ea5d0b68f318c1862a
MD5 a75f0331492a39f970e3a5a7afe675d9
BLAKE2b-256 128b840a9fed89fc78986e63854f30034268ebf0c4a4ea158fd5e3233f31eee0

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