Skip to main content

Plot time-series data from line-delimited JSON.

Project description

foxplot

Build

Plot time-series data from line-delimited JSON.

Foxplot stands for "Frequent Observation diXionary plots". Frequent observations arise from the project's initial use case (robotic control loops). Dictionaries are the observation format used in Vulp. Plots are plots :wink:

Usage

Interactive mode

$ foxplot -i robot_data.json
Python 3.8.10 (default, Mar 13 2023, 10:26:41)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.22.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: fox.plot(left=[fox.data.observation.cpu_temperature])
New tab opened in your web browser! The command line is to produce it directly is:

foxplot robot_data.json -l /observation/cpu_temperature

JSON files

foxplot robot_data.json -l /observation/cpu_temperature

MessagePack files

rq -mJ < my_time_series.mpack | jq '{.my.filters.here}' | foxplot

Design notes

  • Foxplot prioritizes ease-of-use (interactive mode) over performance

See also

  • µPlot's performance was a key enabler for this project.
  • rq, a tool to manipulate streams of records in various formats.

Project details


Download files

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

Source Distribution

foxplot-0.0.1.tar.gz (72.7 kB view hashes)

Uploaded Source

Built Distribution

foxplot-0.0.1-py3-none-any.whl (55.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page