Skip to main content

telemc-py

PyPI Version

Library and client tools for accessing and recording telemd monitoring data.

CLI

run make install and source .venv/bin/activate install locally.

% telemc --help
usage: telemc [-h] [--redis-host REDIS_HOST] [--redis-port REDIS_PORT]
              {list,info,pause,unpause,follow} ...

positional arguments:
  {list,info,pause,unpause,follow}
                        telemc command
    list                list nodes
    info                show node info
    pause               pause telemetry reporting
    unpause             start telemetry reporting
    follow              subscribe to the telemetry data

optional arguments:
  -h, --help            show this help message and exit
  --redis-host REDIS_HOST
                        redis host
  --redis-port REDIS_PORT
                        redis port

Library

Usage examples

Print telemetry:

import redis
import telemc

rds = redis.Redis(decode_responses=True)

with telemc.TelemetrySubscriber(rds) as sub:
    for telem in sub:
        print(telem.timestamp, telem.node, ...)

Or use the higher-level TelemetryRecorder, which is a thread and can be extended to implement various recording tools.

import telemc
recorder = telemc.recorder.TelemetryPrinter(rds)
recorder.start()

Pause all telemetry daemons

ctrl = telemc.TelemetryController(rds)
ctrl.pause_all()

Metadata

Release files for telemck 0.3.3

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

Source distribution (sdist)

Source distribution for telemck 0.3.3
File Size Uploaded Provenance Actions
telemck-0.3.3.tar.gz 5.5 kB Without provenance Details for telemck-0.3.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for telemck 0.3.3
File Interpreter ABI Platform Actions
telemck-0.3.3-py2-none-any.whl Python 2 none any Details for telemck-0.3.3-py2-none-any.whl

Total release size: 20.4 kB

Release files / telemck-0.3.3.tar.gz

Download URL telemck-0.3.3.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
696a417c66a094870cc9c626ab184c3c816daf9f9309d45a43d916d1cbc013fb
BLAKE2b-256 checksum
How to use checksums
1bfd3dfb0f169225c468247ab6a551272cbc224cfe2062ed69bd13f3038e9933
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.3

Release files / telemck-0.3.3-py2-none-any.whl

Download URL telemck-0.3.3-py2-none-any.whl
Size 14.9 kB
Tags Python 2
SHA-256 checksum
How to use checksums
22b87b51cc9a3ea57f1587a475f1b71382c72330a1a369d0ee93be149e841e00
BLAKE2b-256 checksum
How to use checksums
7fb7f438d7392510aa78c506a6505c649f691bfa9cf9b450c2fc1fed56d3d065
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.3

Security for telemck 0.3.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 release files No provenance

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