Skip to main content

A python package for managing a Meshtastic node database.

Project description

meshdb

A lightweight Python library for storing Meshtastic node, telemetry, and message data in per-node SQLite databases.

Quick Start

from meshdb import handle_packet, set_default_db_path

set_default_db_path("./data")

# example packet (decoded from Meshtastic interface)
packet = {
    "from": 12345678,
    "rxTime": 1700000000,
    "decoded": {"portnum": "NODEINFO_APP", "user": {"longName": "TestNode"}}
}

handle_packet(packet, owner_node_num=12345678)

Run python -m meshdb to view all known nodes and their latest telemetry in JSON format.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

meshdb-0.1.1.tar.gz (26.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

meshdb-0.1.1-py3-none-any.whl (28.1 kB view details)

Uploaded Python 3

File details

Details for the file meshdb-0.1.1.tar.gz.

File metadata

  • Download URL: meshdb-0.1.1.tar.gz
  • Upload date:
  • Size: 26.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for meshdb-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3384a660eb0eb9f2b7ed24755b30462e44435777805eb5d3c4e75a1f7cd4606a
MD5 a396ca77e9a5ce68673bb2d2d652b003
BLAKE2b-256 3ce7b4ec18f8b1cda737f302009f59c48dd9b94e2f27769f460e7ff957b42024

See more details on using hashes here.

Provenance

The following attestation bundles were made for meshdb-0.1.1.tar.gz:

Publisher: release.yaml on pdxlocations/meshdb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file meshdb-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: meshdb-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 28.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for meshdb-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b260c137971991f09f0a36ab44942410c0a97bc39333d2197e05609b3826d2f6
MD5 2ea190874adeaf1b31785b84d1c7d354
BLAKE2b-256 b074cc78d7dd72e5f8fb73b2d4b9e0114c5f53dbc29c286d3203dad5967db045

See more details on using hashes here.

Provenance

The following attestation bundles were made for meshdb-0.1.1-py3-none-any.whl:

Publisher: release.yaml on pdxlocations/meshdb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page