meshtastic


Namemeshtastic JSON
Version 2.7.0 PyPI version JSON
download
home_pageNone
SummaryPython API & client shell for talking to Meshtastic devices
upload_time2025-08-01 22:56:28
maintainerNone
docs_urlNone
authorMeshtastic Developers
requires_python<3.14,>=3.9
licenseGPL-3.0-only
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center" markdown="1">

<img src=".github/meshtastic_logo.png" alt="Meshtastic Logo" width="80"/>

  <h1 align="center"> Meshtastic Python
</h1>
  <p style="font-size:15px;" align="center">A Python library and client for use with Meshtastic devices. </p>

[![codecov](https://codecov.io/gh/meshtastic/python/branch/master/graph/badge.svg?token=TIWPJL73KV)](https://codecov.io/gh/meshtastic/python)
![PyPI - Downloads](https://img.shields.io/pypi/dm/meshtastic)
[![CI](https://img.shields.io/github/actions/workflow/status/meshtastic/python/ci.yml?branch=master&label=actions&logo=github&color=yellow)](https://github.com/meshtastic/python/actions/workflows/ci.yml)
[![CLA assistant](https://cla-assistant.io/readme/badge/meshtastic/python)](https://cla-assistant.io/meshtastic/python)
[![Fiscal Contributors](https://opencollective.com/meshtastic/tiers/badge.svg?label=Fiscal%20Contributors&color=deeppink)](https://opencollective.com/meshtastic/)
![GPL-3.0](https://img.shields.io/badge/License-GPL%20v3-blue.svg)

</div>

<div align="center">
	<a href="https://meshtastic.org/docs/software/python/cli/installation">Getting Started Guide</a>
	-
	<a href="https://python.meshtastic.org">API Documentation</a>
</div>

## Overview

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, 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](https://repobeats.axiom.co/api/embed/c71ee8fc4a79690402e5d2807a41eec5e96d9039.svg "Repobeats analytics image")


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "meshtastic",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.14,>=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Meshtastic Developers",
    "author_email": "contact@meshtastic.org",
    "download_url": "https://files.pythonhosted.org/packages/2b/02/61390fde10854f70e01c2fe6af26b754c75b27ea789288603552669c0341/meshtastic-2.7.0.tar.gz",
    "platform": null,
    "description": "<div align=\"center\" markdown=\"1\">\n\n<img src=\".github/meshtastic_logo.png\" alt=\"Meshtastic Logo\" width=\"80\"/>\n\n  <h1 align=\"center\"> Meshtastic Python\n</h1>\n  <p style=\"font-size:15px;\" align=\"center\">A Python library and client for use with Meshtastic devices. </p>\n\n[![codecov](https://codecov.io/gh/meshtastic/python/branch/master/graph/badge.svg?token=TIWPJL73KV)](https://codecov.io/gh/meshtastic/python)\n![PyPI - Downloads](https://img.shields.io/pypi/dm/meshtastic)\n[![CI](https://img.shields.io/github/actions/workflow/status/meshtastic/python/ci.yml?branch=master&label=actions&logo=github&color=yellow)](https://github.com/meshtastic/python/actions/workflows/ci.yml)\n[![CLA assistant](https://cla-assistant.io/readme/badge/meshtastic/python)](https://cla-assistant.io/meshtastic/python)\n[![Fiscal Contributors](https://opencollective.com/meshtastic/tiers/badge.svg?label=Fiscal%20Contributors&color=deeppink)](https://opencollective.com/meshtastic/)\n![GPL-3.0](https://img.shields.io/badge/License-GPL%20v3-blue.svg)\n\n</div>\n\n<div align=\"center\">\n\t<a href=\"https://meshtastic.org/docs/software/python/cli/installation\">Getting Started Guide</a>\n\t-\n\t<a href=\"https://python.meshtastic.org\">API Documentation</a>\n</div>\n\n## Overview\n\nThis small library (and example application) provides an easy API for sending and receiving messages over mesh radios.\nIt also provides access to any of the operations/data available in the device user interface or the Android application.\nEvents are delivered using a publish-subscribe model, and you can subscribe to only the message types you are interested in.\n\n## Call for Contributors\n\nThis 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.\n\nIf you're interested in contributing but don't have specific things you'd like to work on, look at the roadmap below!\n\n## Roadmap\n\nThis 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.\n\n* Types\n  * type annotations throughout the codebase, and upgrading mypy running in CI to `--strict`\n* async-friendliness\n* CLI completeness & consistency\n  * the CLI should support all features of the firmware\n  * there should be a consistent output format available for shell scripting\n* CLI input validation & documentation\n  * what arguments and options are compatible & incompatible with one another?\n  * can the options be restructured in a way that is more self-documenting?\n  * pubsub events should be documented clearly\n* helpers for third-party code\n  * 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\n* data storage & processing\n  * there should be a standardized way of recording packets for later use, debugging, etc.\n  * a persistence layer could also keep track of nodes beyond nodedb, as the apps do\n  * a sqlite database schema and tools for writing to it may be a good starting point\n  * enable maps, charts, visualizations\n\n## Stats\n\n![Alt](https://repobeats.axiom.co/api/embed/c71ee8fc4a79690402e5d2807a41eec5e96d9039.svg \"Repobeats analytics image\")\n\n",
    "bugtrack_url": null,
    "license": "GPL-3.0-only",
    "summary": "Python API & client shell for talking to Meshtastic devices",
    "version": "2.7.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ef73ca9e8df17c7afc4e2078e74220cba74e4acca606a3449f8dfa9046607b95",
                "md5": "e96810924577cbd32b7fbed09a687a03",
                "sha256": "3b20e0b6ea10ee26cffea2803233b3b3f91a08374f3b56d52325eb2bbc09fec7"
            },
            "downloads": -1,
            "filename": "meshtastic-2.7.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e96810924577cbd32b7fbed09a687a03",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.14,>=3.9",
            "size": 324670,
            "upload_time": "2025-08-01T22:56:26",
            "upload_time_iso_8601": "2025-08-01T22:56:26.307449Z",
            "url": "https://files.pythonhosted.org/packages/ef/73/ca9e8df17c7afc4e2078e74220cba74e4acca606a3449f8dfa9046607b95/meshtastic-2.7.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "2b0261390fde10854f70e01c2fe6af26b754c75b27ea789288603552669c0341",
                "md5": "239fae75dd8c927d2ac54679fff55420",
                "sha256": "e963a9b5aedf1151a1c1cfa3954b037c63c4b016ac7893c2997c12378c1529f1"
            },
            "downloads": -1,
            "filename": "meshtastic-2.7.0.tar.gz",
            "has_sig": false,
            "md5_digest": "239fae75dd8c927d2ac54679fff55420",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.14,>=3.9",
            "size": 276256,
            "upload_time": "2025-08-01T22:56:28",
            "upload_time_iso_8601": "2025-08-01T22:56:28.123697Z",
            "url": "https://files.pythonhosted.org/packages/2b/02/61390fde10854f70e01c2fe6af26b754c75b27ea789288603552669c0341/meshtastic-2.7.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-01 22:56:28",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "meshtastic"
}
        
Elapsed time: 1.12496s