Python API & client shell for talking to Meshtastic devices
Project description
Meshtastic Python
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.
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
- mypy running in CI to type-check new code
- 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
- interactive client
- data storage & processing
- there should be a standardized way of recording packets for later use, debugging, etc.
- a sqlite database schema and tools for writing to it may be a good starting point
- enable maps, charts, visualizations
Stats
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
Built Distribution
Hashes for meshtastic-2.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d22fc5261805ea15adac66407e9fe9a52ca9cbd660a1548ea93a12250e56c56 |
|
MD5 | e4febd5329b7d0e2c9ad9a3ee5a9c65e |
|
BLAKE2b-256 | f0d47c6e3270aed5b70a2a68f7bc20d0c3fdba8430b959240ad87f9734bd1882 |