Skip to main content

PyRealtime

Documentation Status Build Status

PyRealtime is a package that simplifies building realtime pipeline systems Python. It is designed to be simple enough to start visualizing data in just a few lines and scalable enough to support more complex workflows. It supports realtime plotting (Matplotlib), serial communication (Pyserial), and socket connections out of the box. It uses a declarative data flow syntax, which means you specify how the pipeline should behave and then you run the pipeline.

For example, you can build a real time plot of data coming from a serial port in just three lines.

import pyrealtime as prt

serial_layer = prt.SerialReadLayer(device_name='COM2', baud_rate=9600)
prt.TimePlotLayer(serial_layer, window_size=100, ylim=(0, 100))
prt.LayerManager.session().run()

Features:

  • Serial port read/write
  • Realtime plotting using Matplotlib
  • UDP Socket read/write
  • Audio input from microphone
  • Realtime 3D visualizations using PyGame
  • Data logging to a file
  • Realtime playback of recorded sessions

Installation

Dependencies

PyRealtime explicitly requires numpy and Matplotlib. For other optional features, other packages are required.

  • pyserial for serial communication
  • pygame for 3D visualizaton
  • pyaudio and scipy for audio input

Metadata

Release files for PyRealtime 0.1.13

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

Source distribution (sdist)

Source distribution for PyRealtime 0.1.13
File Size Uploaded
PyRealtime-0.1.13.tar.gz 19.4 kB Details

Built distribution (wheel)

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

Total release size: 45.4 kB

Release files / PyRealtime-0.1.13.tar.gz

Download URL PyRealtime-0.1.13.tar.gz
Size 19.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4b85da452206c0c7218d0e73c3c14ec7aadaf6bef343a18e689121999d32098e
BLAKE2b-256 checksum
How to use checksums
782c5f5520eb3e2a564af7018f3472dd2e82dbe5f5f57c7ee2d84f86f3536644
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.7

Release files / PyRealtime-0.1.13-py3-none-any.whl

Download URL PyRealtime-0.1.13-py3-none-any.whl
Size 26.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a1485c9b5492334a4359282dc7cac80023d90854457b8088581f6e6eb5800aa
BLAKE2b-256 checksum
How to use checksums
daeb3b2d14d1aae1560b51a2ebb210451c21ecb5346b37b4ba486c8fe1db4718
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.1.13 This release

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1

1 release file

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