Skip to main content

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.

Metadata

Release files for circuitpython-kx132 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for circuitpython-kx132 0.2.0
File Size Uploaded
circuitpython-kx132-0.2.0.tar.gz 23.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for circuitpython-kx132 0.2.0
File Interpreter ABI Platform
circuitpython_kx132-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 30.1 kB

Release files / circuitpython-kx132-0.2.0.tar.gz

Download URL circuitpython-kx132-0.2.0.tar.gz
Size 23.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3f9a7855734d4feca6170ee36a1ae801851204f03b6efb0f6dce84ade4a112e0
BLAKE2b-256 checksum
How to use checksums
599379c7390b80a31a636ccb71d3ba8641a42893b40c4786fad643c7fd4d3011
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / circuitpython_kx132-0.2.0-py3-none-any.whl

Download URL circuitpython_kx132-0.2.0-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2c9595c8ddacb4d130d1672074709d9e6086208ac572b8756ed0bfdf4274d629
BLAKE2b-256 checksum
How to use checksums
0157fb37a64eabfa9f5768b5e0604e43fa1b0b9bc111be4c51e825dffd2d568b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page