lsm6ds3


Namelsm6ds3 JSON
Version 0.0.2 PyPI version JSON
download
home_pageNone
SummaryPython library for the LSM6DS3
upload_time2024-09-05 09:02:04
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseMIT License Copyright (c) 2024 Pimoroni Ltd. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords pi raspberry
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # LSM6DS3 Python Library

[![Build Status](https://img.shields.io/github/actions/workflow/status/pimoroni/lsm6ds3-python/test.yml?branch=main)](https://github.com/pimoroni/lsm6ds3-python/actions/workflows/test.yml)
[![Coverage Status](https://coveralls.io/repos/github/pimoroni/lsm6ds3-python/badge.svg?branch=main)](https://coveralls.io/github/pimoroni/lsm6ds3-python?branch=main)
[![PyPi Package](https://img.shields.io/pypi/v/lsm6ds3.svg)](https://pypi.org/project/lsm6ds3/)
[![Python Versions](https://img.shields.io/pypi/pyversions/lsm6ds3.svg)](https://pypi.python.org/pypi/lsm6ds3)

Generated from [the Pimoroni Python Boilerplate](https://github.com/pimoroni/boilerplate-python).

The LSM6DS3TR-C is an always-on 3D accelerometer and 3D gyroscope that includes additional built-in functions such as:

* Pedometer
* Tap and double tap recognition
* Significant motion and tilt detection
* Free-fall detection

# Installing

We'd recommend using this library with Raspberry Pi OS Bookworm or later. It requires Python ≥3.7.

## Full install (recommended):

We've created an easy installation script that will install all pre-requisites and get you up and running with minimal efforts. To run it, fire up Terminal which you'll find in Menu -> Accessories -> Terminal
on your Raspberry Pi desktop, as illustrated below:

![Finding the terminal](http://get.pimoroni.com/resources/github-repo-terminal.png)

In the new terminal window type the commands exactly as it appears below (check for typos) and follow the on-screen instructions:

```bash
git clone https://github.com/pimoroni/lsm6ds3-python
cd lsm6ds3-python
./install.sh
```

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

```
source ~/.virtualenvs/pimoroni/bin/activate
```

## Development:

If you want to contribute, or like living on the edge of your seat by having the latest code, you can install the development version like so:

```bash
git clone https://github.com/pimoroni/lsm6ds3-python
cd lsm6ds3-python
./install.sh --unstable
```

## Install stable library from PyPi and configure manually

* Set up a virtual environment: `python3 -m venv --system-site-packages $HOME/.virtualenvs/pimoroni`
* Switch to the virtual environment: `source ~/.virtualenvs/pimoroni/bin/activate`
* Install the library: `pip install lsm6ds3`

In some cases you may need to us `sudo` or install pip with: `sudo apt install python3-pip`.

This will not make any configuration changes, so you may also need to enable:

* i2c: `sudo raspi-config nonint do_i2c 0`


You can optionally run `sudo raspi-config` or the graphical Raspberry Pi Configuration UI to enable interfaces.

# Changelog

0.0.2
-----

* Updated to library name from `LSM6DS3` to `lsm6ds3` to match our other libraries.

0.0.1
-----

* Initial Release

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "lsm6ds3",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "Ryan H <ryan@pimoroni.com>",
    "keywords": "Pi, Raspberry",
    "author": null,
    "author_email": "Ryan H <ryan@pimoroni.com>",
    "download_url": "https://files.pythonhosted.org/packages/51/ae/0161250a2693734cd740c695dbab79b6c561931cfbdf89cf670f0cda178d/lsm6ds3-0.0.2.tar.gz",
    "platform": null,
    "description": "# LSM6DS3 Python Library\n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/pimoroni/lsm6ds3-python/test.yml?branch=main)](https://github.com/pimoroni/lsm6ds3-python/actions/workflows/test.yml)\n[![Coverage Status](https://coveralls.io/repos/github/pimoroni/lsm6ds3-python/badge.svg?branch=main)](https://coveralls.io/github/pimoroni/lsm6ds3-python?branch=main)\n[![PyPi Package](https://img.shields.io/pypi/v/lsm6ds3.svg)](https://pypi.org/project/lsm6ds3/)\n[![Python Versions](https://img.shields.io/pypi/pyversions/lsm6ds3.svg)](https://pypi.python.org/pypi/lsm6ds3)\n\nGenerated from [the Pimoroni Python Boilerplate](https://github.com/pimoroni/boilerplate-python).\n\nThe LSM6DS3TR-C is an always-on 3D accelerometer and 3D gyroscope that includes additional built-in functions such as:\n\n* Pedometer\n* Tap and double tap recognition\n* Significant motion and tilt detection\n* Free-fall detection\n\n# Installing\n\nWe'd recommend using this library with Raspberry Pi OS Bookworm or later. It requires Python \u22653.7.\n\n## Full install (recommended):\n\nWe've created an easy installation script that will install all pre-requisites and get you up and running with minimal efforts. To run it, fire up Terminal which you'll find in Menu -> Accessories -> Terminal\non your Raspberry Pi desktop, as illustrated below:\n\n![Finding the terminal](http://get.pimoroni.com/resources/github-repo-terminal.png)\n\nIn the new terminal window type the commands exactly as it appears below (check for typos) and follow the on-screen instructions:\n\n```bash\ngit clone https://github.com/pimoroni/lsm6ds3-python\ncd lsm6ds3-python\n./install.sh\n```\n\n**Note** Libraries will be installed in the \"pimoroni\" virtual environment, you will need to activate it to run examples:\n\n```\nsource ~/.virtualenvs/pimoroni/bin/activate\n```\n\n## Development:\n\nIf you want to contribute, or like living on the edge of your seat by having the latest code, you can install the development version like so:\n\n```bash\ngit clone https://github.com/pimoroni/lsm6ds3-python\ncd lsm6ds3-python\n./install.sh --unstable\n```\n\n## Install stable library from PyPi and configure manually\n\n* Set up a virtual environment: `python3 -m venv --system-site-packages $HOME/.virtualenvs/pimoroni`\n* Switch to the virtual environment: `source ~/.virtualenvs/pimoroni/bin/activate`\n* Install the library: `pip install lsm6ds3`\n\nIn some cases you may need to us `sudo` or install pip with: `sudo apt install python3-pip`.\n\nThis will not make any configuration changes, so you may also need to enable:\n\n* i2c: `sudo raspi-config nonint do_i2c 0`\n\n\nYou can optionally run `sudo raspi-config` or the graphical Raspberry Pi Configuration UI to enable interfaces.\n\n# Changelog\n\n0.0.2\n-----\n\n* Updated to library name from `LSM6DS3` to `lsm6ds3` to match our other libraries.\n\n0.0.1\n-----\n\n* Initial Release\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 Pimoroni Ltd.  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "Python library for the LSM6DS3",
    "version": "0.0.2",
    "project_urls": {
        "GitHub": "https://www.github.com/pimoroni/lsm6ds3-python",
        "Homepage": "https://www.pimoroni.com"
    },
    "split_keywords": [
        "pi",
        " raspberry"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b46c336d7bec75c8c4a1f4b5c19ee14efd612cf712381a776df6df64893b4369",
                "md5": "c45f74368eef638840bd7c4ff6ebae3d",
                "sha256": "60b5c68ad8c1edd1f44681a9b1f6ec4d9aac6d4ff6f931c5b4d67831e526e857"
            },
            "downloads": -1,
            "filename": "lsm6ds3-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c45f74368eef638840bd7c4ff6ebae3d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 7699,
            "upload_time": "2024-09-05T09:02:03",
            "upload_time_iso_8601": "2024-09-05T09:02:03.804614Z",
            "url": "https://files.pythonhosted.org/packages/b4/6c/336d7bec75c8c4a1f4b5c19ee14efd612cf712381a776df6df64893b4369/lsm6ds3-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "51ae0161250a2693734cd740c695dbab79b6c561931cfbdf89cf670f0cda178d",
                "md5": "a407bf2434e77b9881f6a701ea1ff956",
                "sha256": "bb13d8d7301e629ff9f9e86f0a39eb5179a1c160aa6c3b4e4a3dab92dac424dd"
            },
            "downloads": -1,
            "filename": "lsm6ds3-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "a407bf2434e77b9881f6a701ea1ff956",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 11546,
            "upload_time": "2024-09-05T09:02:04",
            "upload_time_iso_8601": "2024-09-05T09:02:04.823468Z",
            "url": "https://files.pythonhosted.org/packages/51/ae/0161250a2693734cd740c695dbab79b6c561931cfbdf89cf670f0cda178d/lsm6ds3-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-05 09:02:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pimoroni",
    "github_project": "lsm6ds3-python",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "lsm6ds3"
}
        
Elapsed time: 4.10897s