kymoscope
Stream live, end-to-end encrypted telemetry to Kymoscope from Python.
Requires Python 3.9 or later.
pip install kymoscope
Example
import math, time
from kymoscope import LiveStream
API_KEY = "kymoscope_..." # Account -> API & real-time streaming, or a project's API key
start = time.time()
# state_path keeps this sender's identity, so a restart needs no new approval
with LiveStream(API_KEY, "Rig A", state_path="kymoscope-state.json") as stream:
print("stream id:", stream.stream_id)
while True:
t = time.time() - start
stream.send([{"t": t, "signals": [
{"name": "speed", "unit": "m/s", "value": 50 + 10 * math.sin(t)},
]}])
time.sleep(1 / 60)
In an end-to-end encrypted project, the first run waits until a project member's browser approves the sender; after that it publishes on its own.
Keep every sample when the connection drops
with LiveStream(API_KEY, "Rig A", state_path="kymoscope-state.json",
buffer_path="kymoscope-buffer", buffer_max_mb=2048) as stream:
...
With buffer_path (a folder), the stream always sends, also with nobody watching, so a cloud
recording keeps everything. While the relay is unreachable it keeps the encrypted messages on disk, then sends
them in order when the relay is back, with the bandwidth live data leaves spare. Viewers see that data in the
recording, not in the live view. A crash can send a few messages twice.
buffer_max_mb caps the disk used; when it is full, new samples are dropped and counted in stream.buffer_dropped.
block_format=True sends the compact format (4–8× less data); buffer_path turns it on.
The headless viewer (kymoscope.viewer) needs msgpack: pip install 'kymoscope[viewer]'.
Full documentation: https://kymoscope.com/docs/live
Metadata
Release files for kymoscope 0.2.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 | |
|---|---|---|---|---|
| kymoscope-0.2.1.tar.gz | 48.5 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kymoscope-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 81.0 kB
Release files / kymoscope-0.2.1.tar.gz
| Download URL | kymoscope-0.2.1.tar.gz |
|---|---|
| Size | 48.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e62ba07e22242c3d4de3324056e576ecd4745c13beead4c8779e4fc445972a83
|
|
BLAKE2b-256 checksum How to use checksums |
374a9337a145ad7f5211e31562294cb2776284739b28e9e1ace4cf7b6fce6dd7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Oct 23, 2026.
Transparency logRelease files / kymoscope-0.2.1-py3-none-any.whl
| Download URL | kymoscope-0.2.1-py3-none-any.whl |
|---|---|
| Size | 32.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
27d65acae200e66a0b184107e8a6db63668ebb5231dbe1fad17e39c00ea71f03
|
|
BLAKE2b-256 checksum How to use checksums |
7c2722cd36548db9a94efca61f5f065d4c66b616e6f0aa85c4cee46672216392
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Oct 23, 2026.
Transparency logSecurity for kymoscope 0.2.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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for kymoscope-0.2.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 Oct 23, 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.