Skip to main content

Plot server with React frontend data visualiser

Project description

Davidia

Davidia comprises two parts: a plot server and a set of React components including a connected plot. The plot server has a REST api that allows clients to visualize data in connected plots in React applications.

Demonstrating Davidia

Install the Davidia Python package with

pip install davidia[all]

To start the demo, run

dvd-demo

This starts the plot server, opens a browser window and runs a demo script that shows different plots. Note there are host and port settings available - read the builtin help with dvd-demo -h

Running Python plot server (with bundled example client)

dvd-server -c

Open localhost:8000 to view it in the browser. Now test plot server with,

python -m davidia.demos

Benchmarking the plot client

Set the environment variable DVD_BENCHMARK as on or add a -b argument:

dvd-server -c -b

Run the script to trigger benchmarks:

dvd-benchmark

See its builtin help using the -h argument.

Storybook

View the Storybook here.

Documentation

View the documentation here.

API documentation

View the API documentation here.

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

davidia-1.0.4.tar.gz (5.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

davidia-1.0.4-py3-none-any.whl (5.3 MB view details)

Uploaded Python 3

File details

Details for the file davidia-1.0.4.tar.gz.

File metadata

  • Download URL: davidia-1.0.4.tar.gz
  • Upload date:
  • Size: 5.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for davidia-1.0.4.tar.gz
Algorithm Hash digest
SHA256 3eb6b241ade90d1124f60d48015c8e7321fd93a8c7e430a7d429091aa5671240
MD5 db3f61e8047d20c22ff510e0faaa50c4
BLAKE2b-256 ca7ca966761dfebf93726a60ff216094496151b24049c35ad21aa340a3ff9e96

See more details on using hashes here.

Provenance

The following attestation bundles were made for davidia-1.0.4.tar.gz:

Publisher: python-package.yml on DiamondLightSource/davidia

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file davidia-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: davidia-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for davidia-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e0cfd0cfe8638ddef5d61771c78c64d814e10e4703c35670abdd3d70dc0413c8
MD5 0e7f57e4150319924430430c40011770
BLAKE2b-256 0378b504d3974e119029772be02575bf929cda5c0e9c8bde7af0c9f7080c66f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for davidia-1.0.4-py3-none-any.whl:

Publisher: python-package.yml on DiamondLightSource/davidia

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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