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.5.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.5-py3-none-any.whl (5.3 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for davidia-1.0.5.tar.gz
Algorithm Hash digest
SHA256 4622ed74c72e2504602957cee003e025f8f982db5b0c382acd1d8c609b2a4f69
MD5 004b66bab130a83e63e27e4b5642031c
BLAKE2b-256 ad17db22ce23953915ca21f5893db879faa5faa1501e7f814b61fb5326fc997a

See more details on using hashes here.

Provenance

The following attestation bundles were made for davidia-1.0.5.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.5-py3-none-any.whl.

File metadata

  • Download URL: davidia-1.0.5-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.13

File hashes

Hashes for davidia-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 573097e74b2421ad244940ef69b96d4ef9ba418e9f004c623a3fa5a413a48db8
MD5 c947b197926d45dbdafc4b2d8f231ef8
BLAKE2b-256 2f0423d447396044774311e2ce6f1ffce63bafff66c14dfea415a2a802132636

See more details on using hashes here.

Provenance

The following attestation bundles were made for davidia-1.0.5-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