A package for realtime data processing, including reading from serial ports and plotting.
Project description
PyRealtime
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 communicationpygame
for 3D visualizatonpyaudio
andscipy
for audio input
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file PyRealtime-0.1.13.tar.gz
.
File metadata
- Download URL: PyRealtime-0.1.13.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b85da452206c0c7218d0e73c3c14ec7aadaf6bef343a18e689121999d32098e |
|
MD5 | 5e1826248ecb473d40b692902ec96930 |
|
BLAKE2b-256 | 782c5f5520eb3e2a564af7018f3472dd2e82dbe5f5f57c7ee2d84f86f3536644 |
File details
Details for the file PyRealtime-0.1.13-py3-none-any.whl
.
File metadata
- Download URL: PyRealtime-0.1.13-py3-none-any.whl
- Upload date:
- Size: 26.0 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a1485c9b5492334a4359282dc7cac80023d90854457b8088581f6e6eb5800aa |
|
MD5 | 25a47bb965d727200791fcda3819e5c3 |
|
BLAKE2b-256 | daeb3b2d14d1aae1560b51a2ebb210451c21ecb5346b37b4ba486c8fe1db4718 |