Skip to main content

Python API & client shell for talking to Meshtastic devices

Project description

Meshtastic Python

codecov PyPI - Downloads CI CLA assistant Fiscal Contributors GPL-3.0

Overview

A Python client for use with Meshtastic devices. This small library (and example application) provides an easy API for sending and receiving messages over mesh radios. It also provides access to any of the operations/data available in the device user interface or the Android application. Events are delivered using a publish-subscribe model, and you can subscribe to only the message types you are interested in.

Getting Started Guide

(Documentation/API Reference is currently offline)

Call for Contributors

This library and CLI has gone without a consistent maintainer for a while, and there's many improvements that could be made. We're all volunteers here and help is extremely appreciated, whether in implementing your own needs or helping maintain the library and CLI in general.

If you're interested in contributing but don't have specific things you'd like to work on, look at the roadmap below!

Roadmap

This should always be considered a list in progress and flux -- inclusion doesn't guarantee implementation, and exclusion doesn't mean something's not wanted. GitHub issues are a great place to discuss ideas.

  • Types
    • type annotations throughout the codebase, and upgrading mypy running in CI to --strict
  • async-friendliness
  • CLI completeness & consistency
    • the CLI should support all features of the firmware
    • there should be a consistent output format available for shell scripting
  • CLI input validation & documentation
    • what arguments and options are compatible & incompatible with one another?
    • can the options be restructured in a way that is more self-documenting?
    • pubsub events should be documented clearly
  • helpers for third-party code
    • it should be easy to write a script that supports similar options to the CLI so many tools support the same ways of connecting to nodes
  • data storage & processing
    • there should be a standardized way of recording packets for later use, debugging, etc.
    • a persistence layer could also keep track of nodes beyond nodedb, as the apps do
    • a sqlite database schema and tools for writing to it may be a good starting point
    • enable maps, charts, visualizations

Stats

Alt

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

meshtastic-2.4.2.tar.gz (236.8 kB view details)

Uploaded Source

Built Distribution

meshtastic-2.4.2-py3-none-any.whl (276.6 kB view details)

Uploaded Python 3

File details

Details for the file meshtastic-2.4.2.tar.gz.

File metadata

  • Download URL: meshtastic-2.4.2.tar.gz
  • Upload date:
  • Size: 236.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for meshtastic-2.4.2.tar.gz
Algorithm Hash digest
SHA256 5fbd0909538af276b9258a1d385e115ee227b1f73660bec37998bb08ab162ffa
MD5 383e21bca0a402899cfdc5a87a44db77
BLAKE2b-256 d3b443b0d31e4ca5bcd2fb00d596888b6cd823c70a56a3957c69d6277a337e20

See more details on using hashes here.

File details

Details for the file meshtastic-2.4.2-py3-none-any.whl.

File metadata

  • Download URL: meshtastic-2.4.2-py3-none-any.whl
  • Upload date:
  • Size: 276.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for meshtastic-2.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bfbc88770ea3f07660735f8ce6ae9fb9a6cfc2c9005795d3cb57388ee0a9a7df
MD5 054d07e00074fc280385000656c828f8
BLAKE2b-256 6160337299f632c66494b670cfe8893a78d811cf36b6f13decd2d0ff72f0ae16

See more details on using hashes here.

Supported by

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