Introduction
============
.. image:: https://readthedocs.org/projects/circuitpython-kx132/badge/?version=latest
:target: https://circuitpython-kx132.readthedocs.io/
:alt: Documentation Status
.. image:: https://img.shields.io/pypi/v/circuitpython-kx132.svg
:alt: latest version on PyPI
:target: https://pypi.python.org/pypi/circuitpython-kx132
.. image:: https://static.pepy.tech/personalized-badge/circuitpython-kx132?period=total&units=international_system&left_color=grey&right_color=blue&left_text=Pypi%20Downloads
:alt: Total PyPI downloads
:target: https://pepy.tech/project/circuitpython-kx132
.. image:: https://github.com/jposada202020/CircuitPython_KX132/workflows/Build%20CI/badge.svg
:target: https://github.com/jposada202020/CircuitPython_KX132/actions
:alt: Build Status
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
:alt: Code Style: Black
CircuitPython Driver for the Kionix KX132 Accelerometer
Dependencies
=============
This driver depends on:
* `Adafruit CircuitPython <https://github.com/adafruit/circuitpython>`_
* `Bus Device <https://github.com/adafruit/Adafruit_CircuitPython_BusDevice>`_
* `Register <https://github.com/adafruit/Adafruit_CircuitPython_Register>`_
Please ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloading
`the Community Bundle library and driver bundle <https://circuitpython.org/libraries>`_
or individual libraries can be installed using
`circup <https://github.com/adafruit/circup>`_.
Installing from PyPI
=====================
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
PyPI <https://pypi.org/project/circuitpython-kx132/>`_.
To install for current user:
.. code-block:: shell
pip3 install circuitpython-kx132
To install system-wide (this may be required in some cases):
.. code-block:: shell
sudo pip3 install circuitpython-kx132
To install in a virtual environment in your current project:
.. code-block:: shell
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:
.. code-block:: shell
pip3 install circup
With ``circup`` installed and your CircuitPython device connected use the
following command to install:
.. code-block:: shell
circup install kx132
Or the following command to update an existing version:
.. code-block:: shell
circup update
Usage Example
=============
Take a look at the examples directory
Documentation
=============
API documentation for this library can be found on `Read the Docs <https://circuitpython-kx132.readthedocs.io/>`_.
Raw data
{
"_id": null,
"home_page": "",
"name": "circuitpython-kx132",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "sensor,blinka,circuitpython,micropython,kx132,acceleration,gravity,accelerometer,sensor,driver,KX132",
"author": "",
"author_email": "JDM <xxx@mailmeto.mozmail.com>",
"download_url": "https://files.pythonhosted.org/packages/59/93/79c7390b80a31a636ccb71d3ba8641a42893b40c4786fad643c7fd4d3011/circuitpython-kx132-0.2.0.tar.gz",
"platform": null,
"description": "Introduction\n============\n\n\n.. image:: https://readthedocs.org/projects/circuitpython-kx132/badge/?version=latest\n :target: https://circuitpython-kx132.readthedocs.io/\n :alt: Documentation Status\n\n\n.. image:: https://img.shields.io/pypi/v/circuitpython-kx132.svg\n :alt: latest version on PyPI\n :target: https://pypi.python.org/pypi/circuitpython-kx132\n\n.. image:: https://static.pepy.tech/personalized-badge/circuitpython-kx132?period=total&units=international_system&left_color=grey&right_color=blue&left_text=Pypi%20Downloads\n :alt: Total PyPI downloads\n :target: https://pepy.tech/project/circuitpython-kx132\n\n.. image:: https://github.com/jposada202020/CircuitPython_KX132/workflows/Build%20CI/badge.svg\n :target: https://github.com/jposada202020/CircuitPython_KX132/actions\n :alt: Build Status\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n :target: https://github.com/psf/black\n :alt: Code Style: Black\n\nCircuitPython Driver for the Kionix KX132 Accelerometer\n\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython <https://github.com/adafruit/circuitpython>`_\n* `Bus Device <https://github.com/adafruit/Adafruit_CircuitPython_BusDevice>`_\n* `Register <https://github.com/adafruit/Adafruit_CircuitPython_Register>`_\n\nPlease ensure all dependencies are available on the CircuitPython filesystem.\nThis is easily achieved by downloading\n`the Community Bundle library and driver bundle <https://circuitpython.org/libraries>`_\nor individual libraries can be installed using\n`circup <https://github.com/adafruit/circup>`_.\n\n\nInstalling from PyPI\n=====================\n\nOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from\nPyPI <https://pypi.org/project/circuitpython-kx132/>`_.\nTo install for current user:\n\n.. code-block:: shell\n\n pip3 install circuitpython-kx132\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n sudo pip3 install circuitpython-kx132\n\nTo install in a virtual environment in your current project:\n\n.. code-block:: shell\n\n mkdir project-name && cd project-name\n python3 -m venv .venv\n source .env/bin/activate\n pip3 install circuitpython-kx132\n\nInstalling to a Connected CircuitPython Device with Circup\n==========================================================\n\nMake sure that you have ``circup`` installed in your Python environment.\nInstall it with the following command if necessary:\n\n.. code-block:: shell\n\n pip3 install circup\n\nWith ``circup`` installed and your CircuitPython device connected use the\nfollowing command to install:\n\n.. code-block:: shell\n\n circup install kx132\n\nOr the following command to update an existing version:\n\n.. code-block:: shell\n\n circup update\n\nUsage Example\n=============\n\nTake a look at the examples directory\n\nDocumentation\n=============\nAPI documentation for this library can be found on `Read the Docs <https://circuitpython-kx132.readthedocs.io/>`_.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "CircuitPython Driver for the Kionix KX132 Accelerometer",
"version": "0.2.0",
"project_urls": {
"Homepage": "https://github.com/jposada202020/CircuitPython_KX132"
},
"split_keywords": [
"sensor",
"blinka",
"circuitpython",
"micropython",
"kx132",
"acceleration",
"gravity",
"accelerometer",
"sensor",
"driver",
"kx132"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0157fb37a64eabfa9f5768b5e0604e43fa1b0b9bc111be4c51e825dffd2d568b",
"md5": "6cc3e7844d0b79a4fea36ccc99652e02",
"sha256": "2c9595c8ddacb4d130d1672074709d9e6086208ac572b8756ed0bfdf4274d629"
},
"downloads": -1,
"filename": "circuitpython_kx132-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6cc3e7844d0b79a4fea36ccc99652e02",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 6714,
"upload_time": "2023-06-08T17:18:03",
"upload_time_iso_8601": "2023-06-08T17:18:03.809889Z",
"url": "https://files.pythonhosted.org/packages/01/57/fb37a64eabfa9f5768b5e0604e43fa1b0b9bc111be4c51e825dffd2d568b/circuitpython_kx132-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "599379c7390b80a31a636ccb71d3ba8641a42893b40c4786fad643c7fd4d3011",
"md5": "ea35d838737031722ad3865334fc4702",
"sha256": "3f9a7855734d4feca6170ee36a1ae801851204f03b6efb0f6dce84ade4a112e0"
},
"downloads": -1,
"filename": "circuitpython-kx132-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "ea35d838737031722ad3865334fc4702",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 23391,
"upload_time": "2023-06-08T17:18:05",
"upload_time_iso_8601": "2023-06-08T17:18:05.744823Z",
"url": "https://files.pythonhosted.org/packages/59/93/79c7390b80a31a636ccb71d3ba8641a42893b40c4786fad643c7fd4d3011/circuitpython-kx132-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-08 17:18:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jposada202020",
"github_project": "CircuitPython_KX132",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "Adafruit-Blinka",
"specs": []
},
{
"name": "adafruit-circuitpython-busdevice",
"specs": []
},
{
"name": "adafruit-circuitpython-register",
"specs": []
}
],
"lcname": "circuitpython-kx132"
}