Introduction
Driver for the BMI160 sensor
Dependencies
This driver depends on:
Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit 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-bmi160
To install system-wide (this may be required in some cases):
sudo pip3 install circuitpython-bmi160
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-bmi160
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 bmi160
Or the following command to update an existing version:
circup update
Usage Example
Take a look at the examples folder
Metadata
Release files for circuitpython-bmi160 0.2.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| circuitpython_bmi160-0.2.9.tar.gz | 22.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| circuitpython_bmi160-0.2.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.2 kB
Release files / circuitpython_bmi160-0.2.9.tar.gz
| Download URL | circuitpython_bmi160-0.2.9.tar.gz |
|---|---|
| Size | 22.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ca83161448120ff6b9ee3a2a3f8891c3d5d812e91acb41f7a0f40bcd94fa2cd5
|
|
BLAKE2b-256 checksum How to use checksums |
64093848ca8ce2e29cabd43792f597ab08ecf68130fa39a42dc893cb8af2a4be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 3, 2024.
Transparency logRelease files / circuitpython_bmi160-0.2.9-py3-none-any.whl
| Download URL | circuitpython_bmi160-0.2.9-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
78ecb26e942c0fb229382aa2e01360613025a00f71cf3cef1fed768dc37ccd97
|
|
BLAKE2b-256 checksum How to use checksums |
a7433f49c6c1615175ef2c56fe2fcb655e489c883a2f4ba0fd961b8003083f34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 3, 2024.
Transparency log