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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file foxplot-0.0.1.tar.gz.

File metadata

  • Download URL: foxplot-0.0.1.tar.gz
  • Upload date:
  • Size: 72.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.2

File hashes

Hashes for foxplot-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4c0b68adde5afe8ff55c3b99f50d399c0cb9a81244429b4830fbf1f4a99fd8b9
MD5 edac2c82ab4ab03e4cbe4ec792180d03
BLAKE2b-256 0a7864ad1c6d3f71d19967241fe35d1eb4921f5bf55c1cbe1dffcb2156b7903e

See more details on using hashes here.

File details

Details for the file foxplot-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: foxplot-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 55.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.2

File hashes

Hashes for foxplot-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ee43f9890833a7072dfc3d87055670270206af3bb2fcbd0814019fbd10ad32f8
MD5 61c7bcd5026d1512b7a4ef8a0d7a023a
BLAKE2b-256 4e617ffcac95dddd2bbc6799446096e26cd707aaacf81aafbffc16dce47f4be3

See more details on using hashes here.

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