semvec/pypi-packages huggingface dataset:
meshtastic-mqtt 1.0.1
A python script to translate Meshtastic MQTT location messages into a format that Traccar can understand.
License: MIT
Requires Python: >=3.6

# meshtastic-mqtt
A python script to translate Meshtastic MQTT location messages into a plain format that other systems can easily understand.  Currently takes position data and submits it to a Traccar instance, also publishes battery levels and environmental plugin temperatures and humidity readings to mqtt as raw values.

The latest build of Meshtastic-device has support for publishing decrypted payloads, which you'll need in order to use this script.

There's a few config definitions at the top of meshtastic-mqtt.py that you'll need to change for your MQTT server.



There are some comments in meshtastic-mqtt.py that detail the tweaks needed to make this run under AppDaemon in Home Assistant.
sqlcli 0.1.0
A command line interface (CLI) for interacting with SQLModel.
License: MIT
Requires Python: >=3.9,<4.0
Keywords: sql,cli,typer,python,sqlmodel,rich,sqlalchemy

# sqlcli

[![PyPI version](https://badge.fury.io/py/sqlcli.svg)](https://badge.fury.io/py/sqlcli)
![PyPI - Downloads](https://img.shields.io/pypi/dm/sqlcli?label=pypi%20downloads)

A command line interface (CLI) for interacting with SQLModel.

<hr>

**Source code:** [https://github.com/SamEdwardes/sqlcli](https://github.com/SamEdwardes/sqlcli)

**Docs:** [https://samedwardes.github.io/sqlcli/](https://samedwardes.github.io/sqlcli/)

**PyPi:** [https://pypi.org/project/sqlcli/](https://pypi.org/project/sqlcli/)

<hr>

## Features

The key features are:

- **Read data** using the `sqlcli select` command.
- **Insert data** using the `sqlcli insert` command.
- **Interactive console** powered by [typer](https://typer.tiangolo.com/), [rich](https://github.com/Textualize/rich), and [sqlmodel](https://sqlmodel.tiangolo.com/).
- **Pretty** terminal outputs generated by [rich](https://github.com/Textualize/rich).
- **Multiple output formats** including [rich](https://github.com/Textualize/rich), json, and python dictionaries.

## Installation

You can install *sqlcli* using pip:

```bash
pip install sqlcli
```

This will make the `sqlcli` command available in your python environment.

## Usage

The quickest way to get started with *sqlcli* is to create a demo sqlite database:

```bash
sqlcli init-demo
```

This will create a small sqlite database on your computer. The you can use sqlcli to explore your database. View your table by using the `select` command.

```bash
sqlcli select athlete -d "sqlite:///sqlcli_demo/database.db" -m "sqlcli_demo/models.py"
```

```bash
┏━━━━┳━━━━━━━━━━┳━━━━━━━━━━┓
┃ id ┃ name     ┃ sport_id ┃
┡━━━━╇━━━━━━━━━━╇━━━━━━━━━━┩
│ 1  │ Ronaldo  │ 1        │
│ 2  │ Messi    │ 1        │
│ 3  │ Beckham  │ 1        │
│ 4  │ Gretzky  │ 2        │
│ 5  │ Crosby   │ 2        │
│ 6  │ Ovechkin │ 2        │
│ 7  │ Sundin   │ 2        │
│ 8  │ Domi     │ 2        │
│ 9  │ Carter   │ 1        │
└────┴──────────┴──────────┘
```