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)

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytelemetry-1.1.8-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file pytelemetry-1.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for pytelemetry-1.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b08702b83e5ca036ee692e0cb45298a1b62ca498f8edf21744affe47285c7154
MD5 c0c68f2d5840720bcab791e7e6e60e9a
BLAKE2b-256 062eaf20cd5aeb34ba20c417319086f88e7922cc32946bf34a01fc902d6daf94

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.9

1 file

This release

1.1.8 This release

1 file

1.1.6

1 file

1.1.5

1 file

1.1.4

1 file

1.1.3

1 file

1.1.2

1 file

1.1.0

1 file

1.0.1

1 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