Skip to main content

pytelemetry

This module implements a powerful communication protocol that makes remote control and monitoring of embedded devices an effortless task.

from pytelemetry import Pytelemetry
from pytelemetry.transports.serialtransport import SerialTransport
import time

transport = SerialTransport()
tlm = Pytelemetry(transport)
transport.connect({port:'com9',baudrate:'9600'})

# publish once on topic 'throttle' (a named communication channel)
tlm.publish('throttle',0.8,'float32')

def printer(topic, data, opts):
    print(topic," : ", data)

# Subscribe a `printer` function called on every frame with topic 'feedback'.
tlm.subscribe("feedback", printer)

# Update during 3 seconds
timeout = time.time() + 3
while True:
    tlm.update()
    if time.time() > timeout:
        break

# disconnect
transport.disconnect()
print("Done.")

Language C implementation

Telemetry is the same protocol implemented in C language.

Command Line Interface (CLI)

Pytelemetry CLI is a powerful command interface perfectly suited for fast prototyping with this protocol. It allows for plotting embedded device’s data on-the-fly, publishing values on any topics, listing serial ports and much more.

Centralized documentation

The documentation for all three projects is centralized here.

MIT License, (C) 2015-2016 Rémi Bèges (remi.beges@gmail.com)

Metadata

Release files for pytelemetry 1.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for pytelemetry 1.1.9
File Interpreter ABI Platform
pytelemetry-1.1.9-py3-none-any.whl Python 3 none any Details

Release files / pytelemetry-1.1.9-py3-none-any.whl

Download URL pytelemetry-1.1.9-py3-none-any.whl
Size 18.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7abc706cfb57025dc510af14f6686053d9dea8880c7268670a7841192f67d615
BLAKE2b-256 checksum
How to use checksums
64c16b8e85d6f61b45b249b2ce5b3ef71aa24484472148adac8f98036c17d262
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.1.9 This release

1 release file

1.1.8

1 release file

1.1.6

1 release file

1.1.5

1 release file

1.1.4

1 release file

1.1.3

1 release file

1.1.2

1 release file

1.1.0

1 release file

1.0.1

1 release file

1.0.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page