semvec/pypi-packages huggingface dataset:
micropython-lis2mdl 0.1.0
MicroPython Driver for the ST LIS2MDL Magnetometer sensor
License: MIT
Keywords: sensor,micropython,lis2mdl,micropython,sensor,driver,lis2mdl,st,magnetic,magnetometer

Introduction
============


.. image:: https://readthedocs.org/projects/micropython-lis2mdl/badge/?version=latest
    :target: https://micropython-lis2mdl.readthedocs.io/en/latest/
    :alt: Documentation Status


.. image:: https://img.shields.io/badge/micropython-Ok-purple.svg
    :target: https://micropython.org
    :alt: micropython

.. image:: https://img.shields.io/pypi/v/micropython-lis2mdl.svg
    :alt: latest version on PyPI
    :target: https://pypi.python.org/pypi/micropython-lis2mdl

.. image:: https://static.pepy.tech/personalized-badge/micropython-lis2mdl?period=total&units=international_system&left_color=grey&right_color=blue&left_text=Pypi%20Downloads
    :alt: Total PyPI downloads
    :target: https://pepy.tech/project/micropython-lis2mdl

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/psf/black
    :alt: Code Style: Black

MicroPython Driver for the ST LIS2MDL Magnetometer sensor


Installing with mip
====================
To install using mpremote

.. code-block:: shell

    mpremote mip install github:jposada202020/MicroPython_LIS2MDL

To install directly using a WIFI capable board

.. code-block:: shell

    mip install github:jposada202020/MicroPython_LIS2MDL


Installing Library Examples
============================

If you want to install library examples:

.. code-block:: shell

    mpremote mip install github:jposada202020/MicroPython_LIS2MDL/examples.json

To install directly using a WIFI capable board

.. code-block:: shell

    mip install github:jposada202020/MicroPython_LIS2MDL/examples.json


Installing from PyPI
=====================

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
PyPI <https://pypi.org/project/micropython-lis2mdl/>`_.
To install for current user:

.. code-block:: shell

    pip3 install micropython-lis2mdl

To install system-wide (this may be required in some cases):

.. code-block:: shell

    sudo pip3 install micropython-lis2mdl

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 micropython-lis2mdl


Usage Example
=============

Take a look at the examples directory

Documentation
=============
API documentation for this library can be found on `Read the Docs <https://micropython-lis2mdl.readthedocs.io/en/latest/>`_.
pdm-autoexport 0.2.0
A PDM plugin to sync the exported files with the project file
License: MIT
Requires Python: >=3.7
Keywords: pdm plugin

# pdm-autoexport

![Github Actions](https://github.com/frostming/pdm-autoexport/workflows/Tests/badge.svg)
[![PyPI](https://img.shields.io/pypi/v/pdm-autoexport?logo=python&logoColor=%23cccccc)](https://pypi.org/project/pdm-autoexport)
[![pdm-managed](https://img.shields.io/badge/pdm-managed-blueviolet)](https://pdm.fming.dev)

A PDM plugin to sync the exported files with the project file.

## Installation

Install the plugin with PDM CLI:

```bash
pdm plugin add pdm-autoexport
```

Or using `pipx inject`:

```bash
pipx inject pdm pdm-autoexport
```

## Usage

Configure the requirement mapping in `pyproject.toml`:

```toml
[[tool.pdm.autoexport]]
filename = "requirements/prod.txt"
groups = ["default"]

[[tool.pdm.autoexport]]
filename = "setup.py"
format = "setuppy"
```

Then the requirement files will be synced every time when the lock file is updated.

## Configuration

The configuration is an array of table `[[tool.pdm.autoexport]]` where each item may contain the following keys:

- `filename` (required): The path to the exported file.
- `groups` (optional, default: `["default"]`): The groups of optional dependencies or dev dependency groups of PDM to sync with.
- `format` (optional, default: `"requirements"`): The format of the exported file, same as the `--format` option to the `pdm export` command.
  Only `requirements` and `setuppy` are supported.
- `without-hashes` (optional, default: `false`): Whether to remove the hashes from the exported file. Only applicable to `requirements` format.