Introduction
MicroPython Driver for the ST LIS3MDL magnetometer
Installing with mip
To install using mpremote
mpremote mip install github:jposada202020/MicroPython_LIS3MDL
To install directly using a WIFI capable board
mip.install("github:jposada202020/MicroPython_LIS3MDL")
Installing Library Examples
If you want to install library examples:
mpremote mip install github:jposada202020/MicroPython_LIS3MDL/examples.json
To install directly using a WIFI capable board
mip.install("github:jposada202020/MicroPython_LIS3MDL/examples.json")
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 micropython-lis3mdl
To install system-wide (this may be required in some cases):
sudo pip3 install micropython-lis3mdl
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 micropython-lis3mdl
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 micropython-lis3mdl 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| micropython-lis3mdl-0.2.0.tar.gz | 19.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| micropython_lis3mdl-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.8 kB
Release files / micropython-lis3mdl-0.2.0.tar.gz
| Download URL | micropython-lis3mdl-0.2.0.tar.gz |
|---|---|
| Size | 19.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4629adacb54d1198be2828cdf59f80226ed721058d715bae872915962dfa3aeb
|
|
BLAKE2b-256 checksum How to use checksums |
ff5e63dde21dbc1389f5e99823a400ef86b645d74653785bea414226509ecac5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / micropython_lis3mdl-0.2.0-py3-none-any.whl
| Download URL | micropython_lis3mdl-0.2.0-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f6b132d69832805553d8ea05f14eaf510407fc2bfb64606b7ed92b6042784122
|
|
BLAKE2b-256 checksum How to use checksums |
7df8279373622e030eaaaf8de4649f9687960fd6109fcd1879f562f388557dfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for micropython-lis3mdl 0.2.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.