meshcorectl
This is an AI-generated application. The design, code, tests, and documentation in this repository were produced by an AI coding agent (Claude), directed and reviewed by a human maintainer.
A non-interactive, kubectl-style CLI for MeshCore companion radios:
meshcorectl VERB [TYPE] [NAME] [flags], named connection contexts (BLE/serial/TCP), and
-o table|json|yaml|wide|name output on every read command.
Install
pip install meshcorectl
For a development checkout instead, see Development below.
Quickstart
# Point a named context at your device (BLE, serial, or TCP)
meshcorectl config set-context home --ble-address AA:BB:CC:DD:EE:FF
meshcorectl config use-context home
# Read
meshcorectl get contacts
meshcorectl get contact alice -o yaml
meshcorectl describe device
meshcorectl logs -f
# Write
meshcorectl send message alice "hello"
meshcorectl create channel 1 "#general"
meshcorectl delete contact -l 't=client,u>30d' # -l selectors batch across matches
# Shell completion
source <(meshcorectl completion bash) # or zsh / fish
Every command has real --help text;
docs/command-reference.md
is the same text generated into one file. Nothing here is interactive — no REPL, no prompts on the
happy path (an exception: login without --password/--password-stdin prompts securely for
one, the same as ssh or git) — every command is a single invocation that connects, does one
thing, and exits, which is what makes it scriptable.
Status
Every command in this README is implemented and tested. A background-agent daemon for
low-latency repeated invocations (meshcored) is planned but not yet built.
Development
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
pytest # 100% line+branch coverage enforced
ruff check .
mypy
After adding or changing a command, regenerate the reference doc:
python3 scripts/generate_command_reference.py
A test (tests/unit/test_command_reference.py) fails if it's out of date.
License
Metadata
Release files for meshcorectl 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| meshcorectl-0.1.1.tar.gz | 72.8 kB | With provenance | Details for meshcorectl-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| meshcorectl-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for meshcorectl-0.1.1-py3-none-any.whl |
Total release size: 121.9 kB
Release files / meshcorectl-0.1.1.tar.gz
| Download URL | meshcorectl-0.1.1.tar.gz |
|---|---|
| Size | 72.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
74ca1496bf065ab4592596d56ae957a29e50027040f19acc47ce5d3b705dad20
|
|
BLAKE2b-256 checksum How to use checksums |
14268d47ff69b819e56f658001843512b397e8f915c0eaf1b1790795617cfe9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.
Transparency logRelease files / meshcorectl-0.1.1-py3-none-any.whl
| Download URL | meshcorectl-0.1.1-py3-none-any.whl |
|---|---|
| Size | 49.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6eb3560936dce8e8a2bc15e55c0873f29c75762d8e103fc867d030c1606dbf0
|
|
BLAKE2b-256 checksum How to use checksums |
a9d6591064fa1e1a4a440d6354dae4e2a0b8a0cf9f6c80e1d782f2faca201fe2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.
Transparency logSecurity for meshcorectl 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for meshcorectl-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.